[jboss-user] [JBossWS] - abstract operation
Hi. I am trying to wsconsume the following wsdl. I am getting the error: abstract operation retrieveFinalTradeSet binding, part finalTradeSet_attachment has multiple binding. Can anyone tell me what is wrong? It looks valid and other tools (ie. axis) seem able to consume it. Any guidance would be appreciated. Thanks. ?xml version=1.0 encoding=utf-8? wsdl:definitions xmlns:http=http://schemas.xmlsoap.org/wsdl/http/; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns=http://schemas.xmlsoap.org/wsdl/; xmlns:wsi=http://ws-i.org/schemas/conformanceClaim/; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:tm=http://microsoft.com/wsdl/mime/textMatching/; xmlns:mime=http://schemas.xmlsoap.org/wsdl/mime/; targetNamespace=http://www.somewhere.com/soa/2008-08-09/retrieveFinalTradeSet.wsdl; xmlns:tns=http://www.somewhere.com/soa/2008-08-09/retrieveFinalTradeSet.wsdl; xmlns:schemaInfor=http://www.somewhere.com/soa/2008-08-09/FinalTradeSet.xsd; xmlns:typeIn=http://www.somewhere.com/soa/2007-02-09/RequestFinalTradeSet.xsd; xmlns:typeHeader=http://www.somewhere.com/soa/2006-06-13/StandardAttachmentInfor.xsd; xmlns:typeFault=http://www.somewhere.com/soa/2006-06-13/StandardOutput.xsd; wsdl:documentation A web service to retrieve final trade set /wsdl:documentation !-- type elements define data types used in this wsdl document using xml schema -- !-- note the namespaces defined matched up with the typeIn and typeOut defined above -- wsdl:types xs:schema xmlns:m=http://www.somewhere.com/soa/2006-06-13/StandardAttachmentInfor.xsd; xmlns:xs=http://www.w3.org/2001/XMLSchema; targetNamespace=http://www.somewhere.com/soa/2006-06-13/StandardAttachmentInfor.xsd; elementFormDefault=qualified xs:element name=standardAttachmentInfor type=m:standardAttachmentInfor/ xs:complexType name=standardAttachmentInfor xs:sequence xs:element name=Attachment type=m:Attachment maxOccurs=unbounded/ /xs:sequence /xs:complexType xs:complexType name=Attachment xs:sequence xs:element name=id type=xs:string minOccurs=0/ xs:element name=name type=xs:string minOccurs=0/ xs:element name=description type=xs:string minOccurs=0/ xs:element name=version type=xs:string minOccurs=0/ xs:element name=sequenceNumber type=xs:string minOccurs=0/ xs:element name=type type=xs:string minOccurs=0/ xs:element name=size type=xs:string minOccurs=0/ xs:element name=source type=xs:string minOccurs=0/ xs:element name=tool type=xs:string minOccurs=0/ xs:element name=creationTime type=xs:dateTime minOccurs=0/ xs:element name=compressFlag type=m:compressFlag minOccurs=0/ xs:element name=compressMethod type=xs:string minOccurs=0/ xs:element name=AttributeList type=m:AttributeList minOccurs=0 maxOccurs=unbounded/ /xs:sequence /xs:complexType xs:simpleType name=compressFlag xs:restriction base=xs:string xs:enumeration value=yes/ xs:enumeration value=no/ /xs:restriction /xs:simpleType xs:complexType name=AttributeList xs:sequence xs:element name=Sequence type=xs:string minOccurs=0/ xs:element name=Name type=xs:string minOccurs=0/ xs:element name=Value type=xs:string minOccurs=0/ /xs:sequence /xs:complexType /xs:schema xs:schema xmlns=http://www.somewhere.com/soa/2007-02-09/RequestFinalTradeSet.xsd; xmlns:xs=http://www.w3.org/2001/XMLSchema; targetNamespace=http://www.somewhere.com/soa/2007-02-09/RequestFinalTradeSet.xsd; elementFormDefault=qualified attributeFormDefault=unqualified xs:element name=RequestFinalTradeSet type=RequestFinalTradeSet/ xs:complexType name=RequestFinalTradeSet xs:choice xs:element name=Trade_MarketTimeInterval type=Trade_MarketTimeInterval minOccurs=0/ xs:element name=Trade_TradeIDMarketTimeInterval type=Trade_TradeIDMarketTimeInterval minOccurs=0/ /xs:choice /xs:complexType xs:simpleType name=MarketType xs:restriction base=xs:string xs:enumeration value=DAM/ xs:enumeration value=RTM/ /xs:restriction /xs:simpleType xs:complexType name=Trade_MarketTimeInterval
[jboss-user] [JBoss Portal] - Re: Components in JBoss Portal 2.7.2
Or the confusion comes from past portal platform (2.6) which didn't come as a bundle, current Enterprise Portal Platform 4.3 is a bundle and as Prabhat said, it's just a matter or downloading, unzipping and running (same as JBoss Portal bundle) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221157#4221157 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Displaying my page
Hi Peter Thank you for prompt reply. I had a developer background in c/unix/oracle. Never worked with Java. The situation has changed and now I likely to work from now on administrating Jboss on Red Hat linux. At this stage I am trying to learn as much as possible from scratch. I installed Jboss on my PC.So that why I ask silly questions..:) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221159#4221159 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlets doView() method Problem in portlets
Already I have used the following code in my jboss-portlet.xml. But The same problem is occured. ?xml version=1.0 encoding=UTF-8? | !DOCTYPE portlet-app PUBLIC -//JBoss Portal//DTD JBoss Portlet 2.6//EN http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd; | portlet-app | portlet | portlet-nameDashboardPortlet/portlet-name | ajaxpartial-refreshtrue/partial-refresh/ajax | header-content | link rel=stylesheet type=text/css href=/css/Dashboard_SpryAccordion.css title= media=screen / | script src=/js/Dashboard_SpryEffects.js/ | script src=/js/Dashboard_SpryAccordion.js/ | /header-content | | /portlet | /portlet-app | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221162#4221162 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-Addressing in native stack
Yes, now I need to set the Addressing attributes in the soap message. In the user guide, http://jbossws.jboss.org/mediawiki/index.php/JAX-WS_User_Guide#WS-Addressing code snippets are provided. Where is the sample available? How can i set the id View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221163#4221163 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-Addressing in native stack
Download JBossWS source distribution. There are many tests and samples about WS-Addressing. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221169#4221169 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How can i access my own datasource in portlet jsp
I defined my datasource in a extranet-ds.xml file, deployed in the deploy folder. My DS is set as : | datasources |local-tx-datasource | jndi-namejdbc/TestIntranet/jndi-name | connection-urljdbc:postgresql://192.168.10.108:5432/Intranet/connection-url | driver-classorg.postgresql.Driver/driver-class | user-namepostgres/user-name | password![CDATA[]]/password |/local-tx-datasource | | /datasources | And it works fine! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221170#4221170 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221170 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Components in JBoss Portal 2.7.2
Thanks guys. This is great news. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221171#4221171 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Getting Access to assigned Portlet Instances = Portlet
Hi it interests me to! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221172#4221172 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221172 ___ 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: hibernate + log4j.xml = can not get it work
yes, i have switched it on too. I can see statements, but i also want to see the parameter values and this, as i know, can be done by setting loging properly. Also i want to write hibernate output log to the specified file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221175#4221175 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221175 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - ZK Integration in Jboss Portal
Hi. I have to integrate a struts application (struts 1 + jsp), and some jsp pages have ZK integrated. Jsp pages pass though zk filter, and are ok in my portlet. Links are ok to, it send other pages in the same portlet. Problem is when I submit forms... My zk filter is applied to url pattern /zk/*. So when I submit a form to a struts action like /doSomething.do, it does not pass through the filter, and next page renders fine. When the struts action is like /zk/doSome.do, the form seems well submited, data in database are correctly setted, but I got a SAX exception : Premature end of file. No login menu, and no tabs are displayed, just the Jboss Portal header (see html code generated below) Where can the problem be? I use Struts 1, zk 2.3, jboss portal 2.7.1 bundle, jdk5. Thanks a lot ERROR | Cause: org.zkoss.zk.ui.UiException: org.xml.sax.SAXParseException: Premature end of file. | Message: org.xml.sax.SAXParseException: Premature end of file. | StackTrace: | | org.zkoss.zk.ui.UiException: org.xml.sax.SAXParseException: Premature end of file. | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | at java.lang.reflect.Constructor.newInstance(Constructor.java:513) | at org.zkoss.lang.Classes.newInstance(Classes.java:79) | at org.zkoss.lang.Exceptions.wrap(Exceptions.java:162) | at org.zkoss.zk.ui.UiException$Aide.wrap(UiException.java:46) | at org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinitionDirectly(PageDefinitions.java:98) | at org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinitionDirectly(PageDefinitions.java:71) | at org.zkoss.zk.ui.impl.AbstractUiFactory.getPageDefinitionDirectly(AbstractUiFactory.java:117) | at org.zkoss.zk.ui.http.DHtmlLayoutFilter.process(DHtmlLayoutFilter.java:87) | at org.zkoss.zk.ui.http.DHtmlLayoutFilter.doFilter(DHtmlLayoutFilter.java:111) | 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) | at org.apache.portals.bridges.struts.StrutsPortlet.processRequest(StrutsPortlet.java:427) | at org.apache.portals.bridges.struts.StrutsPortlet.processAction(StrutsPortlet.java:306) | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:557) | at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109) | at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72) | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505) | at org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:97) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java) | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java) | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:58) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at
[jboss-user] [JBoss Portal] - axis +jboss portal Dependancy problem
I am using portlet 2.7. I have one application which contains webservices. and i am calling this webservices through axis1.4. my problem is that i am using maven to compile the pakage but i am not able to add axis related dependency in maven path. if anyone knows the axis+jbossportal compilation process through maven please let me know. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221178#4221178 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How can i access my own datasource in portlet jsp
thanks vantek actually i was not updated the mysql_ds.xml file bec of that i got this error. now i updated and its working fine. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221179#4221179 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: What if singleton JBM starts on two servers?
This is a classic description of a network partition (split brain) scenario. JBM 1.x does not have any specific code for preventing split brain from occurring. For JBM 1.x we recommend mitigating this by e.g. using IP bonding to reduce the probability of this occurring. If it does occur, duplicate delivery of messages is possible. If this is a major problem in the application, we recommend the user implements application level duplicate detection to weed out any duplicates. JBM 2.0 will have split brain detection. This has been discussed on JIRA and on the forums. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221182#4221182 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Test org.jboss.test.jbossmessaging.test.JBossJMSUnitTest
I asked Phillip from QA who posted that original JIRA what the problem was. He said it as a configuration issue on his side, but couldn't remember the details. Those tests are the JBoss AS integration tests. In JBM we have our own tests. The AS integration tests are run successfully before each release of JBoss AS. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221184#4221184 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - newbie encoding question
Hi All Im doing my first project with JBoss a server and Im having quite some problems displaying special characters such as the stress marks we use in Spanish (or French) ?? ?? ?? ?? ??. This is what I have in my code: protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | response.setCharacterEncoding(iso-8859-1); | response.setContentType(text/html; charset=iso-8859-1); | But the page (when clicking view sourcecode) shows this: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; | html xmlns=http://www.w3.org/1999/xhtml; | head | meta http-equiv=content-type content=text/html; charset=utf-8 / | Any tips on what Im doing wrong? Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221190#4221190 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - FD Issue
We are using JBoss Cache 1.4.1 SP6 with JGroups 2.4.x We have a cluster of cache instances with two Sun Solaris and multiple RHEL machines. When one of the RHEL instance is restarted, the VIEW of the cache instances in SOLARIS machines aren't updated. i.e. viewAccepted() - Still has the old RHEL instance along with the new RHEL instance(which was restarted) eg: [172.16.11.200:65261, 172.16.11.12:50903, 172.16.11.10:41912, 172.16.11.20:51156, 172.16.11.10:43789, 172.16.11.20:57771, 172.16.11.10:51722, 172.16.11.20:35858, 172.16.11.11:51210] 172.16.11.10 - RHEL Instance 1 172.16.11.20 - RHEL Instance 2 Its assumed that when a cache instance goes down the view should be immediately when FD_SOCK is configured. But it wasn't updated as expected. Whereas the viewAccepted() was updated with active members and got resolved after some hours only. We got a ReplicationException timeout Received Throwable from remote node org.jboss.cache.ReplicationException: rsp=sender=172.16.11.10:41912, retval=null, received=false, suspected=false The code is as follows attribute name=ClusterConfig | config | !-- UDP: if you have a multihomed machine, | set the bind_addr attribute to the appropriate NIC IP address, e.g bind_addr=192.168.0.2 | -- | !-- UDP: On Windows machines, because of the media sense feature | being broken with multicast (even after disabling media sense) | set the loopback attribute to true -- | UDP mcast_addr=224.7.8.9 mcast_port=45567 | ip_ttl=64 ip_mcast=true | mcast_send_buf_size=15 mcast_recv_buf_size=8 | ucast_send_buf_size=15 ucast_recv_buf_size=8 | loopback=true bind_addr=16.150.24.69/ | PING timeout=2000 num_initial_members=3 | up_thread=false down_thread=false/ | MERGE2 min_interval=1 max_interval=2/ | !--FD shun=true up_thread=true down_thread=true /-- | FD_SOCK/ | VERIFY_SUSPECT timeout=1500 | up_thread=false down_thread=false/ | pbcast.NAKACK gc_lag=50 retransmit_timeout=600,1200,2400,4800 | max_xmit_size=8192 up_thread=false down_thread=false/ | UNICAST timeout=600,1200,2400 window_size=100 min_threshold=10 | down_thread=false/ | pbcast.STABLE desired_avg_gossip=2 | up_thread=false down_thread=false/ | FRAG frag_size=8192 | down_thread=false up_thread=false/ | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 | shun=true print_local_addr=true/ | pbcast.STATE_TRANSFER up_thread=true down_thread=true/ | /config | /attribute From the exception message we infer that 172.16.11.10:41912, this cache instance has been restarted and the current active instance was 172.16.11.10:51722 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221191#4221191 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Long wait when a node goes down
Yes, All the ejbs are clustered as well as the mdbs. We also have a singleton mdb. Does the number of clustered ejbs affect performances ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221192#4221192 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: standalone client pooling of JMS resources
Pooling of JMS connections is handled by the JMS JCA adapter *not* JBoss Messaging. The JBoss JMS RA only works in the app server / servlet container, it does not work standalone. There are other JMS JCA adapters that do work standalone (google) If you want XA transactions on the client side, you will also need a transaction manager on the client side plus a recovery manager. You're half way to requiring an app server on the client side! If that's what you really need then you could deploy a stripped down version of JBoss AS on the client side. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221193#4221193 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Syntax completion (Code assist) doesn't work any more
Hi! I'm using the latest JBoss Tools to develop JBoss Seam projects. From yesterday on the syntax completion inside of Faceletes sites doesn't work as it should. Neither are Seam objects inside an EL block known, nor is the syntax of the common JSF HTML and all other components. For example when pressing CTRL + Space inside a h:outputText .. block, the status bar says Element h:dataTable is unknown. The completion inside regular java classes works as it should. What can I do to solve that problem? Thank you in advance! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221200#4221200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: standalone client pooling of JMS resources
Did you find a solution to the issue. I am facing a similar issue, any pointers would be helpful. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221189#4221189 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Null-Persistence OutOfMemory growing HeapSize
Hello Community, we have a 4.0.5 which is configured as a JMS-Server with null-persistence. The server is flooded at Runtime with a very large number of ObjectMessages. Our problem is the endless growing usage of Heap on the server which causes an OutOfMemory Exception. we configured MessageCache in the null-persistence.xml as following: | mbean code=org.jboss.mq.server.MessageCache | name=jboss.mq:service=MessageCache | attribute name=HighMemoryMark50/attribute | attribute name=MaxMemoryMark60/attribute | attribute name=CacheStorejboss.mq:service=PersistenceManager/attribute | /mbean | and use the | org.jboss.mq.pm.none.PersistenceManager NOTE: I already read the Documentation and the Wiki Pages and all other things about JbossMQ caching. But i dont know how to configure Jboss to delete the consumed messages can anyone help me please ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221187#4221187 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Get tasks by a user's group
There are some things mentioned on the net regarding this classcast issue. And yes it is related to the classpath or even the appserver. In that way it 'rang' a bell, but nothing more. Look at the articles you can find with google and see if there is something in there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221196#4221196 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: CommandAwareRpcDispatcher called, then nothing.
Do you actually see the changes on your remote cache? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221203#4221203 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Differences READ_COMMITTED vs REPEATABLE_READ
zeravlai wrote : Also Manik, in mvcc-entity predefined cache config, there's a comment saying that READ_COMMITTED is as strong as neccesary for most 2nd level cache use cases. What's the meaning of this sentence bearing in mind your reply ? R_C is (slightly) more efficient that R_R in our MVCC implementation. This is why I recommend it for Hibernate, since Hibernate provides R_R anyway through its first level cache. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221205#4221205 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Kerberos, ejb, rmi
Hi, alexanders. It's a good idea to use HTTP for rmi invocations to enable kerberized authentication. If you have problems with HTTPInvoker, so here is my config: | path: JBOSS_HOME/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml | | mbean code=org.jboss.invocation.http.server.HttpInvoker | name=jboss:service=invoker,type=http | attribute name=InvokerURLPrefixhttp:///attribute | attribute name=InvokerURLSuffix:8080/invoker/EJBInvokerServlet//attribute | attribute name=UseHostNametrue/attribute | /mbean | And you'll find in docs how to customize invoker for ejb. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221206#4221206 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss-javaee.jar dont find classes javax.servlet
hey jaikiran, sorry i dont know why it's so hard to make this run , i guess moving from glassfish to jboss is no that obvious. Noiw i am having another issue, in my main app i include a jar wich belong to another java project that i developed , this project , when it was runing on glassfish i had to include in the library the jsf jars and javaee.jar too, now moving to jboss, i copied the jar's in the jboss lib folder that covers all the classes needed and i added them to the project, and guess what?? the log is full of errors, even though i make my classpath to point on jboss libraries folders, this is so freaky any clue about this?? thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221216#4221216 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Get tasks by a user's group
Believe me - I did. I will stick to it, but if anyone has any idea where to look at, I'd really appreciate it. Best, Damian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221217#4221217 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Failure Detection when group coordinator dies
HI We have been facing the exactly same problem. Is there a solution to it. Thanks Arup View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221219#4221219 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss-javaee.jar dont find classes javax.servlet
What does that jar contain? And where exactly did you paste it in JBoss? And please post the console logs and the exception stacktrace. And when does this exception occur, during deployment time or when you access your application? While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221221#4221221 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Opening a new JMS session for an already existing transa
The client is a webapp running on the server hosting JBM. We tried to add the aop libs inside the /lib of our server folder. Nothing better... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221188#4221188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: putForExternalRead doesn't solve our problem
jshowalter wrote : | - if all of the data in a node ages out of the cache due to LRU, is the data removed from the cache and the node left in place, or is the node also removed? | Like I said, the unit of atomicity is a node. So, it is an entire node that times out due to LRU, not any specific key/value pair within a node. As such, eviction removes the entire node *unless* the node has children, and is needed as a structural mechanism to access those children. In the latter case, the node is emptied and flagged as being evicted, but the node itself is still left as a structural piece. jshowalter wrote : | - but you do introduce the possibility of phantom reads (but this is allowed in R_R semantics anyway). We're using READ_COMMITTED. That should prevent phantom reads, shouldn't it? Nope. :-) http://api.openoffice.org/docs/common/ref/com/sun/star/sdbc/TransactionIsolation.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221201#4221201 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: FD Issue
The added code was the sample so the IP(bind_addr) is different but all the other configuration is the same. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221195#4221195 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Classpath ordering Web app
Hi, in a WAR file is it possible (via the jboss-web.xml or another file) to define which order JAR files should be loaded? I have two JARs OctJAVA.jar OctCore.jar I need OctJAVA loaded before OctCore, how could i do this? Regards Kashif ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JEE AS / jBPM / Exception when Oracle DB is restarted
Hi, thx for your answer but i have configured my EJB-timers to use the same DB than jBPM (Oracle XA). I solved my problem at test 3- using new thin drivers for Oracle: ojdbc5.jar insted of ojdbc14.jar in my JEE AS. They are able to reconnect to DB. I have a new problem: When I have an exception using timers (When my jBPM Oracle DB is down, process cannot be updated, so there is an exception), they doesn't work any more, even if i put a repeat attribute. So: t=0 sec: I launch my process with a timer action at 60 seconds and a repeat of 60 seconds... t=20 sec: I shutdown my DB. t=60 sec: There is an exception of my timer because my DB is down, logic. t=80 sec: I restart my DB. Reconnection is OK. t=120 sec: My timer doesn't repeat itself. The behaviour is the same even if i don't restart my DB... (If my DB is started, the repeat works, don't worry i checked this ;-)) So, my problem is: Why the timer doesn't repeat itself? Note that if i restart my AS, the timer re-works. If i restart my timer-service under JMX console of JBoss, the timer re-works too. I would that they works without doing one of these things... Thx. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221228#4221228 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problems with JBPM Ttimer EJB from a simple Web App
Hi all i have a strange problem to navigate a process from a servlet. The servlet is simple , it get as input the id of the process, and the name of transition where it have to go for the next token or node. The names transitions's are sended with radio buttons and the values inside them come from iterating the Map : mynode.getLeavingTransitionsMap(). Now the problem is this exception: | 2009-03-26 11:42:05,463 DEBUG [org.jbpm.graph.def.GraphElement] executing action 'action[MailSender]' | 2009-03-26 11:42:05,463 DEBUG [org.jbpm.graph.exe.Token] token[12252] is locked by token[12252] | 2009-03-26 11:42:05,463 DEBUG [org.hibernate.impl.SessionImpl] initializing proxy: [org.jbpm.graph.node.State#11131] | 2009-03-26 11:42:05,463 DEBUG [org.jbpm.graph.def.GraphElement] event 'timer-create' on 'State(inagenzia)' for 'Token(/)' | 2009-03-26 11:42:05,463 DEBUG [org.jbpm.graph.exe.Token] token[12252] is unlocked by token[12252] | 2009-03-26 11:42:05,463 ERROR [org.jbpm.graph.def.GraphElement] action threw exception: ejb timer entity lookup problem | org.jbpm.JbpmException: ejb timer entity lookup problem | at org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory.getTimerEntityHome(EntitySchedulerServiceFactory.java:45) | at org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory.openService(EntitySchedulerServiceFactory.java:62) | at org.jbpm.svc.Services.getService(Services.java:177) | at org.jbpm.svc.Services.getCurrentService(Services.java:98) | at org.jbpm.svc.Services.getCurrentService(Services.java:89) | at org.jbpm.scheduler.def.CreateTimerAction.execute(CreateTimerAction.java:79) | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:284) | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:241) | at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:213) | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:196) | at org.jbpm.graph.def.Node.enter(Node.java:371) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) | at org.jbpm.graph.def.Node_$$_javassist_49.enter(Node_$$_javassist_49.java) | at org.jbpm.graph.def.Transition.take(Transition.java:167) | at org.jbpm.graph.def.Node.leave(Node.java:479) | at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:155) | at org.jbpm.graph.node.Decision.execute(Decision.java:194) | at org.jbpm.graph.def.Node.enter(Node.java:390) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) | at org.jbpm.graph.def.Node_$$_javassist_49.enter(Node_$$_javassist_49.java) | at org.jbpm.graph.def.Transition.take(Transition.java:167) | at org.jbpm.graph.def.Node.leave(Node.java:479) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) | at org.jbpm.graph.def.Node_$$_javassist_49.leave(Node_$$_javassist_49.java) | at org.jbpm.graph.exe.Token.signal(Token.java:223) | at org.jbpm.graph.exe.Token.signal(Token.java:180) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) | at org.jbpm.graph.exe.Token_$$_javassist_65.signal(Token_$$_javassist_65.java) | at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:319) | at it.test.servlet.CallserServlet.doGet(CallserServlet.java:63) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) | at
[jboss-user] [JBoss jBPM] - description-tag in TaskNode
Hi, is there a way to retrieve informations stored in a description-tag in a TaskNode? In a Task it is possible to retrieve descriptions. But in a TaskNode it seems not. Why? Has anybody an idea how I could description-tags in Tasknodes? Thanks for any proposal. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221235#4221235 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - problem with https
Hi. I have a problem with https, I will describe the environment mi web.xml contains security-constraint display-name/display-name web-resource-collection web-resource-nameprivateSecured/web-resource-name url-pattern/segura/*/url-pattern http-methodGET/http-method http-methodPOST/http-method /web-resource-collection auth-constraint role-name*/role-name /auth-constraint user-data-constraint transport-guaranteeCONFIDENTIAL/transport-guarantee /user-data-constraint /security-constraint security-constraint display-name/display-name web-resource-collection web-resource-nameprivateUnsecured/web-resource-name url-pattern/nosegura/*/url-pattern http-methodGET/http-method http-methodPOST/http-method /web-resource-collection auth-constraint role-name*/role-name /auth-constraint user-data-constraint transport-guaranteeNONE/transport-guarantee /user-data-constraint /security-constraint security-constraint display-name/display-name web-resource-collection web-resource-namepublicSecured/web-resource-name url-pattern/login.html/url-pattern http-methodGET/http-method http-methodPOST/http-method /web-resource-collection user-data-constraint transport-guaranteeCONFIDENTIAL/transport-guarantee /user-data-constraint /security-constraint login-config auth-methodFORM/auth-method realm-nameiwb/realm-name form-login-config form-login-page /login.html/form-login-page form-error-page/nosegura/error.jsp/form-error-page /form-login-config /login-config security-role role-name*/role-name /security-role my webapp |--src (carpeta de fuentes) |--doc (carpeta de documentos de analisis) |--res (carpeta de recursos estaticos) |--web |--META_INF |--WEB_INF |--index.jsp (redirige a /nosegura/entrada.jsp) |--login.html (pantalla de autentificacion) |--segura (carpeta de jsp que quiero que sean seguras) |--gestion |--administracion |nosegura (carpeta de jsp que no quiero que sean seguras) |---UsuariosGrupos |---cabeceras y pie |---error.jsp |---entrada.jsp |---logoff.jsp (redirige a /nosegura/entrada.jsp) Now I will explain my flow of requests to get into my application: I have an index.jsp file as wellcome-file, that file only contain: % Response.sendRedirect (request.getContextPath () + / nosegura / entrada.jsf)% entrada.jsf and is not sure and private, it does go private to the login screen. The login screen is public but it is secured, so you should do it for https. Here is the first problem, does not. If I do server: port / application / login.html if you ask me the license, so they understand that security-contraintes login if it works, but it seems that the current flow does not request any login.html The other problem is not going to https to http, if you do well from http to https, but the reverse does not work. I can not get pass from https to http Any idea View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221237#4221237 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Unit test EJB3 Exception
What do you mean with I use the same JVM... in your previous post? Same java.exe executable, or same process? If the latter: how do you start the Unit Tests so that they run inside the container? Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221242#4221242 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: Null-Persistence OutOfMemory growing HeapSize
Are you shure you have a Problem with retained messages. If you do not have a PM, then all undelivered Messages in the queues will be kept in Memory. So check your queue length (and DLQ) how many of those messages are not delivered at the time of your OOM. Have you used Eclipse MAT do find the Memory Hog and can you idntifiy Messages which should not be there? What kind of OOM you get (are you sure it is not Perm Gen for example?) Gruss Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221243#4221243 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - how to configure the classpath of the libraries in jboss 5.0
my question is pretty simple, how do i modify the classpath in netbeans so it can reconize the jars in the folder JBOSS_HOME/common/lib??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221247#4221247 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - persistence provider problem
hey fellas i am facing a problem with the persistence , i am using jboss 5.0.1 , jsf 1.2. , and netbeans 6.5.here is my persistence.xml: ?xml version=1.0 encoding=UTF-8? | persistence version=1.0 xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; | persistence-unit name=jtoolkitfwPU transaction-type=JTA | providerorg.hibernate.ejb.HibernatePersistence/provider | jta-data-sourcejava:/jboss5example/jta-data-source | exclude-unlisted-classesfalse/exclude-unlisted-classes | properties/ | /persistence-unit | /persistence And the server log is: | 10:08:55,390 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover | 10:08:55,390 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing | 10:08:55,390 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 1 milliseconds | 10:08:55,390 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.connectionfact...@19e67d4 started | 10:08:55,828 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 10:08:56,000 INFO [TomcatDeployment] deploy, ctxPath=/ | 10:08:57,078 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console | 10:08:57,203 INFO [Http11Protocol] Arrancando Coyote HTTP/1.1 en puerto http-127.0.0.1-8080 | 10:08:57,234 INFO [AjpProtocol] Arrancando Coyote AJP/1.3 en ajp-127.0.0.1-8009 | 10:08:57,265 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 1m:7s:31ms | 10:11:47,781 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jboss5example' to JNDI name 'java:jboss5example' | 10:11:47,843 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#jtoolkitfwPU | 10:11:47,937 INFO [Version] Hibernate Annotations 3.3.1.GA | 10:11:47,968 INFO [Environment] Hibernate 3.2.5 | 10:11:47,984 INFO [Environment] hibernate.properties not found | 10:11:47,984 INFO [Environment] Bytecode provider name : cglib | 10:11:48,000 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 10:11:48,234 INFO [Version] Hibernate EntityManager 3.3.2.GA | 10:11:48,328 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. | 10:11:48,515 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#jtoolkitfwPU state=Create | org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.init(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager) | at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:370) | at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115) | at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1225) | at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:159) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131) | at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301) | 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.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at
[jboss-user] [EJB 3.0] - Re: Unit test EJB3 Exception
Hi, do you use JBoss 5? If yes: jbossall-client.jar just defines a bunch of classpath entries in its Manifest.mf, so you have to add much more JARs to your classpath (but I cannot tell you, which ones). And one more thing: as your unit test seems to be a standalone application client, you have to use the REMOTE interface, not the local one (as ALRubinger already told you). Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221241#4221241 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Unit test EJB3 Exception
I just meant that i am executing the unit tests on same machine that the EJB is deployed. Really I use JBoss 5 and i think there are lots of jars more to add to classpath. And I have to use local interface, i can't use remote interface in a application that's running locally. Thanks! I'll search the jars :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221249#4221249 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Unit test EJB3 Exception
In case of an test client startet with an own main method this client runs in fact in a different process then the jboss and your ejbs. In that case you must use the remote interfaces as per the process is remote to the jboss (as already Wolfgang and ALR said). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221252#4221252 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Calling EJB using Corba invoker (bad boolean deserealisation
Hi, My problem occurs when calling ejb method using Corba invoker. A client invokes an ejb method passing parameters with boolean attributes. boolean attributes values serialised by the client are badly deserealised causing wrong values Not all boolean values are corrupted, just the last parameter of the method is concerned. Not all boolean attributes of this last parameter are corrupted, just the two last booleans attributes of this last parameter of the method are concerned. Environment Description: My ejb is deployed on jboss 4.2.2 turning with JVM 1.5 AIX using IIOP 1.0 My Client is a web application deployed on Tomcat 5.0.28 with a JVM 1.4 This client interact with another techno server (That's why CORBA) Tests done without success: I've experemented different configurations in jacorb.properties without succes: ... | jacorb.interop.lax_boolean_encoding=off/on | ... | jacorb.interop.chunk_custom_rmi_valuetypes=off/on | ... | jacorb.interop.sun=off/on | ... | jacorb.giop_minor_version=0 | ... Details and Analysis: I have located lines in my code that are concerned by the problem. This class let the client serialise parameters into a stream and let the the server build received parameters from received stream. The same class is deployed on both sides (client side and server side): write() method is used by the method caller in the client side and read() method is used by the server. | package com.slb.sema.helios.domaines.WFW.WEXE_ITF_InterfaceServices; | | /** | * com/slb/sema/helios/domaines/WFW/WEXE_ITF_InterfaceServices/WEXE_Element_CFHelper.java . | * Generated by the IDL-to-Java compiler (portable), version 3.2 | * from WEXE_ITF_InterfaceServices.idl | * lundi 28 janvier 2008 18 h 35 CET | */ | | abstract public class WEXE_Element_CFHelper | { | private static String _id = IDL:WEXE_ITF_InterfaceServices/WEXE_Element_CF:1.0; | | public static void insert (org.omg.CORBA.Any a, com.slb.sema.helios.domaines.WFW.WEXE_ITF_InterfaceServices.WEXE_Element_CF that) | { | org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); | a.type (type ()); | write (out, that); | a.read_value (out.create_input_stream (), type ()); | } | | public static com.slb.sema.helios.domaines.WFW.WEXE_ITF_InterfaceServices.WEXE_Element_CF extract (org.omg.CORBA.Any a) | { | return read (a.create_input_stream ()); | } | | private static org.omg.CORBA.TypeCode __typeCode = null; | private static boolean __active = false; | synchronized public static org.omg.CORBA.TypeCode type () | { | if (__typeCode == null) | { | synchronized (org.omg.CORBA.TypeCode.class) | { | if (__typeCode == null) | { | if (__active) | { | return org.omg.CORBA.ORB.init().create_recursive_tc ( _id ); | } | __active = true; | org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [27]; | org.omg.CORBA.TypeCode _tcOf_members0 = null; | _tcOf_members0 = com.slb.sema.helios.fwk.VSDK_ORB_Type.VSDK_RootIdentifierHelper.type (); | _members0[0] = new org.omg.CORBA.StructMember ( | RootID, | _tcOf_members0, | null); | _tcOf_members0 = com.slb.sema.helios.fwk.VSDK_ORB_Type.VSDK_ActionCodeHelper.type (); | _members0[1] = new org.omg.CORBA.StructMember ( | StructureStatus, | _tcOf_members0, | null); | _tcOf_members0 = org.omg.CORBA.ORB.init ().create_string_tc (0); | _members0[2] = new org.omg.CORBA.StructMember ( | IdentifiantMetier, | _tcOf_members0, | null); | _tcOf_members0 = com.slb.sema.helios.fwk.VSDK_ORB_Type.VSDK_IdentifierHelper.type (); | _members0[3] = new org.omg.CORBA.StructMember ( | ElementMetierOID, | _tcOf_members0, | null); | _tcOf_members0 = com.slb.sema.helios.fwk.VSDK_ORB_Type.VSDK_IdentifierHelper.type (); | _members0[4] = new org.omg.CORBA.StructMember ( | TypeElementOID, | _tcOf_members0, | null); | _tcOf_members0 = com.slb.sema.helios.fwk.VSDK_ORB_Type.VSDK_IdentifierHelper.type (); | _members0[5] = new org.omg.CORBA.StructMember ( | EtatOID, | _tcOf_members0, | null); | _tcOf_members0 = com.slb.sema.helios.fwk.VSDK_ORB_Type.VSDK_IdentifierHelper.type (); | _members0[6] = new org.omg.CORBA.StructMember ( | ElementContenantOID, | _tcOf_members0, | null); | _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_boolean); |
[jboss-user] [JBossMQ] - Re: Can the Code get a QueueConnection objcect per request
Hi Adrian i had a confusion as you said ConnectionFactory is for remote client connection and java:/JmsXA is for pooled/transacted within container apps. does this mean that we cannot leverage JMS connection pooling of JBOSS from standalone Java clients ? IS there any way we could have a pooling mechanisms for JMS connections or sessions for standalone java class. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221261#4221261 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Syntax completion (Code assist) doesn't work any more
Any exceptions in Eclipse log? Did it work in that project before? Could you show your xhtml? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221264#4221264 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: deathless consumer prooblem
I'm facing exactly the same problem. I have 5 topics and 6 queues in my JBossAS 4.2.3, JBoss Messaging 1.4.2SP1, JBoss Remoting 2.2.2SP11 and my remoting-bisocket-service.xml is configured by default from jbm1.4.2SP1 I have tried a lot of combinations of JBossAS, JBM, JBREM but with no success. This issue appears irregularly with after a couple of day/weeks of jboss run. The only solution is then restarting jboss completely. Restarting the queue or consumer (other application using jms) does not solve the problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221267#4221267 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss-javaee.jar dont find classes javax.servlet
hey mate thanks for the quick response, well the jar contains many jars it self i will list them how i had it befor and how i have 'em now: Befor: richfaces-api3.2.2GA.jar richfaces-impl3.2.2GA.jar richfaces-ui3.2.2GA.jar common-beanutil,common-collection,common-digester,common.logging jars the javaee.jar and the jsf1.2 libraries that netbeans6.5 provides. i tried to remove the javaee.jar and the jsf files cause i know they create a conflict, so that jar contain the folowing jars: richfaces-api3.2.2GA.jar richfaces-impl3.2.2GA.jar richfaces-ui3.2.2GA.jar common-beanutil,common-collection,common-digester,common.logging jars jta.jar el-api.jar ejb3-persistence.jar so at least i can compile it. so i build this mini-app, and copy the jar in web-inf/lib of the main app. befor adding this jar of the mini-app , the example worked, but since i added it once, i can't make it deploy at all well the exception occurs in the deployment time here is the log (i copied since the first warning): 10:08:45,718 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this. | 10:08:45,765 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent | 10:08:46,187 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. | 10:08:46,187 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer | 10:08:46,734 INFO [TransactionManagerService] Initializing recovery manager | 10:08:47,015 INFO [TransactionManagerService] Recovery manager configured | 10:08:47,015 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference | 10:08:47,062 INFO [TransactionManagerService] Starting transaction recovery manager | 10:08:48,406 INFO [Http11Protocol] Inicializando Coyote HTTP/1.1 en puerto http-127.0.0.1-8080 | 10:08:48,406 INFO [AjpProtocol] Inicializando Coyote AJP/1.3 en ajp-127.0.0.1-8009 | 10:08:48,406 INFO [StandardService] Arrancando servicio jboss.web | 10:08:48,421 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA | 10:08:48,578 INFO [Catalina] Server startup in 487 ms | 10:08:48,609 INFO [TomcatDeployment] deploy, ctxPath=/web-console | 10:08:50,765 INFO [TomcatDeployment] deploy, ctxPath=/jbossws | 10:08:51,000 INFO [TomcatDeployment] deploy, ctxPath=/invoker | 10:08:51,406 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml | 10:08:51,500 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml | 10:08:51,562 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml | 10:08:51,671 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml | 10:08:51,812 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/java/jboss-5.0.1.GA-jdk6/jboss-5.0.1.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml | 10:08:52,484 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main | 10:08:52,609 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. | 10:08:52,625 INFO [RAMJobStore] RAMJobStore initialized. | 10:08:52,625 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' | 10:08:52,625 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 | 10:08:52,625 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. | 10:08:53,921 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' | 10:08:55,078 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started | 10:08:55,250 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=20, pageSize=2000, downCacheSize=2000 | 10:08:55,390 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 1 milliseconds | 10:08:55,390 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.connectionfact...@1e9d69 started | 10:08:55,390 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 1 milliseconds | 10:08:55,390 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.connectionfact...@955f83 started
[jboss-user] [JBoss Portal] - Re: Portlets doView() method Problem in portlets
I have set page referesh in admin module for this portal. Now it is solved. I have one more issue in page referesh. I have created some chart portlet dynamically. These values are comes from left region and created charts are displyed in center region. for example: I have created dynamic portlet a. Again I created portlet b. Actual result : Now the old portlet is deleted the new one is created. Problem : Old one is displayed in center region. (but I have checked in admin part the new portlet is created and assigned in center region). If I referesh the whole page I get the new portlet. Is it possible to referesh ony center region instead of whole page. I hope you will get my point. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221274#4221274 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS Connection Pooling
this is an old thread but could you please let me know if we can use the JCA JMS managed connection factory from a standalone java application ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221275#4221275 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Doing a job when a node is going down
Hello, Is there a way to make a treatment when the cluster detects that a node has gone down ? Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221276#4221276 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Problem publishing to JBoss
Hi, 1. this might help: http://www.jboss.org/community/docs/DOC-10781 2. do you perform exploded deployment or do you deploy a EAR/WAR file? Exploded deployment may result in problems, if the server hot deploys a half published app. So, EAR or WAR deployment is the better approach. But what are the detailed error messages? Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221277#4221277 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS Connection Pooling
vandana_awat wrote : this is an old thread but could you please let me know if we can use the JCA JMS managed connection factory from a standalone java application ? I answered this in a post I made a couple of hours ago. This is also answered on the wiki. BTW, the best place to ask JCA questions is the *JCA forum* not the JBoss Messaging forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221280#4221280 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How to Intercep a client close on the server side
Yeah that was my reaction to... We never said we supported that feature. Which was why I was hesitant to raise it as a jira until speaking with you. I'll raise it as a feature reqeust and add it in to the next cp. I don't think there are going to be any side effects from it, but I'll test well to make sure. Thanks a bunch. Jay:) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221282#4221282 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Sessionfactory error on EJB project
Hello, I need help to make Hibernate Tools work for an EJB project (a Seam EJB module). I did not create the project with any wizard, so I went to Hibernate Configurations View and added a Configuration. The Configuration and Database nodes seen to work fine: I can see the entities and data tables, but Session Factory node shows Sessionfactory error: The chosen transaction strategy requires access to the JTA TransactionManager. And I when I try to run any with HQL Editor it shows Do you want to open the session factory for hibernate? and nothing else happens wither I click yes or no. thanks in advance, Fabricio Lemos View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221284#4221284 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS Connection Pooling
To summarise, AFAIK, JBoss JCA currently only works inside the app server/servlet engine, it does not work standalone on the client side. I believe the JCA team are currently working on providing a standalone JCA implementation that will work on the client side, but I'm not sure of that. The JCA team on the JCA forum will know more about that than me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221283#4221283 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Probleme with update field
hi, I'm using JBPM in seam 2.1.1 I' trying to update value in a datatable from an input text, but i've got a probleme. In fact i've got an entity called sinstre witch is scoped like that: @In(scope = ScopeType.BUSINESS_PROCESS, required = false) | @Out(scope = ScopeType.BUSINESS_PROCESS, required = false) | private Sinistre sinistre; In my XHTML page, ive got a Form: | h:form id=InfosVoiture | | h:outputText value=Il n'y a pas de sinistre a renseigner pour le moment rendered=#{empty taskInstancePriorityList}/ | |rich:panel | f:facet name=headerLsite des sinistre comportant une partie materiel /f:facet | h:dataTable value=#{taskInstancePriorityList} | var=task rendered=#{not empty taskInstancePriorityList} | bgcolor=#F1F1F1 border=10 | | h:column | f:facet name=header | h:outputText value=Creation/ | /f:facet | h:outputText value=#{task.taskMgmtInstance.processInstance.start} | s:convertDateTime type=date/ | /h:outputText | /h:column | | h:column | f:facet name=header | h:outputText value=Employe/ | /f:facet | h:outputText value=#{task.actorId}/ br / | /h:column $ | h:column | f:facet name=header | h:outputText value=task/ | /f:facet | h:outputText value=#{task.name}/ br / | /h:column | h:column | f:facet name=header | h:outputText value=Id du sinistre / | /f:facet | h:outputText value=#{task.variables['sinistre'].idSinistre} / br / | /h:column | h:column | f:facet name=header | h:outputText value=Nom du client/ | /f:facet | h:outputText value=#{task.variables['sinistre'].nomClient} / br / |/h:column | h:column | f:facet name=header | h:outputText value=Prenom du client/ | /f:facet | h:outputText value=#{task.variables['sinistre'].prenomClient}/ br / | /h:column | h:column | f:facet name=header | h:outputText value=Corporel/ | /f:facet | h:outputText value=#{task.variables['sinistre'].sinistreCorporel}/ br / | /h:column | h:column | f:facet name=header | h:outputText value=Materiel/ | /f:facet | h:outputText value=#{task.variables['sinistre'].sinistreMateriel}/ br / | /h:column | | h:column | f:facet name=header | h:outputText value=Voiture task/ | /f:facet | h:outputText value=#{task.variables['sinistre'].typeVoiture}/ br / | /h:column | | h:column | f:facet name=header | h:outputText value=Voiture/ | /f:facet | h:outputText value=#{Saisie_1.sinistre.typeVoiture}/ br / | /h:column | | h:column | f:facet name=header | h:outputText value=type de Voiture/ | /f:facet | h:inputText id=typeVoiture value=#{Saisie_1.sinistre.typeVoiture}/ | /h:column | | h:column | f:facet name=header | h:outputText value=type de Voiture
[jboss-user] [JBoss Cache: Core Edition] - Re: CommandAwareRpcDispatcher called, then nothing.
Manik, Thanks. Actually I have made progress since. I did not have a jar with the classes to be instantiated in the lib directory. You might say it was a bit impolite of the system to swallow an error like that, without saying anything (there again, you might say it was pretty stupid of me not to make the classes available to the system in the first place). However one thing I have discovered is that it is not a good idea to dynamically set tracing with the cache, as a number of classes set a trace boolean when they initialise, and then stick with that. Hence, I suppose the black hole into which I fell. I had it working with the above config. I am now struggling to get it working with MVCC. I imagine that if I get irrevocably stuck I will be back. Again thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221293#4221293 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: How to access class of EJB Session Bean from listener MB
OK, I was finaly able to solve this by EJB3Deployer source code. I use following snipet to extract informations about classes in deployed jar: |DeploymentInfo info = (DeploymentInfo)notification.getUserData(); |Iterator it = ArchiveBrowser.getBrowser(info.localUrl, new MyClassFileFilter()); | try | { |while (it.hasNext()) |{ | InputStream stream = (InputStream) it.next(); | DataInputStream dstream = new DataInputStream(new BufferedInputStream(stream)); | ClassFile cf = null; | try | { | cf = new ClassFile(dstream); | log.debug(ClassFile: + cf.getName()); | AnnotationsAttribute visible = (AnnotationsAttribute) cf.getAttribute(AnnotationsAttribute.visibleTag); | if (visible != null) | { | Annotation myAnnotation = visible.getAnnotation(my.test.MyAnnotation); | if(myAnnotation != null) { | ... | } | } | } | finally | { | dstream.close(); | stream.close(); | } |} | } | catch (IOException e) | { | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221295#4221295 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - [Criteria] do not select all properties on join
hi, how can I retreive some properties from the projection list properties, for example: criteria.setFetchMode(group, FetchMode.JOIN); I want to select all group properties except two of theme. best regards! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221297#4221297 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Limit access by IP address
anil.saldh...@jboss.com wrote : Try adding the standard Apache Tomcat RemoteAddress/RemoteHost valves in a context.xml in WEB-INF of your web application. | | http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html Thanks Anil, that was exactly what I was looking for! A very nice solution. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221300#4221300 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: MDB does not pick up connection factory settings
An MDB doesn't use the connection-factory that is a pool of connections for outbound. You configure the MDB connection from the activation-config-propertys which you should find in the IBM docs. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221302#4221302 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JEE AS / jBPM / Exception when Oracle DB is restarted
Hi all, I found my problem. In ejb2-timer-service.xml, there is a retry policy. By default, it is at 100 ms and only one retry. With 6ms for exemple, my DB can restart and it works but there is only one retry. !-- A retry policy that uses a fixed interval in milli seconds -- 6 That's why i'm going to make my own retry policy. Bye. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221304#4221304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Deploying a datasource inside an EAR
The -ds.xml uses a .rar which is likely outside your ear so the rar's classes won't be able to see the jar inside the ear? See the JBoss JCA FAQ for other common classloading scoping questions. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221308#4221308 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Mixing CLIENT-CERT and BASIC authentication
My war file has two types of servlets. I would like to authenticate one group with client-cert and the other type with basic authentication. [They both live under a context-root of /servlet as defined in jboss-web.xml] I did not see anything obvious in the web.xml. Is this possible to do? Or do I need to split my war file and use different context roots such as /servlet-cert /servlet-basic? Unfortunately this split, as with many splits, would be painful. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221310#4221310 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Log message to screen - possible in Weblogic, is it poss
Here is the summary, I tried changing the context path (I am trying on windows environment)... but no success I think I am doing something wrong with context path, please guide. a) jboss-log4j.xml appender name=FILE class=org.jboss.logging.appender.DailyRollingFileAppender | errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/ | param name=Threshold value=INFO/ | param name=File value=${jboss.server.home.dir}/logfiles/server.log/ This genereates server.log file under C:\jboss-4.2.3\server\default\logfiles b) Added context path to server.xml (for testing provided the full path) C:\jboss-4.2.3\server\default\deploy\jboss-web.deployer\server.xml Connector port=80 address=${jboss.bind.address} | Context path=C:\\jboss-4.2.3\\server\\default\\logfiles docBase=log debug=0 reloadable=true / Tried URL : anonymous wrote : http://localhost/log/server.log View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221311#4221311 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: jboss ha datasource configuration to the same host
brettcave wrote : Would something like this work? | | I am using heartbeat + ldirector for HA and loadbalancing of sql servers. | | I find that jboss applications become unavailable for a while if the connection gets lost - which happens occassionally due to packet loss. So in trying to get a stable jboss + mysql infrastructure, I would like to use | ha-tx-local-datasource | connection-urljdbc:mysql://ha.host:3306/db|jdbc:mysql://ha.host:3306/db/connection-url | I don't think that will work? Looking at the HAXAConnectionFactory the urls get parsed to an XAData which is treated as equal if the urls are the same. But then again it stores them in a List rather than a Set so it might still work? anonymous wrote : | Also, i read somewhere that using background-validation with check-valid-connection-sql can cause a conflict, but cant find further info on it... any recommendations for detecting whether connections are valid? | ??? It is duplicate work, I don't know it is a conflict since one works on idle connections, the other on connections just about to be used (i.e. not idle). anonymous wrote : | lastly, is using jdbc:mysql://ha.host:3306/db?autoReconnect=true the same as leaving autoReconnect=true off the URL and adding it to connection-property ? Completely broken if you use any form of transactions. AFAIK, the reconnect will use a different connection that knows nothing about previous work in an ongoing transaction. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221316#4221316 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: Can the Code get a QueueConnection objcect per request
Remote access to a pool is an anti-pattern. The serverside JMS semantics are different to client semantics anyway. Either create the pool inside the client (although for a normal java client its better to just create one connection and then create session as required - e.g. per thread) Or use an SLSB to give remote access, there's an old example of such an EJB on the WIKI. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221320#4221320 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: XAConnectionFactory not bound: dependancy issue ?
It anonymous wrote : , e.g. on the UIL2 Service. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221322#4221322 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBossXACML: Bug in HigherOrderFunction Class of sun's XA
Hi Anil, I have tested jbossxacml-2.0.3.CR4.jar against our policies. Now our issue with HigherOrderFunction is solved! Thanks a lot for your very fast reaction. Best regards, Joerg View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221324#4221324 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: Send jms message from JBoss mq to Glassfsih Queue
Read the FAQ about remote jms, except change the jndi config to point at your Glassfish server. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221326#4221326 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: Null-Persistence OutOfMemory growing HeapSize
b.eckenfels wrote : Are you shure you have a Problem with retained messages. If you do not have a PM, then all undelivered Messages in the queues will be kept in Memory. So check your queue length (and DLQ) how many of those messages are not delivered at the time of your OOM. | | Have you used Eclipse MAT do find the Memory Hog and can you idntifiy Messages which should not be there? | | What kind of OOM you get (are you sure it is not Perm Gen for example?) | | Gruss | Bernd | Hallo Bernd thank you for the fast reply. we use a topic and all of messages are delivered (i have to test it again) at the time of OOM (JAVA HEAP SPACE). Gruesse Saeed View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221327#4221327 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Get tasks by a user's group
so you are saying that none of the articles you found gave any hint to a possible solution? - It is not classloader isolation (or lack thereof, UCL) - it is not a classpath 'conflict' somewhere - it is not an issue that you run on an appserver whith limited support for hibernate 3 (Weblogic) - you are running a recent version of JBoss AS (what are you running?) - you are running a recent jdk (1.5 / 1.6) (what are you running?) Then I have *no* idea... maybe the hibernate forum can help out. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221331#4221331 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221331 ___ 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: hibernate + log4j.xml = can not get it work
i have found a problem. hibernate entity manager 3.4.0 use slf4j as logger (that was new for me). My project is maven driven, so i have only a hibernate-entitymanager dependency. maven returns a slf4j-api.jar but not a log4j adapter for slf. It must be done explicitly with dependency slf4j-log4j12. Also it is important to get the right version. Hibernate use slf4j 1.4.2 so the log4j adapter must also be in this vesion. So, now i have slf4j-api and log4j adapter in the classpath and my log4j configuration will be used correctly. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221339#4221339 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Cannot obtain endpoint meta data when accessing web service
Having an issue getting my web service to work. I installed JBossWS 3.1.0 GA into my server (bundled JBoss AS 4.2.3 / JBoss Portal 2.7.2) and deployed a web service using JBoss Dev Studio 2.0.0.CR2. The web service implementation has one method that takes a string and returns a string (nothing fancy). I used the JBoss tools to generate the web service from a WSDL. The packaged web service (J2EE EAR with web.xml updated to add a servlet/mapping) deploys without any errors. It shows up in the Registered Service Endpoint, but when I click on the link, I get an error stating IllegalStateException: Cannot obtain endpoint meta data and the browser shows the generic error that XML must have a top level element since it is an empty file. Are the above releases I am deploying to compatible? If not can someone point me to the correct combination? Or am I missing something? Any avenues to investigate would be appreciated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221341#4221341 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss-javaee.jar dont find classes javax.servlet
is this enought information? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221342#4221342 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Mixing CLIENT-CERT and BASIC authentication
Not sure this question is in scope of the forum. Two things you need to describe in your web.xml: 1) Security constraint mapped to some url pattern and requires some role. 2) Role mapped to security domain. So you need to configure your web.xml as following: Two different security constraints mapped each to its url pattern e.g. url-pattern/*_cert_requred_*/url-pattern requires some role: CertProtected url-pattern/*_passwd_requred_*/url-pattern requires some role: PasswordProtected Best way to do this - separate your app to subcontexts: url-pattern/cert_requred/*/url-pattern url-pattern/passwd_requred/*/url-pattern Then you need to map each role to its JAAS domain. If you are mapping some security constraints to one url pattern (/*)... The result is depending on implementation. In best case you will got working the last constraint. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221346#4221346 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - MQSeries with JBoss
Hi, I am new to ejb / jboss. Will appretiate your help considerably. I am trying to create a simple Message Driven Bean test, that connects to MQSeries queue. Currently i have a simple java class that is able to connect and read a message. What I dont understand is what files / descriptors i need to make: jboss.xml, application.xml, ejb-jar.xml etc And what should be put into them I am using ejb3 and Intellij IDEA. So far it wont recognize ejb-jar tag in the xml. I created a class and annotated it with @MessageDriven But jboss.xml wont recognize my ejb-name value. I can seem to find any step by step simple tutorial or explanation f how to handle this. Please any help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221351#4221351 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221351 ___ 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: hibernate + log4j.xml = can not get it work
I dug through the Hibernate source code and did not see any place where the parameter values are printed, but then I could have missed it. Perhaps you can ask on the hibernate forum if there is any way to do this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221353#4221353 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221353 ___ 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: hibernate + log4j.xml = can not get it work
Now the parameters all will be printed. The only thing to do is to configure the logger. Logger for org.hibernate.type must be configured with trace/debug. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221354#4221354 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Administration Page/Portlet is disabled accidentally, how to
Hi all, I logged in as admin role. And I just tried to setup the security of Administration portlet. I unchecked the view option. However, I believed I made a serious mistake becasue the administration page never appear in the admin user screen. Please help me recover back to the admin account. Thanks for your help Benson View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221355#4221355 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Kerberos, ejb, rmi
ruhe wrote : Hi, alexanders. | | It's a good idea to use HTTP for rmi invocations to enable kerberized authentication. | | If you have problems with HTTPInvoker, so here is my config: | | And you'll find in docs how to customize invoker for ejb. | Actually the invoker configuration is not a problem. The key is configuring the invokers war web.xml to apply kerberized security constraint on InvokerServlet. This not quite for me to do changes in framework core. I'm looking for a wrap way. Maybe running invoker core mbean within my own application. And applying the security constraint inside my own deployment unit... Thanks to new MC... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221358#4221358 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Unwanted Automatic undeployment
We are facing the same issue. Did you find a solution for the problem. I am praying you did :-) Thanks Nura View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221362#4221362 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Drools questions : How to fire particular rules?
Hi, I am a newbie of Drools. I usually use fireAllRules to fire the facts to all the rules. However, is it possible to fire particular rule instead of firing all rules? Please advice. Thanks Benson View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221363#4221363 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Error: Could not import. (use --verbose to see full traces)
Error: Could not import. (use --verbose to see full traces) Error: WsImport invocation failed. Try the verbose switch for more information Anyone sees this error while generating web service client? I tried JBossWS Tools 1.0.0 release and nightly update. Neither of them works on me. Error comes when i click 'Finish' button on the wizard. My environment: JBoss 5.0.1 + build-in Jboss WS 3.0.5 + Eclipse 3.4.2 Thanks, Tony View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221364#4221364 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying Spring 2.5 Application in JBoss 5
http://forum.springframework.org/showthread.php?p=233520posted=1 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221365#4221365 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Log message to screen - possible in Weblogic, is it poss
Swap the path and docBase settings. The path is the URL context name, and docBase is the location of the files on your system. (It helps to read the documentation...) Then, move the Context tag inside the Host tag. | ... | Host ... | Context docBase=C:\\jboss-4.2.3\\server\\default\\logfiles path=/log reloadable=true / | /Host | ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221367#4221367 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Administration Page/Portlet is disabled accidentally, ho
you can make changes in default-object.xml and restart the server. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221369#4221369 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Get Action from Timer. Earlies execution time
Hello, In my process definition we have several nodes (containing actions), that have to have an earliest start time associated to them. The best way I found for implementing this functionality was creating a State node, create a timer inside it , and associate the action to the timer. Something like the example below: state name=LoadConvertedCont1 async=true | timer duedate='#{executionStartTime + 1 Hour}' |action class=com.x.jbpm.actions.Adaptor async=true name=loadConvertedContributions | taskBeanId |loadConvertedContributions | /taskBeanId | maxDurationMinutes | 60 | /maxDurationMinutes |/action | /timer | transition to=LoadConvertedCon2/transition | /state Everything is fine, until I try to stop the execution of the action. I have my own implementation of the JobExecutorThread. I extended the API for being to interrupt the execution of an the action. If the action was inside a node of type node, the code for accessing it, is quite easy : Action action = job.getToken().getNode().getAction(); But when the action is inside a timer and the timer is inside a Node of type State, I don't see an easy way of retrieving the action object, and the only possible way that I have found is using the HibernateProxy provided by Hibernate, although I don't consider this is the best option Timer timer = (Timer)((HibernateProxy)job).getHibernateLazyInitializer().getImplementation(); | Action action = timer.getAction(); Is there any way, using the JBPM API for retrieving the action being executed from the JobExecutorThread ? job.getToken().getNode().getName(); | //is providing me the correct name of the Node (even if it is if type State) | | runningJob.getToken().getNode().getAction(); | //is null when the action is inside the timer, and the timer inside the State Node. Regards. Jose. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221371#4221371 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: FD Issue
Use both FD and FD_SOCK. See explanation at http://www.jboss.org/community/docs/DOC-9739 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221372#4221372 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Sudden increase in Jboss memory
Thanks for the response PeterJ. I am monitoring the TaskManager. Java.exe would spike from 250mb to 1GB in a matter of few seconds. Once that happens, I could not really use JMX-Console anymore to lookat or dump the threads. Is there any other easy way to take a thread dump.? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221374#4221374 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying Spring 2.5 Application in JBoss 5
jboss_user200 wrote : http://forum.springframework.org/showthread.php?p=233520posted=1 | ... | The problem is that JBoss deployer sometimes tries to parse xml files even if it makes no sense at all (why should JBoss ever try to parse Spring contexts?). For example - I noticed that he tries to parse _all_ xml files he finds in ejb modules. | Maybe you should try this then http://www.jboss.org/index.html?module=bbop=viewtopict=150147#4208527 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221373#4221373 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying Spring 2.5 Application in JBoss 5
But do note that the reason you are seeing the exception is because there's something wrong with the xml in your application (as Wolfgang already mentioned). So disabling validation is just a workaround. The actual fix is to fix the xml. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221375#4221375 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - invalidation messages lost/ignored?
I have 2-node cluster running on the same host using MVCC and INVALIDATION_ASYNC (JGroups udp) with Hibernate 3.3.1. Under load an Entity update in ClusterNodeA does sometimes does not cause invalidation of same Entity in ClusterNodeB: State in B's Cache (and in DB) after B updates UserSession: | /com.doppelganger.domain.UserSession#1116 {item={hibernateVersion=40, boot=false, loginTime=2009-03-26 09:05:48.0, icecastMount=null, _subclass=com.doppelganger.domain.UserSession, macAddressMD5=null, serverSession=null, enclosingSpace=null, userStates=0, creationDate=2009-03-26 09:05:48.0, deviceIdMD5=null, _version=40, expirationTime=2009-03-26 10:06:55.0, token=108fb802-d5ca-40eb-80bb-c347efa95b64, logoutTime=null, _lazyPropertiesUnfetched=false, user=172}} | State in A's Cache at the same time: | /com.doppelganger.domain.UserSession#1116 {item={hibernateVersion=39, boot=false, loginTime=2009-03-26 09:05:48.0, icecastMount=null, _subclass=com.doppelganger.domain.UserSession, macAddressMD5=null, serverSession=272, enclosingSpace=205, userStates=0, creationDate=2009-03-26 09:05:48.0, deviceIdMD5=null, _version=39, expirationTime=2009-03-26 10:06:55.0, token=108fb802-d5ca-40eb-80bb-c347efa95b64, logoutTime=null, _lazyPropertiesUnfetched=true, user=172}} | The correct state is hibernateVersion=40; serverSession=NULL (not the case in A). Subsequent attempts to update this UserSession on A lead to StaleObjectStateException because hibernateVersion is 40. Question: Seems like the invalidation message from B (a) either never arrives at A or (b) is ignored by A for some reason. Any hints on which loggers to turn up and for which messages to look to determine whether it's (a) or (b)? Possible workaround/solution? Let's say lost invalidation messages are a possibility and the app just has to be able to deal with it. Our app has a TX retry mechanism that retries StaleObjectStateException (and other concurrent access-related exceptions). Seems like it'd be more reliable to removeNode for Entity causing the exception before executing a retry. However, this removal should be done locally only (and not be multicast to other nodes). I see org.jboss.cache.config.Option.cacheModeLocal and org.hibernate.cache.jbc2.util.CacheHelper.remove(Cache cache, Fqn region, Object key, Option option). Unfortunately, there is no way to pass on Option to org.hibernate.cache.jbc2.entity.TransactionAccess.remove(key). So it seems like the thing to do is to call CacheHelper.removeNode(stuff, Option.cacheModeLocal=true) before TX retry (would execute outside of tx). What do folks think? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221377#4221377 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Adding member value with no name to annotation
Hi, This is what I'm trying to achieve: | ... | @Entity | @IdClass(MyPKClass.class) | public class MyClass { | ... | } | This is a fully javassist generated class, I am able to annotate with the @Entity, even add member values in form name=value... but how shall I proceed to add the member value to @IdClass? Tried this so far (with mv = new ClassMemberValue(MyPKClass.class.getName(), cp);): - annotation.addMemberValue( , mv ); - annotation.addMemberValue( null, mv ); - annotation.addMemberValue( -1, mv ); - annotation.addMemberValue( 0, mv ); Even tried to add annotation with param itself, wich didn't worked obviously: new Annotation(javax.persistence.IdClass(MyPKClass.class), cp); Obviously I'm on the desperate side, trying desperate solutions... Any help ? Thanks BR Alexandre Mendonca View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221383#4221383 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB 3 Jboss 4.2 GA Issue
Hi Has any one faced this before? Any pointers on the solution? Exception in thread main javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.1. 1.1:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java .net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connec t to server 127.1.1.1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 127. 1.1.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(Unknown Source) at com.ejb.client.Client.main(Client.java:16) Caused by: javax.naming.CommunicationException: Failed to connect to server 127.1.1.1:1099 [Root exception is javax.nami ng.ServiceUnavailableException: Failed to connect to server 127.1.1.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533) ... 4 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server 127.1.1.1:1099 [Root exception is java. net.ConnectException: Connection refused: connect] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248) ... 5 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.(Unknown Source) at java.net.Socket.(Unknown Source) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244) ... 5 more View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221384#4221384 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Administration Page/Portlet is disabled accidentally, ho
Hi Vivek, thanks for your suggestions. However, can you be more specific? As I wrongly unchecked the admin role view option for the Admin portlet, that's why the admin portlet disappear under the admin account. Please advice how to make changes to the default-object.xml so that it will revert back to the original stage. Thanks Benson View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221386#4221386 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: FD Issue
When one of the RHEL instance was brought down by killing the instance forcefully (kill -9 {PID}), the VIEW in the SOLARIS machines aren't updated even after testing with your suggestion. The sample config is as follows attribute name=ClusterConfig |config |!-- UDP: if you have a multihomed machine, |set the bind_addr attribute to the appropriate NIC IP address, e.g bind_addr=192.168.0.2 |-- |!-- UDP: On Windows machines, because of the media sense feature | being broken with multicast (even after disabling media sense) | set the loopback attribute to true -- |UDP mcast_addr=224.7.8.9 mcast_port=45567 |ip_ttl=64 ip_mcast=true |mcast_send_buf_size=15 mcast_recv_buf_size=20 |ucast_send_buf_size=15 ucast_recv_buf_size=20 |loopback=false bind_addr=XX.XX.XX.XX/ |PING timeout=2000 num_initial_members=3 |up_thread=false down_thread=false/ |MERGE2 min_interval=1 max_interval=2/ |FD shun=true up_thread=true down_thread=true / |FD_SOCK/ |VERIFY_SUSPECT timeout=1500 |up_thread=false down_thread=false/ |pbcast.NAKACK gc_lag=50 retransmit_timeout=600,1200,2400,4800 |max_xmit_size=8192 up_thread=false down_thread=false discard_delivered_msgs=true/ |UNICAST timeout=600,1200,2400 window_size=100 min_threshold=10 |down_thread=false/ |pbcast.STABLE desired_avg_gossip=2 |up_thread=false down_thread=false/ |FRAG frag_size=8192 |down_thread=false up_thread=false/ |pbcast.GMS join_timeout=5000 join_retry_timeout=2000 |shun=true print_local_addr=true/ |pbcast.STATE_TRANSFER up_thread=true down_thread=true/ |/config |/attribute Please suggest your thoughts in this. Solaris and RHEL KEEP_ALIVE is with default(2hours) values View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4221387#4221387 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user