[jboss-user] [JBossWS] - Re: jbossws-2.0.1 released
In order to get ant deploy-jboss42 to work on jbossws-2.0.1, I had to modify line 53 of build-deploy.xml: was: thirdpartylibs="${lib.dir}" /> changed to: thirdpartylibs="${lib.dir}" stacklibs="${lib.dir}" /> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082324#4082324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: No Transaction! please help
I am stuck at this point. because I can't sign into my application I can't develop it anymore ! any comment would be of great help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082322#4082322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Where is the unit test code of jpdl-3.2.1 ?
I cannot find unit test source in jbpm-jpdl-suite-3.2.1.zip View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082320#4082320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Please Help WS Deployment Error...
anonymous wrote : java.lang.NoSuchMethodException: Not found in bean class: public abstract void javax.ejb.EJBObject.remove() throws java.rmi.RemoteException,javax.ejb.RemoveException Did you check your bean's methods? This might not be a ws issue... Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082317#4082317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Help, JAX-WS in JBoss 4.2.1.GA
JBoss 4.2.1.GA already ships JBossWS. You should upgrade the bundle jbossws with the latest one (2.0.1.GA) that features a fully compliant jaxws implementation. This requires you to donwload jbossws-native-2.0.1.GA archive, inflate it, copy/edit ant.properties specifying your jboss install dir, then run ant deploy-jboss42. Please also take a look at the documentation (http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html) Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082316#4082316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo
The response you're getting seem correct to me. The jbossws stack is not throwing any exception, isn't it? I think this is a vbs side issue... Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082315#4082315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Help, JAX-WS in JBoss 4.2.1.GA
Hi, I had download the JBoss 4.2.1.GA and installed it. If I want to try the web services using JAX-WS follow this tutorial: Web Services (JAX-WS) in Java EE 5 http://www.netbeans.org/kb/55/websvc-jax-ws.html , does the JAX-WS need to download and install? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082314#4082314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem migrating Weblogic web services to JBoss
I would follow a top-down development strategy using wsconsume (see the jaxws guide at http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html#d0e741) This should allow you to keep your previous wsdl contract, at least if it's compliant with standards. Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082313#4082313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: help getting started with eclipse
its getting late now but I seem to have got it working. Changed several things and now quite sure now which combo made it all work. 1. removed the 'jdbc/' prestring from the dataource, and persistence unit seemto help alot in the end. I had a another @PersistenceContext (name='..') EntityManager em but noticed that it should have been unitName = "..". The name attribute refers to a jndi ref and i was getting alll sorts of exceptions. however the long and short of now appears to work . - how reproducable it'll be in the morning i dont know. Goodnight View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082311#4082311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo
Hi, thanks for your reply. I have the outgoing message here: | 2007-09-08 01:53:18,296 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message | | | 5 | | | | | | 2007-09-08 01:53:18,296 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getFault | If I try my other simple method that returns a String | @WebMethod | public String helloWorld(String name) { | System.out.println("SimpleWeb.helloWorld(): " + name); | return "Hello " + name; | } | | I get same error and the return message looks like this: | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message | | | 4 | | | |Hello World | | | | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] getFault | 2007-09-08 01:50:49,671 DEBUG [org.jboss.ws.core.server.ServiceEndpoint] END handleRequest: jboss.ws:context=SimpleWebServices,endpoint=SimpleWeb | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.http.response.headers): null | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.http.response.code): null | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPBodyImpl] hasFault | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.CommonMessageContext] get(javax.xml.ws.addressing.context.outbound): null | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildNodes | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildNodes | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildNodes | 2007-09-08 01:50:49,671 TRACE [org.jboss.ws.core.soap.SOAPContentElement] getChildNodes | 2007-09-08 01:50:49,671 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: [EMAIL PROTECTED] (Thread http-0.0.0.0-8080-1) | Hope this helps clearing things (I'm no pro in Soap behind WebServices :-) Greetings, GHad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082310#4082310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file
Yes, the wstools generated wsdl is not correct when using collections. If you need to stick to the jax-rpc stack, you should use arrays in spite of collections. However I suggest upgrading to the jaxws stack (2.0.x) and use wsconsume/wsprovide tools; the jaxws version supports concrete collection types. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082309#4082309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: communicating between two seam applications
Well, at office we're are devolping two Enterprise Applicationa, one with plain EJB3 and one with Seam. Communication between both apps is done via WebServices which works very well for us (despite of unicode problems with JBossWS before patching) Only thing I ran into problems is when both apps are deployed on the same server (there have been issues with class-level isolation and quartz imho). I didn't investigate further because we do not have the requirement to let both apps run on same JBoss. Did not try multiple Seam apps on one server by now, but possibly in near future. Never say never... Greetz GHad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082306#4082306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: EndpointRegistry JMX Bean in 2.0 NOT in 2.0.1
The EndpointRegistry still exists, however it's no longer registered into the mbean server and thus not shown in the jmx-console. The only meaningful attributes it might expose is the deployed endpoint list, is this what you're looking for? If so, I'll create a jira issue for you. Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082305#4082305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Missing exceptions within asynchronious methods
Thank you for your reply! I guessed something like this... Isn't Seam then using a try/catch around invocation of ScheduledThreadPoolExecutor? If true, Seam may pass output along. Greetz GHad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082304#4082304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: help getting started with eclipse - update
not sure how but things seem to have shifted along - I had installed the mysql 5.04jar file - so went to mysql site and downloaded the latest driver 5.07. removed the orld jar from default/lib and copied the new one instead - This seemed to leave me with one error not three - so I commented out the @table annotation and it suddenly said it was happy. however - when i try to deploy the test ejb to the server i get another problem see trace | ... | 23:46:11,987 INFO [JmxKernelAbstraction] jboss.jca:name=jdbc/embedDS,service=DataSourceBinding | 23:46:11,987 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:jar=SessionTest.jar,unitName=embedDS | 23:46:11,997 WARN [ServiceController] Problem starting service persistence.units:jar=SessionTest.jar,unitName=embedDS | javax.naming.NameNotFoundException: jdbc not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | at org.jnp.server.NamingServer.lookup(NamingServer.java:267) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(Unknown Source) | at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:216) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103) | 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(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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(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 $Proxy59.start(Unknown Source) | at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120) | at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:551) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:333) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91) | 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(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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.in
[jboss-user] [JBossWS] - Re: Problem with inheritance and JBossWS
I am already using the XmlSeeAlso.. @XmlSeeAlso({Aa.class, Aaa.class}) public class A { } @XmlSeeAlso(Aaa.class) public class Aa extends A { } public class Aaa extends Aa {} And the WebService .. @WebService @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) @Stateless @RemoteBinding(jndiBinding=LookupConstants.CLIENT_MANAGER) @Depends({LookupConstants.CLIENT_SERVICE_OBJECT_NAME}) public class ClientManagerBean implements ClientManager { @WebMethod public A getA(int i) { A a = null; switch(i) { case 1: a = new Aa(); break; case 2: a = new Aa(); break; case 3: a = new Aaa(); break; } return a; } } This always returns just an object of type A on the Client side no matter what args I pass. I do not know what I'm missing... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082301#4082301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - jsp error : No Java compiler available
Hi, I am trying to deploy an application in jboss 4.2.1, I have the error below when I try to access a JSP file. The application runs fine when I use Tomcat 6.0.14 as a standalone server but not in jboss. I have set JAVA_HOME to a JDK 1.5 folder but my understanding is that it should work even with a JRE as there is an included compiler. Anyone had this issue before ? thanks, Cyril java.lang.IllegalStateException: No Java compiler available org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:229) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:561) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082300#4082300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo
Hi, did you try capturing the response soap message? How does it look? If it's correct you might focus on the vbs side of the issue, otherwise we should investigate why jbossws is not working as expected. Bye Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082299#4082299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - size limit on request for the Portal ?
Hi, Hi I had it posted with other subject. I think this is right subject. I am using JBOSS-4.0.5.GA and JBOSSPORTAL2.6.1 in WINDOWS XP. I have a list as attribute in request. The List has objects which also has list(this list contains less than 5 objects). When the size of main list is upto 9, the page works fine ie I submit the page, server gets the request, manipulates data and gives response but when the size of the list is 10, when I submit page, the server does not get request and I get PAGE CANNOT BE DISPLAYED error. Is there size limit on request for the Portal ? Thanks Gyan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082297#4082297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Intra-EAR classloading problem
Hi, I have an EAR application containing a connector RAR and EJB3 JAR. My connector contains some classes which implement Serializable. Everything worked fine until I tried to put an instance of such a class in an ObjectMessage and then into a JMS queue from my EJB3 code, but now I get ClassCastExceptions when trying to get the instance back out. It seems that when the instance is deserialized and I try to cast it to the original type, the class literal of the type I am trying to cast it to and the runtime class of ObjectMessage.getObject() are loaded by different ClassLoaders, which I can confirm simply by printing them out. One of them has a URL pointing to the deployed EAR; the other has a null URL. I've tried defining a loader-repository for my EAR and using the class preload service, but neither had any effect on the problem. I've tried listing the types in question out in the loader-repository MBean using the JMX console, but only one InstanceN/CodeSource ever appears. The problem seems not to manifest itself after a fresh start of the server. I can only get CCEs after I re-publish the EAR from Eclipse. What can be done? ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JPA differences from JBoss 4.04 to 4.2.1?
HI All: We upgraded from 4.0.4 to 4.2.1 and a waar with JPA/Hibernate/MySQL which used to work fine on both 4.0.4 and the current GlassFish no longer works on 4.2.1 Here's a segment from the JBoss log 22:20:02,490 INFO [STDOUT] 22:20:02,490 INFO [QueryBinder] Binding Named query: ComplianceAgreements.findAllComplianceAgreementId => SELECT s FROM ComplianceAgreements s order by id desc | 22:20:02,522 INFO [STDOUT] 22:20:02,522 INFO [EntityBinder] Bind entity com.baesystems.irad.hibernate.ComplianceAgreements on table compliance_agreements | 22:20:02,580 INFO [STDOUT] 22:20:02,580 INFO [Version] Hibernate Validator 3.0.0.GA | 22:20:02,691 ERROR [SOAPFaultHelperJAXWS] SOAP request exception | java.lang.ClassCastException: org.hibernate.search.event.FullTextIndexEventListener | at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:856) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:730) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33) I suspect this may have something to do with jar version differences. I originally had ejb jars, which I removed, which had given me different stack traces, but I haven't been able to consistently duplicate them. Is there a quick thing I'm missing? THanks Forrest View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082293#4082293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: help getting started with eclipse
has any else had this problem ? Still kinda stuck and i'm sure its something simple View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082291#4082291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: help getting started with eclipse
has any else had this problem ? Still kinda stuck and i'm sure its something simple View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082292#4082292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: help getting started with eclipse
has any else had this problem ? Still kinda stuck and i'm sure its something simple View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082291#4082291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam Integration Test
I am using Seam 1.2.1 and trying to write an integration test for my code. The pages run fine when deployed on server. However, when I run my testcase, I get following exception: FAILED: testUpdate javax.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier 'profileaction' at com.sun.el.lang.ELSupport.throwUnhandled(ELSupport.java:52) at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:75) at com.sun.el.parser.AstValue.getTarget(AstValue.java:67) at com.sun.el.parser.AstValue.setValue(AstValue.java:147) at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:258) at org.jboss.seam.util.UnifiedELValueBinding.setValue(UnifiedELValueBinding.java:44) at org.jboss.seam.mock.SeamTest$Request.setValue(SeamTest.java:374) at us.crimnet.iss.profile.test.ProfileActionTest$3.invokeApplication(ProfileActionTest.java:63) at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:489) at us.crimnet.iss.profile.test.ProfileActionTest.testUpdate(ProfileActionTest.java:74) ... Removed 22 stack frames Obviously, there is something wrong with my test code but I cannot figure it out. Documentation seems to be very sparse on this topic. My code is something like following: public void testUpdate() throws Exception { new FacesRequest() { @Override protected void invokeApplication() throws Exception { // identity.login invoked from here // along the lines of booking example.. // btw, what is a FacesRequest() with no parameters for ? } }.run(); new FacesRequest("/main.xhtml") { // doing nothing here right now. }.run(); new FacesRequest("/mypage.xhtml") { @Override protected void invokeApplication() throws Exception { User user = (User) Contexts.getSessionContext().get("user"); // has Session scope assert user.getGivenName().equals("Given"); assert user.getLastName().equals("Last"); MyBean bean = new MyBean(); // has Conversation Scope Contexts.getConversationContext().set("bean",bean); bean.setValue("value"); MyAction action = new MyAction(); // has EVENT Scope Contexts.getEventContext().set("myaction",action); setValue("#{myaction.user}",user); // Exception at this line!! setValue("#{myaction.bean}",bean); // have to call myaction.update method and then test how values of user and bean change.. } } } please help... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082288#4082288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database
I wrote this up: [url]http://in.relation.to/Bloggers/StoringYourMessagesInADatabase[url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082284#4082284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: persistenceSql.properties for oracle
Aren't you using an older version of the oracle-persistence.xml? Look at the download bundle... you will find a persistence file to replace with. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082282#4082282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - org.jboss.seam.core.messages error
Hi, Sometimes and in all cases, when i use my app my jboss throw this error: | 22:45:32,375 ERROR [STDERR] 2007-09-07 22:45:32 com.sun.facelets.FaceletViewHand | ler handleRenderException | SEVERE: Error Rendering View[/pages/Buildings.xhtml] | javax.el.ELException: /pages/Buildings.xhtml: Cannot get value for expression '#{org.jboss.seam.core.messages}' | at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java: | 48) | at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.j | ava:39) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(Re | ndererUtils.java:433) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren | (RendererUtils.java:419) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(Re | ndererUtils.java:440) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.r | enderColumnBody(HtmlTableRendererBase.java:332) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.e | ncodeColumnChild(HtmlTableRendererBase.java:301) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.e | ncodeInnerHtml(HtmlTableRendererBase.java:277) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.e | ncodeChildren(HtmlTableRendererBase.java:123) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase. | java:524) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu | pport.java:244) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu | pport.java:249) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav | a:573) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java: | 384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi | lter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV | alve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV | alve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit | yAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv | e.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j | ava:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j | ava:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne | ctionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal | ve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav | a:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java | :869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p | rocessConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo | int.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor | kerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.NullPointerException | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassL | oader.java:620) | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl | assLoader.java:464) |
[jboss-user] [JBoss Seam] - Problem using Red Hat Developer Studio to create a new Seam
Hello: I am new in Seam and in RHDS. I am try to create a simple app that connect to Oracle database and receive a group of records. I created a new Action with that code: @Stateless @Name("tipoequipo") public class TipoEquipoListAction { @Logger private Log log; @In FacesMessages facesMessages; @PersistenceContext private EntityManager em; @DataModel private List tipoEquipoList; //seam-gen method public String obtenerTipoEquipos() { //implement your business logic here tipoEquipoList = em.createQuery("select * from TipoEquipo").getResultList(); log.info("tipoequipo.obtenerTipoEquipos() action called"); //facesMessages.add("obtenerTipoEquipos"); return "success"; } } When I run the page that call this action I receive the following error message: org.jboss.seam.InstantiationException: Could not instantiate Seam component: tipoequipo at org.jboss.seam.Component.newInstance(Component.java:1708) at org.jboss.seam.Component.getInstance(Component.java:1611) at org.jboss.seam.Component.getInstance(Component.java:1578) at org.jboss.seam.Component.getInstance(Component.java:1572) at org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45) at org.apache.el.parser.AstValue.getTarget(AstValue.java:42) at org.apache.el.parser.AstValue.invoke(AstValue.java:127) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77) at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58) at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75) at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:106) at org.jboss.seam.pages.Page.enter(Page.java:226) at org.jboss.seam.core.Pages.enterPage(Pages.java:269) at org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:242) at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:193) at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:57) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75) at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.apache.catalina.authe
[jboss-user] [JBoss Seam] - User NotLoggedIn expection
When users work on my app, sometimes when user is not logged in this error is thrown, but is any possible to hide/disable this stacktrace? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082278#4082278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - persistenceSql.properties for oracle
Hi , I was trying to configure jboss messaging 1.4.2 cr2 with jboss4.2.1 GA and setting up jms sql properties and getting errors State: RUNNING I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS , ObjectName: jboss.messaging:service=PersistenceManager State: FAILED Reason: java.lang.IllegalArgumentException: No such SQL statement: DELETE_MESSAGES_REF_WITH_TX I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS jboss:service=TransactionManager Depends On Me: jboss.messaging:service=ServerPeer , ObjectName: jboss.messaging:service=PostOffice State: CREATED I Depend On: jboss.messaging:service=ServerPeer jboss.jca:service=DataSourceBinding,name=DefaultDS jboss:service=TransactionManager Depends On Me: jboss.messaging.connectionfactory:service=ConnectionFactory jboss.messaging.connectionfactory:service=ClusteredConnectionFactory jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory jboss.messaging.destination:service=Queue,name=DLQ jboss.messaging.destination:service=Queue,name=ExpiryQueue jboss.messaging.destination:service=Topic,name=testTopic jboss.messaging.destination:service=Topic,name=securedTopic jboss.messaging.destination:service=Topic,name=testDurableTopic jboss.messaging.destination:service=Queue,name=testQueue jboss.messaging.destination:service=Queue,name=A jboss.messaging.destination:service=Queue,name=B jboss.messaging.destination:service=Queue,name=C jboss.messaging.destination:service=Queue,name=D jboss.messaging.destination:service=Queue,name=ex jboss.messaging.destination:service=Queue,name=PrivateDLQ jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue jboss.messaging.destination:service=Queue,name=QueueWithOwnDLQAndExpiryQueue jboss.messaging.destination:service=Topic,name=TopicWithOwnDLQAndExpiryQueue jboss.messaging.destination:service=Queue,name=QueueWithOwnRedeliveryDelay jboss.messaging.destination:service=Topic,name=TopicWithOwnRedeliveryDelay jboss.messaging.destination:service=Queue,name=testDistributedQueue jboss.messaging.destination:service=Topic,name=testDistributedTopic , ObjectName: jboss.messaging:service=JMSUserManager State: RUNNING I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS jboss:service=TransactionManager Depends On Me: jboss.messaging:service=ServerPeer , ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: RUNNING I Depend On: jboss:service=TransactionManager jboss.jca:service=DataSourceBinding,name=DefaultDS Is there a place where i can look at the this property file.We have our application running on jboss3.2.7 with the following properties BLOB_TYPE=BINARYSTREAM_BLOB INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?) INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?) SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=? SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=? UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=? UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=? DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXID IN (SELECT TXID FROM JMS_TRANSACTIONS) AND TXOP=? DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ? DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=? DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T' DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \ DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \ MESSAGEBLOB BLOB, PRIMARY KEY (MESSAGEID, DESTINATION) ) CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER ) CREATE_TABLES_ON_STARTUP = TRUE what are the changes required if i am using jboss messaging 1.4.2cr2 on jboss4.2.1GA. Any help appreciated. Thanks Sri View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082277#4082277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - EndpointRegistry JMX Bean in 2.0 NOT in 2.0.1
I recently upgraded from 2.0 to 2.0.1 and the JMX bean registered for under jboss.ws:service=EndpointRegistry no longer exists. We had been using this bean to monitor our web services. Why was this bean removed and/or is there a replacement for this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082275#4082275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM
"asookazian" wrote : Here's an old thread (2003) from Sun Developer Network: | | http://forum.java.sun.com/thread.jspa?threadID=505726 | | "There are a few areas | where it was impossible to get JSF and JSTL to cooperate. | | 1. c:forEach. You can't use it with JSF. use h:dataTable instead | | 2. c:if Any faces components embedded inside of this tag must have | manually defined IDs. You can't let Faces define the ID for you. | | 3. I18N. Faces has its own I18N and L10N mechanisms, it's best that you | use them instead of the JSTL ones." | | Is the 1st item still true for JSF 1.1 or 1.2?? These comments I think apply to JSP not Facelets. Facelets has different issues with JSTL, but in this case it should work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082274#4082274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - persistenceSql.properties for oracle
Hi , I was trying to configure jboss messaging 1.4.2 cr2 with jboss4.2.1 GA and setting up jms sql properties and getting errors State: RUNNING I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS , ObjectName: jboss.messaging:service=PersistenceManager State: FAILED Reason: java.lang.IllegalArgumentException: No such SQL statement: DELETE_MESSAGES_REF_WITH_TX I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS jboss:service=TransactionManager Depends On Me: jboss.messaging:service=ServerPeer , ObjectName: jboss.messaging:service=PostOffice State: CREATED I Depend On: jboss.messaging:service=ServerPeer jboss.jca:service=DataSourceBinding,name=DefaultDS jboss:service=TransactionManager Depends On Me: jboss.messaging.connectionfactory:service=ConnectionFactory jboss.messaging.connectionfactory:service=ClusteredConnectionFactory jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory jboss.messaging.destination:service=Queue,name=DLQ jboss.messaging.destination:service=Queue,name=ExpiryQueue jboss.messaging.destination:service=Topic,name=testTopic jboss.messaging.destination:service=Topic,name=securedTopic jboss.messaging.destination:service=Topic,name=testDurableTopic jboss.messaging.destination:service=Queue,name=testQueue jboss.messaging.destination:service=Queue,name=A jboss.messaging.destination:service=Queue,name=B jboss.messaging.destination:service=Queue,name=C jboss.messaging.destination:service=Queue,name=D jboss.messaging.destination:service=Queue,name=ex jboss.messaging.destination:service=Queue,name=PrivateDLQ jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue jboss.messaging.destination:service=Queue,name=QueueWithOwnDLQAndExpiryQueue jboss.messaging.destination:service=Topic,name=TopicWithOwnDLQAndExpiryQueue jboss.messaging.destination:service=Queue,name=QueueWithOwnRedeliveryDelay jboss.messaging.destination:service=Topic,name=TopicWithOwnRedeliveryDelay jboss.messaging.destination:service=Queue,name=testDistributedQueue jboss.messaging.destination:service=Topic,name=testDistributedTopic , ObjectName: jboss.messaging:service=JMSUserManager State: RUNNING I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS jboss:service=TransactionManager Depends On Me: jboss.messaging:service=ServerPeer , ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: RUNNING I Depend On: jboss:service=TransactionManager jboss.jca:service=DataSourceBinding,name=DefaultDS Is there a place where i can look at the this property file.We have our application running on jboss3.2.7 with the following properties BLOB_TYPE=BINARYSTREAM_BLOB INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?) INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?) SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=? SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=? UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=? UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=? DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXID IN (SELECT TXID FROM JMS_TRANSACTIONS) AND TXOP=? DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ? DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=? DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T' DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \ DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \ MESSAGEBLOB BLOB, PRIMARY KEY (MESSAGEID, DESTINATION) ) CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER ) CREATE_TABLES_ON_STARTUP = TRUE what are the changes required if i am using jboss messaging 1.4.2cr2 on jboss4.2.1GA. Any help appreciated. Thanks Sri View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082273#4082273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: javax.faces.application.ViewExpiredException
Sorry for the delayed response... Maybe I'm missing something, but this does not appear to solve the issue I'm having (maybe it is a different issue altogether). The ViewExpiredException occurs during the RESTORE_VIEW phase, but the conversation-required does not appear to be checked by the SeamPhaseListener until after the RESTORE_VIEW phase has executed. Thus, the ViewExpiredException has already been thrown due to the session timeout. I am currently using the Seam exception handling to simply redirect to the appropriate location should a ViewExpiredException occur, but this of course causes an error to be logged (not preferable). Is there something I am missing? If necessary I can provide an example. Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082271#4082271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM
ICEFaces: The columns component provides a dynamic model for adding and deleting columns at run time. It uses the standard var and value attributes. The columns component works in conjunction with the ice:dataTable. The headerClass and columnClasses defined on the dataTable component will be applied to all generated columns as it does on a single column. Examples | | | | | | | | The columns component can be used in conjunction with a column component (e.g.) | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082270#4082270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: login redirection trouble
Are you using client-side state-saving with JSF? If so, a POST will result in the an issue similar to what you describe in 2.0.0.BETA1 and earlier. Here is the JIRA issue: http://jira.jboss.com/jira/browse/JBSEAM-1860 Hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082268#4082268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM
Here's an old thread (2003) from Sun Developer Network: http://forum.java.sun.com/thread.jspa?threadID=505726 "There are a few areas where it was impossible to get JSF and JSTL to cooperate. 1. c:forEach. You can't use it with JSF. use h:dataTable instead 2. c:if Any faces components embedded inside of this tag must have manually defined IDs. You can't let Faces define the ID for you. 3. I18N. Faces has its own I18N and L10N mechanisms, it's best that you use them instead of the JSTL ones." Is the 1st item still true for JSF 1.1 or 1.2?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082267#4082267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Edit Mode problem
I found the problem. I had used an example I had found online as a template, and there were extra jar files in the lib directory which got copied into the war. Once I cleared those out it worked fine. Again, thanks for all the help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082266#4082266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Using struts-portal-bridge with jboss portal 2.2 , with a
I was able to get it working. The configuration files and .tld file are the keys to get it working. I put the details in a new post: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082264#4082264 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082265#4082265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Got it y'all. Here's a working Struts bridge example (2.6.1)
I was finally able to piece together the relevant pieces of documentation to make a simple Struts application work as a portlet in JBoss Portal 2.6.1. (JBoss AS 4.0.5) Here are the relevant configuration files. You should be able to create the rest, as it is just a simple HelloWorld type Struts app. 1.In web.xml, change Struts ActionServlet entry from: org.apache.struts.action.ActionServlet to: org.apache.portals.bridges.struts.PortletServlet 2.Download the struts portal bridge jar from: http://portals.apache.org/bridges/download.html (Note that you must extract the jar from the downloaded archive file) and place it in the /WEB-INF directory OR the server's /lib directory 3.Create the following descriptor files, and place them in the /WEB-INF directory of the project: portlet.xml: | | | http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"; | version="1.0"> | |TestStrutsPortlet |TestStrutsPortlet |This is a Struts Test Portlet | org.apache.portals.bridges.struts.StrutsPortlet | | ServletContextProvider | | org.jboss.portal.bridge.JBossServletContextProvider | | | ViewPage | /login.do | | | EditPage | /login.do | |-1 | | text/html | VIEW | | | text/html | EDIT | | | Struts Validator Portlet | Struts | Struts, validator | | | | | portlet-instances.xml: | | | | http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd";> | | | | | | | TestStrutsPortletInstance | TestStrutsPortlet | | | | | -object.xml: | | | | http://www.jboss.org/portal/dtd/portal-object_2_6.dtd";> | | | | | | | default.default | overwrite | | TestPortletWindow | TestStrutsPortletInstance | center | 1 | | | | | struts-portlet-config.xml: | | | | | | | | | | | | | | | 4.Unzip the struts portal bridge jar into a directory and extract the struts portal specific .tld files from the tld directory. Put them in your WEB-INF directory (These files are important because they will rewrite the URLs to access the portal) Sample JSPs that import the TLDs: login.jsp: | | | <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> | <%@ taglib uri="/WEB-INF/struts-portlet-html.tld" prefix="html" %> | | <%@ page language="java" contentType="text/html; charset=UTF-8" | pageEncoding="UTF-8"%> | | | | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml";> | | | Results | | | | | | User: | | | Password: | | | | | | | | | | | results.jsp: | | | <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> | <%@ taglib uri="/WEB-INF/struts-portlet-html.tld" prefix="html" %> | | <%@ page language="java" contentType="text/html; charset=UTF-8" | pageEncoding="UTF-8"%> | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | | | | http://www.w3.org/1999/xhtml";> | | | Response | | | | Hello, . I am Brainiac. | | | | | In this example, login.jsp is set up to be the target forward of the first action called in the app (it's the first JSP shown as a portlet). results.jsp is associated with the forward that handles the response (/testStrutsPortlet.do). Note the the tags are the reason the login page is displayed. This is just a bare bones example. The config files and .tlds are the keys to get it working. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082264#4082264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Failed to boot JBoss: ::: Please Help!
Hi Kiran: I was able to resolve the issue by configuring the bkcy server once again.. Thanks for your follow up... One Personnel Question: Are you from india? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082263#4082263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Axis vs Jboss compat issue
Could you post the WSDL, a sample request that causes the erorr and possibly the lines of code where the NPE is thrown? What axis version is it? I hope at axis2... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082262#4082262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: If I deploy more than one webservice I get
Yes, @WebContext is the way to. Unfortunately there is no Xml equivalent at the moment. You'll find that in the next release. With 2.0.1 the class resides in: jbossws-spi.jar org/jboss/wsf/spi/annotation/WebContext.class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082261#4082261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem with inheritance and JBossWS
It's fixed. You'll need to work with @XmlSeeAlso (http://jsourcery.com/api/java.net/jaxb/2.1.2/javax/xml/bind/annotation/XmlSeeAlso.html) on the superclass. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082260#4082260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: NullPointerException with jbossws 2.0.1
thanks for the thorough report guys. i appreciate it ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082259#4082259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossWS 2.0.1 and JDK 1.6
In order to run JBossWS on JDK 6 you need to replace the API's that have been included in JDK 6, namely jaxrpc, jaxws, jaxb and saaj. Copy the following jars to ${JBOSS_HOME}/lib/endorsed: * jboss-jaxrpc.jar * jboss-saaj.jar * jaxb-api.jar * jaxws-api.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082258#4082258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: How to configure APache CXF with JBossws stack.
This currently only possible if you checkout trunk. CXF support is not included in the distribution at the moment. We are working with Apache to get this out soon. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082257#4082257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Upgrading to JbossWs 2.0.1 GA
Modify the ant.properties that ship with the distribution and run 'ant deploy-jboss40' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082255#4082255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: When JbossWS Wiki will be online
Please work with the compiled WIKI contents in the meantime: http://labs.jboss.com/jbossws/docs/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082256#4082256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: New Wiki has been down for at least a day and a half....
Yes, sorry for that. The compiled WIKI contents are accesible here: http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082254#4082254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can't turn off the maximized window-state
Excellent! Thanks for the tip. Here's my fix which hides only the maximized style. .portlet-mode-maximized { | ... | /* following line is for hiding the maximized control */ | display: none; | ... |} View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082253#4082253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Multiple login modules - LDAP and DB failover
In your login-config.xml you can create a policy with modules flagged sufficient. i do that to authenticate user on several LDAP: | | | ... | | | ... | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082251#4082251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem using entityqueries
RTM is the politer version of RTFM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082248#4082248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: passing seam component as EJB method call argument
Post your code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082246#4082246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam philosophy and scalability...
"annbasso" wrote : I am evaluating Seam and trying to get the examples running. (Quite an exercise to get Seam 1.2.1 working on JBoss 4.2.1!!!...put this module in, remove that jar, tweak this tweak that...). Seam 1.2.1 is NOT aimed at 4.2.1 so no wonder its a hard ride! anonymous wrote : (BTW, password rules for registering on this site suck big time!!! What is it a credit card processing company???) Yes, we will have something better soon :) As Christian says, Seam doesn't prohibit you from designing your app as you like. You'll notice different examples keep search results in different scopes (depending on your app the requirements change) e.g. booking in session, seamdiscs in the event scope. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082245#4082245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - FacesMessage enqueued, but not displayed.
Hello, I have a simple login page and an Authenticator all based on code generated with Seam-gen. They used to work. And now I don't know which code I modified that resulted me with this problem. When the Authenticator caught an AuthenticationException, it would write to FacesMessage like the following: try { | long sessionId = clientMgr.login(identity.getUsername(), identity.getPassword()); | ... | } catch (AuthenticationException e) { | switch (e.getRejectReason()) { | case USER_CREDENTIAL_NOT_FOUND: { | facesMessages.add("#{messages['login.failed.UserCredentialNotFound']}"); | break; | } | case USER_CREDENTIAL_UNMATCHED: { | FacesMessages.instance().add("#{messages['login.failed.UserCredentialNotMatch']}"); | break; | } | And on my login page, I have the following: | | | | | #{messages['login.logon.legend']} | | | | | Yet when I tried to login with invalid username/password, I got no error message displayed on the page and the following warning in the log: anonymous wrote : 09:46:56,968 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed. | How does Seam decide when to display or not to display an enqueued FaceMessage? Thanks for your help. -tony View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082242#4082242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam PDF creation
Hi, I am facing similar problem. If any body knows why is it happening please provide the solution. TIA, Yuvi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082241#4082241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM
I am going to pursue the .jsp versus the .xhtml route for now. I'm wondering if any other Seam/JSF users have run into this problem??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082239#4082239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - VariablesCommand executed by CommandServiceBean has no effec
I'm trying to set variables on a processInstance via the VariablesCommand executed remotely with CommandServiceBean, but it does'nt have any effect (variables are not set, no error in log). I use the VariablesCommand in the following way: | Map variablesMap = new HashMap(); | variablesMap.put("anzahlBier", "10"); | VariablesCommand variablesCommand = new VariablesCommand(); | variablesCommand.setTokenId(processInstance.getRootToken().getId()); | variablesCommand.setVariables(variablesMap); | remoteCommandService.execute(variablesCommand); | In the log I can see that the execute-Method of CommandServiceBean is called an that the command is handed over to the command service: anonymous wrote : | 2007-09-07 15:18:25,921 DEBUG [org.jbpm.ejb.impl.CommandServiceBean] executing [EMAIL PROTECTED] | ... | 2007-09-07 15:18:25,937 DEBUG [org.jbpm.ejb.impl.CommandServiceBean] handing over the command execution to the command service | I'm using jbpm-jpdl-suite-3.2.1. Other commands executed remotely work fine. Any ideas appreciated! cheers, johannes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082236#4082236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: gets stuck configuting log4j.xml
I think you are just checking the deployment through the console instead of checking it out through your security.log file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082233#4082233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Session timeout
hi, In web.xml I can set session timeout for example 10 minutes: | | 10 | | but when I dont' want to terminate session? how long user web browser is opened session should be opened, how can i do it? | 0 | -1 | * | can anybody help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082231#4082231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Scheduler Delay
Forgot to say I am using JBoss AS 4.0.4.GA with the java jdk 1.5.0_10 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082230#4082230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Redirecting to Previous Long Running Conversations
Seam 2.0.0.BETA1 I would like a shopping website that allows users to have multiple carts open in different browser windows at the same time. Seam's conversation model appears to provide a solution: use a long running conversation for each cart and nested conversations everywhere a regular application would use a conversation. One of the problems is how to transparently connect a user back to their cart (most recently accessed session) if they leave the site and come back using a url without the conversation id? I've tried the following solution: | pages.xml (fragment): | | | | ConversationManager.java: | | @Name("conversationManager") | @Scope(ScopeType.SESSION) | public class ConversationManager | { | private Stack conversationStack = new Stack(); | | public String manage() | { | Manager manager = Manager.instance(); | HttpServletRequest httpServletRequest = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); | String conversationIdRequestParameter = httpServletRequest.getParameter(manager.getConversationIdParameter()); | | if(! manager.isLongRunningOrNestedConversation()) | { | ConversationEntries conversationEntries = ConversationEntries.instance(); | | if(conversationEntries.getConversationEntries().size() == 0) | { | manager.beginConversation(); | conversationStack.push(Conversation.instance().getId()); | } | else if | ( | conversationEntries.getConversationEntries().size() > 0 | && conversationIdRequestParameter == null | ) | { | while(conversationStack.size() > 0) | { | String conversationId = conversationStack.pop(); | ConversationEntry conversationEntry = conversationEntries.getConversationEntry(conversationId); | if(conversationEntry != null) | { | conversationEntry.redirect(); | } | } | } | } | else if(manager.isLongRunningConversation()) | { | try | { | if(conversationStack.peek() != Conversation.instance().getId()) | { | conversationStack.remove(Conversation.instance().getId()); | conversationStack.push(Conversation.instance().getId()); | } | } | catch(EmptyStackException e){} | } | | return null; | } | } For every view the manage method: - begins a long running conversation for new sessions. - for requests that have conversations but no conversation id, redirects to last accessed existing conversation. I've not tested this extensively but it appears to work as intended. Because the conversation holds the cart, its timeout should be set to a long span. However when creating nested conversations it would be preferable for them to have a short span. Here's where I've run into a problem. I can set the conversation timeout like so: Conversation.instance().setTimeout(int); but as soon as I go to the next page the timeout will be back to the default setting. I've would like to use an approach like: ConversationEntries.instance().getConversationEntry("2").setTimeout(int); which would set the ConversationEntry dirty, but this method is not visible. Here are my questions: = - How do you permanently change a conversation's timeout? - Is there a better multiple cart solution without hijacking the seam conversation model? (e.g. storing the carts in the sesssion and creating management similar to conversations) - If this is an acceptable solution would it be better implemented as a servlet filter instead of mapping an action to the "*" view in pages.xml? = Thanks in advance for your feedback. references: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=109084 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082227#4082227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082227 ___ jboss-user mailing list jboss-user@lists.jboss.org https:
[jboss-user] [Management, JMX/JBoss] - Scheduler Delay
Hi, I am currently implementing MBeans to schedule several classes. For that purpose, I am using the javax.management.timer.Timer class as timer. Here you can see an exemple: | | | | | | true | myClass | MyTypes | MyArgs | 01/01/1970 22:00 | 8640 | -1 | app.timer:service=Scheduler | | | The execution of the class takes 15 minutes (it finishes at 22:15), which makes the second execution start at 22:15 the following day, whereas we need it to be started at 22:00. Any ideas related to this delay? Do you know how to avoid it? Thank you in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082226#4082226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - New Wiki has been down for at least a day and a half....
I've been trying to get info on wsconsume and it appears the wiki is the only place. Does anyone know how to turn off or control the naming of _Exception in client generated code using this tool? Also, this tool creates MyException_Exception as well as MyException in the client generated code. Without diving into the source of how wsconsume works, can someone point me toward documentation explaining this ... configuration??? Thanks. Carlo. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082225#4082225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082225 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Deploying a self contianed JBossMC Bean in a JAR
Ok, so the ProfileServiceBootstrap does the class loader assignment to the thread - thats great, I should be able to get stuff deploying now. I'm a bit confused though. Shouldn't the deployment framework honour the class loader set in the context? The change I made was (probably incorrectly) inside the DeployersImpl, which at least meant not down casting the MainDeployer. Thanks for the info, Kev View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082219#4082219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JEE5 application.xml directive
If you look at the release dates, 5.0 beta 2 came out in April while 4.2.1 came out in July. A lot of changes in EJB3 went into 4.2.1 that do not appear in 5.0 beta 2 (and if I recall correctly, this was one of them). According to the rumors I have heard, 5.0 beta 3 should be out around the end of this month, wait until then before using it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082218#4082218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ERROR [UDP] exception sending msg
You must have been running the 'all' configuration which includes clustering. Unless your network is set up to handle UDP and broadcast messages, you will usually run into problems. (Hint: ISPs dislike broadcast messages.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082212#4082212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - currentThreadsBusy nevers drops
hi there .. experiencing a strange problem with jboss 4.2.0 enterprise In the jmx cosole inside the jboss.web. ThreadPool the currentThreadsBusy always remains on its highest value and never decreases although no clients actually connect. Can someone explain me why and if this is a bug or a feature ??? greetings and thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082211#4082211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: embedded tomcat service: port 8080
When you start the app server, the last few lines look like this: 08:18:16,707 INFO [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 08:18:16,754 INFO [AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 08:18:16,786 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 31s:733ms For the [Http11AprProtocol] line, what is the IP address and the port number? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082210#4082210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Upgrading to JbossWs 2.0.1 GA
Hello - I am using JBoss 4.0.4 and would like to upgrade my Web Service stack that comes with 4.0.4 to JbossWs 2.0.1 GA. Do you know if this is possible? If so how? Can someone point me a document how I can do that? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082208#4082208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Warning when use log4j
The warning you are getting, is it on the client or on the server? I am assuming client (that is where I usually get this error). This means that either the client itself, or one of the libraries it is using, does logging, but not logging configuration (whether properties or xml) was found. You can either ignore the warning message (I usually do), or supply a simple log4j.properties file for the client's use. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082203#4082203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to programmatically set a timer on a workflow
Could you please be more specific, with some URLs or the useful classes in the javadoc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082202#4082202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - stay on the same page after AuthorizationException
I'd like to stay on the same page after a org.jboss.seam.security.AuthorizationException. I tried | | | #{messages['org.jboss.seam.security.AuthorizationException']} | | | but only get an exception loop. Any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082201#4082201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Working with JBOSS rools 4.0.1
Hi, I new to JBOSS rools so i've made a small application that checks the name of a person. When i use the rule below, everything works as it should. rule "name routering" | when | $form : PersonForm (firstName=="test"); | then | $form.setFirstName(PersonForm.SHORT_NAME); | update($form); | end | Only when i use this rule nothing seams to work. Can somebody tell me what's wrong? Isn't this the way to use regular expressions? rule "name check" | when | $form : PersonForm(firstName matches "[a-z]*"); | then | $form.setChecked(false); | update($form); | end Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082196#4082196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: java.lang.OutOfMemoryError
I'm not sure, but I don't think the servlet is required for JobExecutor - it only provides a way to monitor, I think. The only thing I'm missing is that I don't see where JobExecutor.start() is called if the servlet isn't included. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082195#4082195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to programmatically set a timer on a workflow
user the 'command interface' to trigger processinstances. Look in the sourcecode for testcases of this. These can be interesting as examples to. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082189#4082189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @Interceptor call failure on @WebMethod
Hi @ all! The problem still exists in JBoss 4.2.1 GA. The only workarround is to add a @Local or @Remote to the interface (like xslava wrote already). We generate our interface with wsimport, so we have to change the generated source code every time we do a new generation. If I understood the JSR-220 right, it should be possible to add interceptors to web-service methds as well (without a @Local or @Remote). If I use GlassFish instead of JBoss to deploy the same .jar-file, all interceptors get called. Thanks, Houla View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082188#4082188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Deploying a self contianed JBossMC Bean in a JAR
"kevglass" wrote : | I've spent some time looking through the code. The class loader deployed is creating a basic class loader and storing it in the deployment context. However, I can't find anywhere this context class loader is actually picked up (*the bean deployer seems to use either the bean meta info classloader or the thread context class loader). I've produced a small patch for the DeployersImpl that sets up the context class loader during install - but I'm not sure this is the right approach. | The code you are looking for (or missing) is in these two classes: - org.jboss.system.server.profileservice.ProfileServiceBootstrap - org.jboss.system.server.profileservice.hotdeploy.HDScanner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082186#4082186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Deploying results in NoClassDefFoundError's
Hi all, I did a new install: - RedHat 4 enterprise - Jboss Portal 2.4.1 - Java 1.5 On this server I deployed Pentaho 1.2.1-625-GA using an ear file. The jboss portal works just fine, and there is a tab for Pentaho. But when the tab is clicked, the page renders with errors. The side menu renders just fine, but I get log entries with java.lang.NoClassDefFoundError for every 'window' that's supposed to render on the page. For example, in the default home page I get error lines in the log for the 'default.Pentaho.PentahoIntroWindow' as can be found in this file: http://webdisk.onemanifest.net/pentaho_log.txt The others I checked result in a similar error. While investigating this, I found that the requested classes are available in the deployed ear file. The deployed app seems to be OK. If I understand the log errors, then some classes in the .ear are found, and some not. I also found that the jboss portal gave me the following error when going to the app directly with http://172.22.43.12:8080/pentaho/pentaho-solutions/ I get a page like: anonymous wrote : Pentaho Initialization Exception | | | The following errors were detected | The system expected to be able to find environment settings, or the environment settings are invalid. These settings are commonly found in the web.xml. Please check the server console for more information on this error. |Pentaho system directory not found | The system failed to find or be able to read the pentaho.xml. | | Please see the server console for more details on each error detected. | But this happened only after a reboot, when deploying a new ear file, I get 404's until I reboot. Simpy restarting jboss doesn't help. I looked at the web-console and jmx-console but don't really know what to look for. I do see 100 references to pentaho in the jmx-console. I'm new to jboss and am not getting any further while going through docs and googling. I'm thinking that this is probably a very noobish thing I'm overlooking. Could someone shed some light on this? If I should provide more specific info, please tell me so. Thx, Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082185#4082185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can't turn off the maximized window-state
I tried the same in *-object.xml file and it did not work. But I got out of this issue with a simple workaround. In portal_style.css set "display:none;" to portlet-mode-container class. Hope this helps. Thanks Nidhi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082184#4082184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need to write entity object to XML
solution: Got to write your own clone() in the object and each dependent ones, so that the cloning process will do traversing down the tree to each containing object. You will have the whole obj structure back, then to XML it goes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082182#4082182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Thread BLOCKED on registerConnection/unregisterConnectio
Very helpful, thank you. Took a look at the root of some of these, X-referenced with with "Slow Query Log" on our DB, and found this to very possibly be the root of the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082179#4082179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBOSS 4.2.0 GA and local socket connection
Hi, I'm testing our application with JBoss 4.2.0 GA (AIX 5.2 and JDK 1.5.0 IBM) and I have a problem with a socket connection: a class running in the web container (JSP custom tag class) opens a socket to a servlet running in the same container but the connection fails and the client class gets java.net.ConnectException: A remote host refused an attempted connect operation. The same app runs without problems on the same server with JBoss 3.2.1 (and JDK 1.4). I solved the problem changing the application architecture: I replaced the socket connection with a method call and now everything is ok, but I'd like to understand why the local socket connection didn't worked... Any idea? Thanks in advance, Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082181#4082181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to programmatically set a timer on a workflow
Hi. I am a complete jBPM newb, so forgive me if this question has been answered before. I would like to know how to programmatically tell jBPM to set a timer on a particular instance of a workflow, so that the process will resume at a specified date. I am using Spring Modules, and know how to retrieve the jBPM configuration via Spring, and then obtain a jbpmContext and graphSession, but that's about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082180#4082180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Combo Box in Form
thanks for trying this out. It could (one way or another) still be a classloading issue, so I'll try with another type of class Thanks anyway View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082178#4082178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem using entityqueries
Grr, must of course be value="RstReportTemp" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082174#4082174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem using entityqueries
If you don't specify a component name in the value attribute of the @In annotation the name is taken from the variable declaration, which would be "repTemp" in your case which is wrong. Try @In(value="RstReportTemplate", create=true) RstReportTemplate repTemp; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082173#4082173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Waring Cancelling Merge
Hi Welcome to JBoss User Forum :)instructios If this error does not involve AOP, I am afraid you posted your question on the wrong forum... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082172#4082172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 5.0.0Beta2 and Struts2 deployment problem
Has anyone successfully deployed a Struts2 application onto JBoss 5.0.0Beta2? I get the following stack trace when I try to deploy a webapp which uses Struts2 technology: | Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/C:/jboss/j | boss-5.0.0.Beta2/server/default/tmp/deploy/moss-homepage51895-exp.war/WEB-INF/lib/struts2-core-2.0.6 | .jar!/struts-default.xml:8:69 | at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvi | der.java:209) | at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider | .java:101) | at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131) | at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:5 | 2) | at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:398) | at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:455) | at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201) | at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) | at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) | at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108) | at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3720) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4367) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.j | ava:300) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:138) | | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:367) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:104) | at org.jboss.web.deployers.WebModule.start(WebModule.java:80) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184) | at $Proxy0.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction. | java:42) | at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextA | ction.java:46) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextA | ctions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:23 | 3) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:2 | 38) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:335) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:205) | at org.jboss.system.ServiceController.doChange(ServiceController.java:656) | at org.jboss.system.ServiceController.start(ServiceController.java:431) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:142) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:103) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRe | alDeployer.java:56) | at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer. | java:52) | at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:170) | at org.j
[jboss-user] [JBoss Messaging] - Re: Exception: could not create native thread
first get rid of JDK1.6, it's not supported yet. Messaging got nothing to do with the error you've got, it's screaming about an OOME :) to get rid of the this exception, limit your stack size to 128k, you can use -Xss128k to specify the stack size. Tyronne Wickramarathne View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082168#4082168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Combo Box in Form
Hi Ronald, I just found some time to try it out. "kukeltje" wrote : | I'm curious though what would happen if you changed | | System.out.println("first.node-enter: directly after setting variable: instanceof selectitem:"+(test.get(0) instanceof javax.faces.model.SelectItem)); | | to | | System.out.println("first.node-enter: directly after setting variable: instanceof selectitem:"+(executionContext.getContextInstance().getVariable("selectitems").get(0) instanceof javax.faces.model.SelectItem)); | | It returns true. Just adding them doesn't persist them, so this has to work. anonymous wrote : I also wonder is something like this would work or if it would throw a classcastexception... | | | public List getItems() { | | List elements = executionContext.getContextInstance().getVariable("selectitems"); | | Iterator i = elements.iterator(); | | List retVal = new LinkedList(); | | | | while(i.hasNext()) { | | javax.faces.model.SelectItem element = (javax.faces.model.SelectItem) i.next(); | | javax.faces.model.SelectItem item = new javax.faces.model.SelectItem(element.getId(),element.getValue()); | | retVal.add(item); | | } | | return retVal; | | I'll keep thinking/searching/... That causes a ClassCastExcpetion: | 15:24:08,213 WARN [Script] exception during evaluation of script expression | Sourced file: inline evaluation of: ``List elements = executionContext.getContextInstance().getVariable("selectitems") . . . '' : Typed variable declaration : null : at Line: 1 : in file: inline evaluation of: ``List elements = executionContext.getContextInstance().getVariable("selectitems") . . . '' : ( javax .faces .model .SelectItem ) i .next ( ) | | Target exception: java.lang.ClassCastException: Illegal cast. Cannot cast javax.faces.model.SelectItem to javax.faces.model.SelectItem | | at bsh.UtilTargetError.toEvalError(Unknown Source) | at bsh.UtilEvalError.toEvalError(Unknown Source) | at bsh.BSHCastExpression.eval(Unknown Source) | at bsh.BSHVariableDeclarator.eval(Unknown Source) | at bsh.BSHTypedVariableDeclaration.eval(Unknown Source) | at bsh.BSHBlock.evalBlock(Unknown Source) | at bsh.BSHBlock.eval(Unknown Source) | at bsh.BSHBlock.eval(Unknown Source) | at bsh.BSHWhileStatement.eval(Unknown Source) | at bsh.Interpreter.eval(Unknown Source) | at bsh.Interpreter.eval(Unknown Source) | at bsh.Interpreter.eval(Unknown Source) | at org.jbpm.graph.action.Script.eval(Script.java:129) | at org.jbpm.graph.action.Script.eval(Script.java:72) | Very strange. What is happening here? I have a workaround (maps) for my proto and am thinking about Seam and other solutions, so this is not to urgent for me. But persistence layer being broken will probably cause bad problems along the way? Karsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082163#4082163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Exception: could not create native thread
After several days (7-11) we get the following exception. At the time of the exception there about 1000 threads, but exactly this jboss had more threads earlier in its lifetime. The server is running Linux, jdk 1.6.0_02, jboss 4.2.1 and jboss-messaging 1.4.2.CR1. Best regards, Martin anonymous wrote : | | 2007-09-07 11:02:53,912 ERROR [org.jboss.resource.adapter.jms.inflow.JmsServerSession] Unable to schedule work | javax.resource.spi.work.WorkRejectedException: org.jboss.util.threadpool.ThreadPoolFullException: java.lang.OutOfMemoryError: unable to create | new native thread | at org.jboss.resource.work.WorkWrapper.rejected(WorkWrapper.java:250) | at org.jboss.util.threadpool.BasicTaskWrapper.taskRejected(BasicTaskWrapper.java:345) | at org.jboss.util.threadpool.BasicTaskWrapper.rejectTask(BasicTaskWrapper.java:164) | at org.jboss.util.threadpool.BasicThreadPool.execute(BasicThreadPool.java:417) | at org.jboss.util.threadpool.BasicThreadPool.runTaskWrapper(BasicThreadPool.java:192) | at org.jboss.resource.work.JBossWorkManager.executeWork(JBossWorkManager.java:205) | at org.jboss.resource.work.JBossWorkManager.scheduleWork(JBossWorkManager.java:144) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.start(JmsServerSession.java:212) | at org.jboss.jms.client.JBossConnectionConsumer.run(JBossConnectionConsumer.java:296) | at java.lang.Thread.run(Thread.java:619) | Caused by: org.jboss.util.threadpool.ThreadPoolFullException: java.lang.OutOfMemoryError: unable to create new native thread | ... 7 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082161#4082161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Using Hibernate's ScanForMappingsEnabled
BTW - Using Hibernate 3 and JBoss 4.2.1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082160#4082160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Using Hibernate's ScanForMappingsEnabled
I have an EAR that contains a WAR and HAR. The HAR only contains the hibernate-service.xml which looks like this: | | | java:/MySqlDS | | org.hibernate.dialect.MySQLDialect | | | java:/hibernate/MessagingSessionFactory | | | org.hibernate.cache.HashtableCacheProvider | | true | true | | | The WAR has some servlets and also has a jar (in WEB-INF) that contains the hibernate mapping and class files. When the servlet tries to do a save with one of these hibernate objects I get an exception: org.hibernate.MappingException: Unknown entity I looked at the Jboss logs when the EAR deploys and it appears that the ONLY place being searched for the hibernate mappings is in the HAR file: | 2007-09-07 09:11:30,627 INFO [org.hibernate.cfg.Configuration] Searching for mapping documents in jar: tmp3596messagebrokerpersistence.har | It is my understanding that with ScanForMappingsEnabled set to true its supposed to scan the entire EAR for the mapping files. Am I missing something or doing something wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082156#4082156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file
Sorry the WSDL disappear in my message here it is agin | | | | | | | | | | | | | | | | | | | | | | | | | | | As shown above the WSDL for jave collection object was Wrong. Pls help to resolve this issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082152#4082152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file
Hello vashistvishal and others: Thanks for responding. My problem is the WSDL generated using JBoss 4.0.4 build in wstool for custom complex object and java collection class is wrong. I tried both RPC and doc style and it does't work when the return type is Java Collection object. I need to know if this is a known issue in 4.0.4 before I move to the latest JbossWs stack. Look below what I get for Hashtable, ArrayList, Vector and other custom objects... Do you think upgrading to the lasest Web Service help? Please help! Thanks, Surafel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082147#4082147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: SSL EJB 3.0 invocation
Answering my own post...does that count as talking to yourself ?!? Ok, I've made a bit of progress with this. This post was of immense help: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=74475 By incorporating the suggested changes into deploy\ejb.deployer\META-INF\jboss-service.xml, SSL with EJB 3.0 now works. The only adjustment I needed to make was commenting out this Additionally, I removed most of what is no longer needed from the chap8 example application. The jar that contains the EJB 3.0 app only contains META-INF/jboss.xml (more on this in a moment) and the Interface and implementation listed in the previous post. I start the jboss ssl server (the server hosting the SSL EJB 3.0 SLSB) with | set JAVA_OPTS=%JAVA_OPTS% -Djavax.net.ssl.keyStore=C:/Paul/Projects/SSL-EJB/server/chap8.keystore -Djavax.net.ssl.keyStorePassword=rmi+ssl | I start the jboss ssl client (the server hosting the SSL EJB 3.0 SLSB) with | set JAVA_OPTS=%JAVA_OPTS% -Djavax.net.ssl.trustStore=C:/Paul/Projects/SSL-EJB/server/client.truststore -Djavax.net.ssl.trustStorePassword=rmi+ssl | At this point everything's done as in functional. However, the issue that remained was externalizing the port configuration from the source code. It would be bad for a prod system to have the following in their EJB's | @RemoteBinding(clientBindUrl="sslsocket://0.0.0.0:3843", jndiBinding="EchoBean4") | The way I externalized it is probably a kludge, but it works. (1) First off, I removed the @RemoteBindings annotation from the SLSB and externalized it into the jboss.xml. Here's the post that helped: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=111559 and here's my jboss.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://www.jboss.org/j2ee/schema/jboss_5_0.xsd"; |version="3.0"> | | | EchoBean4 | | EchoBean4 | 3843 | | | | | (2) Then, since we're using the ServiceBindings plugin to configure our ports, I needed to modify the bindings specification for the standard EJB connector as a result of changes to deploy\ejb.deployer\META-INF\jboss-service.xml Here's the change to my bindings file: | | | | |socket://${jboss.bind.address}:5973 | | | | This will allow runtime configuration of the standard EJB (non-ssl) port. However, the SSL port was still specified in jboss.xml as well as the deploy\ejb.deployer\META-INF\jboss-service.xml Due to my lack of experience with 'customizing' the service binding plugin AND the fact that the port had to be 'hardcoded' in the jboss.xml, I decided on another approach (3) We already use the SystemPropertiesService to set customization of our applications. Its explanation is out of the scope of this post, but to use it, add the following at the top of conf/jboss-service.xml | | | | ./conf/tap.properties | | | I created a conf/tap.properties file with the following: | ejb.ssl.port=5843 | ejb.ssl.url=sslsocket://0.0.0.0:5843 | And then I modified jboss.xml to use these system properties | | 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://www.jboss.org/j2ee/schema/jboss_5_0.xsd"; |version="3.0"> | | | EchoBean4 | | EchoBean4 | ${ejb.ssl.url} | | | | | and I modified the deploy\ejb.deployer\META-INF\jboss-service.xml to use the url property: | | | | | | | C:/Paul/Projects/SSL-EJB/server/chap8.keystore | rmi+ssl | | | | | | | display-name="Socket transport Connector"> | | | | |invocation |org.jboss.invocation.unified.marshall.InvocationMarshaller |org.jboss.invocation.unified.marshall.InvocationUnMarshaller | | | | | |jboss.remoting:service=ServerSocketFactory,type=SecurityDomainAdvanced |${jboss.bind.address} |${ejb.ssl.port} | | | org.jboss.aspects.remoting.AOPRemotingInvocationHandler | | | | jboss.remoting:service=ServerSocketFactory,type=SecurityDomainAdvanced | | jboss.aop:service=AspectDeployer | | As I said, a little kludgy, but it works. So in summary: 1. I got EJB 3.0 SLSB working using S
[jboss-user] [Beginners Corner] - Re: ERROR [UDP] exception sending msg
Reinstalled, selecting the default installation group in JEMS instead of all, and the problem went away. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082143#4082143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user