[jboss-user] [EJB 3.0] - Re: Bundle jars within EAR?
I will report this in JIRA. This is even worse. If I deploy my EAR file with the log4j and commons-logging jars bundled, then I must restart JBoss to be able to deploy the new ear without my logging jars. Strange, but good for you to know. Best Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029217#4029217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Inject EBJ
I'm working on Seam1.2 and GlassFish. Plase tell me how to inject ejb into ejb. ---class1--- @Stateless @Name("action1") public class Action1Bean implements Action1Local {...} ---class2--- @Stateless @Name("action2") public class Action2Bean implements Action2Local { @EJB private Action1Local acton1; } This code is well. action1 is injected by @EJB annotation. ---class2'--- @Stateless @Name("action2") public class Action2Bean implements Action2Local { @In private Action1Local acton1; } In this case, action1 is not injected by @In annotation. Spacial configuration is required? ---Kay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029219#4029219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.RuntimeException: Could not create Component:
No nested exceptions that tell you a bit more? Not the cause of your problem, but just for your information: > if (list==null || (list!=null && list.size()!=1)) The Java || is an Exclusive OR: if the first expression evaluates to true then the second is not evaluated at all. So there's no need for the "list!=null" part. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029220#4029220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting configuration --- seam/remoting/interface.
Anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029221#4029221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: gracefully stop jboss instance
AFAIK you cannot use the name. You can stop a specific instance by using the url and the rmi port of your server. I use something like: ./shutdown.sh -S -s jnp://localhost:1099 and if you use user/password add "-u jboss -p jboss" for more info type shutdown without args. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029222#4029222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to delete Memberships
Thanks for the fast answer, and sorry for the delay but i was ill. Hmm, after thinking a little about it, i think u are right and Hibernate will manage this for me. Thank u View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029223#4029223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - how to run my servlets projects in jboss
I have complied my projects with spring framework but how can i run this on browser please help any one . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029225#4029225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029225 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Deployment in Tomcat
anonymous wrote : Yes you can use this with Tomcat. You probably want each Tomcat node to create an instance of JBoss Cache though, and let the JBoss Cache instances form a cluster among themselves to share state. yes that is exactly what i need, but could you please give me some clues on how to deploy jboss-cache? i think i also will have at least to deploy jgroups too, isn't? and the main question is how since i can not find nothing really useful here (but may be i am missing something): http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/1.4.0/TreeCache/en/html/index.html thanx again Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029226#4029226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Displaying session expiry
Hi there, Does anyone have a method for displaying to the user that their session has expired. I have a filter that redirects requests to the login page before the user is logged in. If the session expires then the next request will redirect to the login page. I would like to display an additional message on the login page about the timeout in the latter case but I can't see how to differentiate between a not-logged-in and a session-expired as the Session scoped component that holds the user information has been destroyed. Any help appreciated. Cheers. Mike. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029227#4029227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Layout : show a single window without the region / bug a
Applied, thanks a lot ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029228#4029228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - StackOverflowError with WS-Security
hi all, i'm having a problem when i use ws-security with jbossws. when a service implementation returns messages(my own class object or string object) including null value, a StackOverflowError occurs in a client side. Exception: java.lang.StackOverflowError java.lang.StackOverflowError at java.security.AccessController.doPrivileged(Native Method) at java.io.PrintWriter.(PrintWriter.java:77) at java.io.PrintWriter.(PrintWriter.java:61) at org.jboss.ws.utils.DOMWriter.(DOMWriter.java:104) at org.jboss.ws.utils.DOMWriter.printNode(DOMWriter.java:141) at org.jboss.ws.soap.NodeImpl.assertSOAPParent(NodeImpl.java:592) at org.jboss.ws.soap.NodeImpl.getParentNode(NodeImpl.java:296) at org.jboss.ws.utils.DOMWriter.getNamespaceURI(DOMWriter.java:435) at org.jboss.ws.utils.DOMWriter.getNamespaceURI(DOMWriter.java:438) at org.jboss.ws.utils.DOMWriter.getNamespaceURI(DOMWriter.java:438) at org.jboss.ws.utils.DOMWriter.printInternal(DOMWriter.java:269) at org.jboss.ws.utils.DOMWriter.printInternal(DOMWriter.java:307) at org.jboss.ws.utils.DOMWriter.printInternal(DOMWriter.java:307) at org.jboss.ws.utils.DOMWriter.print(DOMWriter.java:193) at org.jboss.ws.utils.DOMWriter.printNode(DOMWriter.java:141) at org.jboss.ws.soap.NodeImpl.assertSOAPParent(NodeImpl.java:592) at org.jboss.ws.soap.NodeImpl.getParentNode(NodeImpl.java:296) environments: jboss 4.0.5 jbossws 1.0.3 sp1 service provider(server implementation) and service consumer(client) are running on different machines. i tried some different type of object as a return value(return soap message). i found this error occurs if the return string value is null or return object have at least one null value as an attribute. in other words, no null values are included in the return value, service invocations are done successfully and i confirmed that the soap messages are correctly encripted. does anyone know the reason or workaround? best regards, shigemoto. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029230#4029230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: cannot make authenticator work
Seems like it is OK. I am including the full output in case you notice something weird. BTW I am using SJSAS 9 and I tried with both Seam 1.1.6 and 1.2.0 p1. Thank you for the help. authenticateMethod #{otantikamator.otantikmi} | class class org.jboss.seam.security.RuleBasedIdentity | cookieEnabled false | cookieMaxAge31536000 | jaasConfigName | loggedInfalse | password | principal | rememberMe false | securityContext | securityRules | subject Subject: | username | toString() [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029232#4029232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: StatisticsCollector
"somefoo" wrote : | ... but I need a 'tx-datasource' for the EJB*2*-persistence-unit - anyone any idea how to manage that? | Hello! The above is (of course) a typo: I would need a EJB*3*-persistence-unit - there is no such thing as a Persistence-unit in EJB2, is it? Just further on for the non-listening and non-answering jboss-people ;-) My monitoring tool is in a final state now - I'am just interested in transaction-data, which works quite well with the given structure - asaide from the mentioned ('sub-optimal' OO-design) which made all changes und extensions a little bit tricky - . bye! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029233#4029233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Issue with dotNet client and Credentials
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSAndDotNet should answer this... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029234#4029234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS SERVER IS GETTING SHUT DOWN
Do you use any native libs? Errors happening while executing native libs may stop the virtual machine without any notification. We had this problem with ICR libs and also with JACOB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029235#4029235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting configuration --- seam/remoting/interface.
Remoting uses a resource servlet to provide the javascript stubs and process remote requests. If you're only testing in Tomcat (i.e. not within JBoss) it's not supported yet - there's an outstanding JIRA issue for remoting support in standalone Tomcat. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029236#4029236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: StatisticsCollector
For the EJB3 PU, you can (if you use JBoss EJB3) enable Hibernate statistics and use stats from there. Else, the underlying datasource is the same for EJB2 and EJB3. So have a look at the respecive ConnectionPool-MBeans etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029237#4029237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Deleting parent entity should clear out its foreign key
Hi, I would not expect the container to behave as you described. From what I understand, it is the responsibility of the EntityManager and the EJB container to save the state of your managed state Entity beans at the end of the transaction. If you wish your child.category property to be null, then you must manually apply this change in state to all your child entities of the parent category. Calling em.remove(parent) will remove 'parent' from the database but it will not delete parent the object, your application still holds a reference to it. It's state will be changed from managed to new. You child entities will still maintain a reference to this new state 'parent' Regards, Colin E. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029238#4029238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: FacesMessage not appearing....
I'm going through the same and even the FacesMessage.addToControl() did not work out. I believe it must be something that has to deal with the JSF 1.2 configuration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029240#4029240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with jbpm-3.2.Beta2
So, i have tried with jdk 5. U:\>java -version java version "1.5.0_08" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing) The error message is the following: Stream error while reading XML: Connection timed out: connect | +- Stack Trace | | javax.faces.FacesException: Stream error while reading XML: Connection timed out: connect | at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:522) | at com.ctc.wstx.sr.WstxStreamReader.next(WstxStreamReader.java:978) | at org.jbpm.webapp.tag.jbpm.ui.XmlPrinter.encodeBegin(XmlPrinter.java:113) | at org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:31) | at org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:58) | at org.jbpm.webapp.tag.jbpm.ui.Tab.encodeChildren(Tab.java:112) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578) | at org.jbpm.webapp.application.JbpmViewHandler.renderView(JbpmViewHandler.java:58) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Unknown Source) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029242#4029242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to correctly use @DataModel's rowAvailable?
In fact org.jboss.seam.jsf.ListDataModel delegates most of its functionality to javax.faces.model.ListDataModel (link broken when I write this; see also the API). The Seam code includes: private void readObject(ObjectInputStream ois) throws IOException, | ClassNotFoundException | { | this.setWrappedData( ois.readObject() ); | this.setRowIndex( ois.readInt() ); | } I assume readObject() throws an exception when the ObjectInputStream is not null but somehow emtpy, so I assume the readInt() could not yield -1 above, as writeObject sets it using getRowIndex(). Still: could using the wrong scope somehow mess this up...? Note that Order does implement serializable: @Entity | @Table(name="ORDERS") | public class Order implements Serializable Any thoughts welcome! Arjan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029243#4029243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Restrict - No redirection to Error Page
Gavin, thank you for your answer. I followed your suggestion and I have generated a test application and few form actions. If I restrict the access to an action method, everything works fine. When the authenticated user has not the Administrator role, the error page is shown. | | @Stateful | @Name("test1") | public class Test1Bean implements Test1 { | | @Logger private Log log; | | @In FacesMessages facesMessages; | | private String value; | | @Restrict("#{s:hasRole('Administrator')}") | public void test1() | { | //implement your business logic here | log.info("test1.test1() action called with: #{test1.value}"); | facesMessages.add("test1 #{test1.value}"); | } | | //add additional action methods | | @Length(max=10) | public String getValue() | { | return value; | } | | public void setValue(String value) | { | this.value = value; | } | | @Destroy @Remove | public void destroy() {} | | } | | | ... | | | | | | Value | | | | | | | | | | | | | | | . | Then I have tried to put the restriction annotation to a method that return a value (what I was trying to do in my application): | @Stateful | @Name("test2") | public class Test2Bean implements Test2 { | | @Logger private Log log; | | @In FacesMessages facesMessages; | | private String value = "Hello"; | | public void test2() | { | //implement your business logic here | log.info("test2.test2() action called with: #{test2.value}"); | facesMessages.add("test2 #{test2.value}"); | } | | //add additional action methods | | @Length(max=10) | @Restrict("#{s:hasRole('Administrator')}") | //@Restrict("#{s:hasRole('admin')}") | public String getValue() | { | return value; | } | | public void setValue(String value) | { | this.value = value; | } | | @Destroy @Remove | public void destroy() {} | | } | In this scenario I get an error message since the user is not logged in: | javax.faces.el.EvaluationException: /test2.xhtml @28,61 value="#{test2.value}": Exception getting value of property value of base of type : org.javassist.tmp.java.lang.Object_$$_javassist_2 | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) | at javax.faces.component.UIOutput.getValue(UIOutput.java:77) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:217) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:135) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) | at org.jboss.seam.ui.JSF.renderChild(JSF.java:179) | at org.jboss.seam.ui.JSF.renderChildren(JSF.java:162) | at org.jboss.seam.ui.UIDecorate.encodeChildren(UIDecorate.java:242) | at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:282) | at org.ajax4jsf.framework.renderer.RendererBase.renderChildren(RendererBase.java:262) | at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:284) | at org.ajax4jsf.framework.renderer.RendererBase.renderChildren(RendererBase.java:262) | at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:284) | at org.ajax4jsf.framework.renderer.RendererBase.renderChildren(RendererBase.java:262) | at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:189) | at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:184) | at org.ajax4jsf.framework.renderer.RendererBase.encodeChildren(RendererBase.java:121) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | at com
[jboss-user] [JBoss Seam] - Re: Inject EBJ
Try @Stateless | @Name("action2") | public class Action2Bean implements Action2Local { | @In private Action1Local action1; | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029245#4029245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: SSL Connection: load a new keystore at runtime
Hi. I saw that the JIRA issue http://jira.jboss.com/jira/browse/JBREM-654 has been closed. Is the fix already in the CVS repository? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029246#4029246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - get URL current page id
hi, i have a question. at the Management Portlet, i have added one portal under root, name as WEB under WEB, I have added a page with name WEB_A i add a portlet program to WEB_A how can the program get the current page name (ie. WEB_A) while processing this link http://localhost:8080/portal/auth/portal/WEB/WEB_A ??? OR display the name at the jsp page ?? thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029247#4029247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: additional fields on the login page
I have a problem with the approach 2. "Antoine_h" wrote : | | 2) add the parameter to the username (concatenation with a special separator), then create your own jaas login module (similar to the one provided), and parse the username to retrieve the name and parameter. | use javascript to concatenate the name with the extra parameter. | | I have implemented my own login module in the way described above. However, although the method getUsername() of the module returns a correct value, I have a problem with the UserInterceptor. The method req.getRemoteUser() returns a not parsed username with the separator and as a consequence I get NoSuchUserException in UserModule: org.jboss.portal.core.model.NoSuchUserException: No such user No such user [EMAIL PROTECTED] org.jboss.portal.core.impl.user.UserModuleImpl.findUserByUserName(UserModuleImpl.java:123) org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:100) I think I should try implement the third approach with the cookie? Or there is a simple solution for the problem of UserInterceptor? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029249#4029249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
Christian, this is on the wiki example in CVS? Can you talk me through how to reproduce this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029251#4029251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with entityconverter
If you can easily create a testcase for me it would be great. Otherwise, I'll try to replicate the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029253#4029253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - hibernate Session.get() returns proxy ?
(I posted this first on hibernate.org forums, but got no reply) Hi! I have this with hibernate 3.2.0.cr2 (inside JBoss 4.0.4GA): | Mapped m = session.get(Mapped.class,myID); | session.flush(); | session.evict(m); | session.flush(); | // ... | session.get(m.getClass,m.getID()); | This runs once, and then again (the value of myID is the same). On the second run, the get(Mapped.class,myID) returns an object of type Mapped$$EnhancerByCGLIB$$f6f2dbd7 instead of Mapped, so the line session.get(m.getClass,m.getID()); fails as it will try to load an object of type Mapped$$EnhancerByCGLIB$$f6f2dbd7 , but that has no defined mapping. I get : Caused by: org.hibernate.MappingException: Unknown entity: Mapped$$EnhancerByCGLIB$$f6f2dbd7 Why does it return in the second case this weird object (I guess it is a proxy) instead of a normal object, like in the first iteration (it is basically a loop). How do I force it return a plain object ? The book "Hibernate in Action" says in 4.4.1 "Retrieving objects by identifier" it: get() never returns a proxy. But in my case it does ??? Regards, David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029254#4029254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - NoClassDefFoundError exception related to filter
Hello everybody :) I deployed a portal on Jboss Portal Server, and all works fine. Now I have to integrate a filter, to change login mechanism, using libraries developed by other people. I specified filter mapping in %jboss_home%\server\default\deploy\jbossweb-tomcat55.sar\conf\web.xml and deployed libraries in %jboss_home%\lib folder . When starting Jboss, I get following exception: 11:34:08,937 ERROR [[/invoker]] Exception starting filter java.lang.NoClassDefFoundError: (of course replace name between <> with name of filter software) The class which is not found is inside filter library, placed in %jboss_home%\lib folder and also in other lib folder of jboss portal, but it seems somewhere is not found. Its developers also told me that in JBoss (not portal) their filter worked correctly, so I think there is something wrong in my JBossPortal configuration. Does anyone have any suggestion? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029257#4029257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with jbpm-3.2.Beta2
could it be the server is trying to retrieve an xsd from an external location and it is not allowed to do that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029258#4029258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal Authentication with Acegi
I made http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalWithAcegiAuthentication Feel free to update. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029259#4029259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
Check it out, edit build.properties with your JBoss location, start the HSQL DB as described in README.txt, call 'ant deploy' and try to register an account on http://localhost:8080/wiki View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029260#4029260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Feature request: Fine-grained entity security
I think UPDATE for individual fields is by far the most common case: You can always check CREATE easily in customerHome.persist() and SELECT in customerHome.find(). Nobody is using DELETE anyway :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029261#4029261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.RuntimeException: Could not create Component:
this is not cause of this problem. i'll tryed this : | @Stateless | @Name("authenticator") | public class AuthenticatorAction implements Authenticator{ | | @PersistenceContext | EntityManager em; | | @Out(scope=SESSION,required=false) |private Users user; | | | @In Identity identity; | | @In Actor actor; | | public boolean authenticate() { | return true; | } | } | | but it does not work, can anybody help me ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029262#4029262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.RuntimeException: Could not create Component:
"grdzeli_kaci" wrote : this is not cause of this problem. If "this" refers to explanation of the Java OR then: no, just like I wrote, that was just for your information... "grdzeli_kaci" wrote : public boolean authenticate() { | return true; | } | but it does not work ...well, does this give you the very same error? If so, then again: aren't there some nested exceptions that tell you a bit more? In your first post you only showed the "Could not create Component: authenticator" but often the rest of the error message gives some more clues about what's causing the error? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029264#4029264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: cannot call jboss ws from MS SOAP SDK
I tried jbossws 1.2 installed on top of jboss 4.0.5 without success : I get the same error. I will try C# now to see if it works better with jbossws I didn't try the doc-literal yet, I will do it also. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029266#4029266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: No ClassLoaders found for: org.jboss.seam.core.FacesPage
Hi, I have same problem. Everything works fine width myfaces, but not width Sun jsf impl. Did you found solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029268#4029268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Caching in JBoss Portal
hi, As per my understanding JBoss Cache has been used for Caching in clustered version of JBoss Portal. And also from the documentation features list it can be infered that JBoss Portal supports Render-view Caching. I am not able to figure out the corresponding configuration for render-view caching. Basically I am not sure which files to look into. Please help me regarding this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029269#4029269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - problem when attribute UseReplQueue is true...
Hi to All, I am using JBoss 4.0.4 and jboss-cache-dist-1.2.4.SP2. I am dealing with the below exception when at cacheMode REPL_ASYNC, I set the attribute UseReplQueue true: 9:23:17,187 ERROR [ReplicationQueue] failed replicating 0 elements in replication queue java.io.NotSerializableException: RpcDispatcher returned a null. This is most often caused by args for _replicate([]) n ot being serializable. at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4167) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4114) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4222) at org.jboss.cache.ReplicationQueue.flush(ReplicationQueue.java:149) at org.jboss.cache.ReplicationQueue$MyTask.run(ReplicationQueue.java:158) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Any help will be more than welcome Panagiwta View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029271#4029271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: problem when attribute UseReplQueue is true...
Can you confirm that all key, value and Fqn components are serializable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029272#4029272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to Inject app properties to bean transient method
Hi, I have collection of Entity Beans in my Statefull Bean loaded from DB, and iterated in page in messages; | Regards! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029273#4029273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Naming a database
I made my own app by modifying the helloworld example and everything works fine. I am using MySQL and the app I made by modifying helloworld requires that there be a database by the name of jbossdb in the MySQL repository. I would like to use a different name for my database but I can not find any place that tells me how to do that. I have looked at a lot of documentation about DataSource XML files and persistence.xml files but it appears that this is not where you would specify a database name. I am hoping someone knows how to do this. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029274#4029274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - formatting of html source code
Hello, i 'd like to know if theres a way to get a better formatting of the rendered html pages (.seam). So far there are no line breaks and tabs. Thanks a lot. hasc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029275#4029275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - installing Jboss, Portal with sqlserver Express
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC onnection(BaseConnectionManager2.java:396) at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio nManagerProxy.allocateConnection(BaseConnectionManager2.java:842) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp erDataSource.java:88) at org.jboss.portal.jems.hibernate.SessionFactoryBinder.startService(Ses sionFactoryBinder.java:229) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 96) at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBo ssService.java:73) at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:995) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy101.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(
[jboss-user] [Installation, Configuration & Deployment] - Re: installing Jboss, Portal with sqlserver Express
I have copied the sqljdbs jar into the default\lib folder yet i still getting this error View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029277#4029277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - BIG BIG BIG PROBLEM! unexpected token: VALUES in jbpm
I must make user management for JBPM I've coded: INSERT INTO org.jbpm.identity.Membership ('user', 'group', 'CLASS_') VALUES ('2','5,'M') it doesn't work in java code and throws org.hibernate.hql.ast.QuerySyntaxException: unexpected token: VALUES INSERT INTO org.jbpm.identity.Membership \(\'user\',\'group\', \'CLASS_\'\) VALUES \(\'2\',\'5\',\'M\'\) also doesn't work anyway, it works in DB explorer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029278#4029278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to Inject app properties to bean transient method
I think the 1 approach it is ok. I have working something similar: | | | | As you can see I get the property value for role.description on the fly using the messages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029279#4029279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - beginner needs help
Hello Jboss: 4.0.5 GA You can skip following info and look directly on description and code. I'm rather new to WS. I decided to create my WebService using Stateless Session Bean, but i was getting errors. Thats why i decided to deply an example, and then modify it. Example is attached to book: JBoss 4.0 the Official Guide. The example service is quite simple. The operation accepts one argument: String, and returns String. I decided to change operation in order to make it accept Object. But I have failed, look at that: description and code Exception stack trace: anonymous wrote : 12:46:56,093 ERROR [MainDeployer] Could not create deployment: file:/C:/Tutorial/jboss-4.0.5.GA/serer/default/deploy/hello-ejb.jar | org.jboss.ws.WSException: Cannot obtain method parameter mapping for message part 'inputt' in wdl operation: hello at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataRpc(JSR109MetaDataBulder.java:229) | at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuil | er.java:196) | at ... My session bean operation: public String hello(Input input) | { | return "Witaj " + input.getName() + "!"; | } Input object looks like that: package org.jboss.chap12.hello; | | public class Input { | | String name; | | public String getName() { | return name; | } | | public void setName(String name) { | this.name = name; | } | | } Wsdl file: | http://hello.chap12.jboss.org/"; | xmlns:tns="http://hello.chap12.jboss.org/"; | xmlns="http://schemas.xmlsoap.org/wsdl/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";> | | http://hello.chap12.jboss.org/";> | | | | | | | | | | | | | | | | | | | | | http://schemas.xmlsoap.org/soap/http"; style="rpc"/> | | | | http://hello.chap12.jboss.org/"/> | | | http://hello.chap12.jboss.org/"/> | | | | | | | | | | Mapping file: | http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd";> | | | | org.jboss.chap12.hello.Input | typeNS:Input | complexType | | name | name | | | | org.jboss.chap12.hello | http://hello.chap12.jboss.org/types | | | org.jboss.chap12.hello | http://hello.chap12.jboss.org/ | | | org.jboss.chap12.hello.HelloService | http://hello.chap12.jboss.org/";>serviceNS:HelloService | | HelloPort | HelloPort | | | | org.jboss.chap12.hello.Hello | http://hello.chap12.jboss.org/";>portTypeNS:Hello | http://hello.chap12.jboss.org/";>bindingNS:HelloBinding | | hello | hello | | 0 | org.jboss.chap12.hello.Input | | http://hello.chap12.jboss.org/";>wsdlMsgNS:Hello_hello | inputt | IN | | | | java.lang.String | http://hello.chap12.jboss.org/";>wsdlMsgNS:Hello_helloResponse | result | | | | | For me looks like everything is fine, but it is not. The question is: why? Could you help me? Thank you in advance. vitor_b View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029280#4029280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.RuntimeException: Could not create Component:
...and while stripping your code to pin down the problem: why not remove the EntityManager, Identity and Actor as well? And if that helps: are you sure you're using EJB3 in your components.xml, and if not sure: what if just using @In | private EntityManager entityManager; to use a "Seam-managed persistence context", instead of your @PersistenceContext | EntityManager em; By the way: do the examples run fine in your JBoss installation (like: is JBoss installed with the ejb3 profile)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029282#4029282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Running jboss-messaging client in the JBoss AppServer
We have two jboss server instances (jboss-4.0.4.GA). Both of them have been configured to run jboss-messaging provider. We can connect successfully to this provider from a standalone client running in its own JVM. However, we want to be able to lanunch our jboss-messaging client from within one of the jboss server instances and connect to the jboss-messaging provider running in the other jboss server instance. Is there a quick way to accomplish this? We have tried to deploy jboss-messaging-client.jar with our application. This causes class loader voilation loader constraints violated when linking org/jboss/remoting/InvokerLocator Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029284#4029284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Exiting on IOE java.net.SocketException: socket closed
This is an old topic, but since there is not much information about this issue, it could be useful ... I had the same problem when I tried to get the connection factory from JNDI "/ConnectionFactory". The code works fine, messages can be sent and received sucessfully, but generating a lot of server.log entries... I did the same thing sucessfully when I changed the connection factory to "/QueueConnectionFactory". ConnectionFactory = (ConnectionFactory)ic.lookup("/QueueConnectionFactory"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029286#4029286 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029286 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM 3.1.4 tutorial examples not working in JBPM 3.2b2?
In case your problem is still unsolved: I think you have to define in your jbpm.cfg.xml, for the jbpm-context you have defined. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029287#4029287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM 3.1.4 tutorial examples not working in JBPM 3.2b2?
In case your problem is still unsolved: I think you have to definein your jbpm.cfg.xml, for the jbpm-context you have defined. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029288#4029288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Dev discussions?
Is there where Dev discussions live? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029290#4029290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to edit the JBoss login page heading
One was useless. I just deleted it, thanks ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029292#4029292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Naming a database
Look at the connection url in your -ds.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029293#4029293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.RuntimeException: Could not create Component:
i left this but it does not working yet :( | @Stateless | @Name("authenticator") | public class AuthenticatorAction implements Authenticator{ | |public boolean authenticate() { | return true; | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029294#4029294 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: problem when attribute UseReplQueue is true...
First af all, thanks for your reply... However, tha exception is thrown before my application is being deployed. And to tell the true, I am not sure who I can test if Fqn is serializable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029295#4029295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to build 3.2-ga from source?
I'm missing the pom.xml-file from the 3.2-ga distribution. Do I have to download a "special" source-distribution to build jBpm from source? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029296#4029296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Page parameters are injected in the wrong phase.
One of the advantages of page parameters for me was that you don't needed the tomahawk UISaveState component to pass parameters from one page to another, or to save state on a single page. However due to a recent -what at first sight seems to be a bug fix- change in the code base, this doesn't hold true anymore. Upon a postback, page parameters aren't injected until Update Model Values phase, this means that they aren't available in Process Validations (before the change, page parameters were injected before Apply Request Values phase, change commited 18/03/07, SeamPhaseListener, line 59). I used to pass entity id's via page parameters, however, the id's are necessary in the Process Validations phase: JSF evaluates a ValueExpression on an EditableValueHolder in the Process Validations phase to determine whether to queue a ValueChangeEvent or not. So in my opinion, page parameters need to be injected earlier than just before Update Model Values. Thoughts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029297#4029297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.RuntimeException: Could not create Component:
here is my complate component.xml file. is tehre anything wrong ? | | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:drools="http://jboss.com/products/seam/drools"; | xmlns:framework="http://jboss.com/products/seam/framework"; | xmlns:security="http://jboss.com/products/seam/security"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:selectitems="http://jboss.com/products/seam/selectitems"; | xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd | http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd | http://jboss.com/products/seam/framework http://jboss.com/products/seam/framework-1.1.xsd | http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.1.xsd | http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd | http://jboss.com/products/seam/selectitems http://wiki.jboss.org/wiki/attach?page=SeamSelectItemsNewDesign%2Fselectitems-1.1.xsd";> | | | | | | | | | | messages | | | | | | | | | /security.drl | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029300#4029300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - how to change the url of jboss portal
hi, In order to access the Jboss portal, we are typing http://domain.com/portal. I want to rename the word portal to some other name of my interest. Can anybody please let me know where can i configure this. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029301#4029301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.RuntimeException: Could not create Component:
"grdzeli_kaci" wrote : it does not working yet :( ...errr, well, then I'd think it's about time you finally respond to > No nested exceptions that tell you a bit more? or > again: aren't there some nested exceptions that tell you a bit more? In other words: more details needed, for example starting with the whole error message, which (for example) might indicate there's multiple components with the same name and precedence. Your "Could not create Component" is not helping a lot. (and what is the "implements Authenticator" referring to?) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029299#4029299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Jboss portlet instance security module not working
I am using Jboss Portal 2.6 Beta1 and I found in the admin page if I try to assign security for portlet instances no submit button is shown, simply check boxes with different roles are shown up and nothing else. How can I submit the security changes on portlet instances using that screen. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029302#4029302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to Inject app properties to bean transient method
That's not exacly i want to... look: My Entity Bean looks like this: private int howOld; private boolean sex; | @Transient | public String getPersonName() { | | if(sex) { |switch(howOld) { | case(20) : | //And here i want to get some text from app properties like example: | messages.get('sex.youngMane'); <-here i want to Inject some string | break: | . |} | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029303#4029303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to change the url of jboss portal
Did you change the web-app context or portal-server.war as stated in the documentation ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029306#4029306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EntityManager Question
Hi, I found EntityManager declaration in SeamSpace example in components.xml, and i'm not sure, is: | | java:/expertEntityManagerFactory | | is this equal to: | @PersistenceContext(type=EXTENDED) | EntityManager em; | ?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029307#4029307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Merge question
Hi everybody, may be simple question, but anyway: I have "1 to n" relationship between A and B objects. I get ma A from EntityManager, I call getBs() which give me a Collection of Bs. Now I remove one B from Collection (iterator.remove()) and call merge on A. I would like to see that B I have removed in code will be deleted from DB. Is this right or completely wrong? Thanks a lot Dalibor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029308#4029308 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - how to use the last versions of JbossWS in JbossIDE instead
Hello, as I developed for Jboss4.0.5 a web service, I want to use JBossIDE but Axis seems to be used.as in Windows/Preferences/Server&Runtime, Axis is selected. What is the reaseon of the problem? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029310#4029310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss portlet instance security module not working
Don't you have 'update' and 'cancel' buttons ? On which browser are you testing it ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029313#4029313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: jboss asynchronous cache replication - when it's finishe
I tried adding listener (TreeCacheListener) to cache B (TreeCache). It notified me only about view change and node visited event . None of rest events was raised from this listener. I tried this as well with async as sync mode and it worked with none of them. When I added listener to A cache it raised one more event (node created). To clarify the problem I am particular interested in catching node loaded event at cache B. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029315#4029315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss portlet instance security module not working
Ok, sorry i see that now... Fixing it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029316#4029316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - mime type problem
I have a servlet that generates a pdf file, and returns it inline to be displayed by the browser: res.setContentType("application/pdf"); res.setHeader("Content-disposition", "inline; filename=arajanlat.pdf"); bos = new BufferedOutputStream(out); // Simple read/write loop sends the bytes Sometimes the browser brings up the Adobe Reader plugin, but more frequently it displays a Save As window, saying the mime type is application/octet-stream. It used to work all the time in standalone Tomcat. The server-wide web.xml contains the pdf mime type. Can you give me a hint? Another question: even if the plugin shows, if I want to save the pdf, the offered filename will be the servlets path, not the filename I specified above. Is there a solution for this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029317#4029317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Invalidate cache for an Entity Bean?
You'll have better luck posting on the EJB forum. The JBoss Cache project isn't used in EJB2 entity caching. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029318#4029318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: using a JBPM timer
"kukeltje" wrote : 1: look at the testcases in the source. Lots of info there | 2: yes, place an action on the transition or the 'leave node' event | 3: I'm not sure. best if you try. But even if it does, you could always use the in-memory hsqldb. No 'real' persistence then. Thanks! This is probably a dumb question, but where are the testcases you are referring to? Does JBPM ship with its own JUnit tests? If so, where are they located? Also, just a clarification about persistence. I'm asking whether the Timer (and scheduler service) require the JBPM db tables (as defined by Hibernate mapping files). In my case, I trying to avoid using Oracle or HSQL dbs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029319#4029319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to change the url of jboss portal
Thanks, I didnt checked that, now I did and it is working. But some images which i added in my CMS portlet are not shown up and again i have to add them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029320#4029320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: mime type problem
One more thing: it comes through an Apache server with mod_jk, if it matters, but actually the only change I made was replacing Tomcat with JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029321#4029321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Role Portlet is not working in 2.6 Beta 1
In Jboss Portal 2.6 Beta 1, when I choose "Add New Role" from the role portlet it is throwing me a broken pipe exception. Is this a bug or an error in my setup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029322#4029322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - DataModel
How can i implement the delete function of a element that contains by herst_bearb in a list, there are support by Framework ? | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029323#4029323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with jbpm-3.2.Beta2
I have tried in jBPM 3.2.GA, and i have received the same exception. The process goes to process instances, but when i try to view the process instace task, i get the error message. In Beta1 works everything fine, the problems cames first with Beta2. How could I check, that you said?:anonymous wrote : | could it be the server is trying to retrieve an xsd from an external location and it is not allowed to do that? | It's freaky, that I get an error message, when i use an original jbpm pack, what i didn't modified and many of my friends use the same pack without errors. Thank You! Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029326#4029326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBpm-error in startup
hi, i have downloaded jbpm-jpdl-suite-3.2.GA(Starter Kit). After starting the server if i give http://localhost:8080/jbpm it showing the following error in IE HTTP Status 404 - /jbpm type Status report message /jbpm description The requested resource (/jbpm) is not available. Apache Tomcat/5.5.17 And In server prompt its showing the following at the end as -->18:42:05,546 DEBUG [Services] closing service 'tx': [EMAIL PROTECTED] b View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029328#4029328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectManyMenu and EntityHome
You are correct, and I did use a selectManyMenu, I mistakenly posted the code, containing a selectOneMenu. Nevertheless, the problem is that the tag is having a problem with the "states" collection referenced by companyHome.instance.states, it appears to want an Array but, seam-gen produced a Set. I tried converting the Set to an Array and it still didn't work. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029329#4029329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Conversation and Tree+Tab Layout with @End
hello, I`m in the same situation. I`m using tree2 from Tomahawk and the tree is all time visible on the page, so the user can click any node. The conversation will not be finished and must timeout. My conversation timeout is 2 minutes. My session timeout is 10 hours and my SFSB timeout is 10 hours + some minutes. This actually works pretty well and I`m able to continue using my webapp after 9 hours sleep (tested) without re-login or any problems. A RichFaces tree example would be great. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029330#4029330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Validation Error
Can I use a validator on the EJB 3.0 for example @Length(max=16) without using the @NotNull validator? This must only check when data is available but for certain reasons it's not working unless I add the @NotNull validator as well. Can anybody assist in this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029332#4029332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectManyMenu and EntityHome
No. It looks like it could be an icefaces problem to me - I've never tried a Set in that situation, but a List is fine (see the ui example) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029333#4029333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to Inject app properties to bean transient method
| | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029334#4029334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EntityManager Question
Nope. A Seam managed peristence context is conversation scoped, an Extended PC isn't. RTM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029335#4029335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: how to run my servlets projects in jboss
I assume you packaged your app in a war file. Copy the war file to the server/default/deploy directory. Then, if you war file's name is xxx.war, access the app in your browser as http://localhost:8080/xxx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029324#4029324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to change the url of jboss portal
Weird. Did you use absolute links ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029337#4029337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.RuntimeException: Could not create Component:
hi avbentem, i con't find any nesten exception. here is complate stack trace : | 05:54:38,369 ERROR [[/MagticomBilling]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.RuntimeException: Could not create Component: authenticator | at org.jboss.seam.init.Initialization.addComponent(Initialization.java:833) | at org.jboss.seam.init.Initialization.addComponents(Initialization.java:715) | at org.jboss.seam.init.Initialization.init(Initialization.java:478) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) | at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy49.start(Unknown Source) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) | at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.i
[jboss-user] [JBoss Portal] - Re: Role Portlet is not working in 2.6 Beta 1
This has been fixed in the meantime. Thanks for the bug reports View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029340#4029340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss portlet instance security module not working
Fixed, thanks ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029341#4029341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Stale Connection issue in Clustering
Hello, I am using JBoss-4.0.3-SP1. I am using oracle thin driver to connect to my oracle database. My oracle database is running on a cluster enviroment and therefore when there is a ip failover the oracle also switches nodes. When connecting to the oracle database i am using the Cluster IP address and there is a listerner which connects to the oracle on the node which is active. But during this when there is node switch then the tcp connections are broken. When i am trying get a database connection using my datasource i am always getting an error that the oracle is not responding but actually it has switched nodes. I would like to know whether the concept of stale connection is supported in JBoss-4.0.3-sp1 if so what should i being doing to use that functionality. Any help is very welcome. Thanks in advance Subramaniam V View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029345#4029345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Stale Connection issue in Clustering
This i certainly not a JBoss clustering issue...but...the last time I used oracle in that mode, you had to use the Type 2 Driver. Hope this helps. Think of it this way. One of these has to be true. 1)Type 4- The IP of the database never changes even after Oracle's failover occurs. 2)Type 2 - The Oracle SID never changes (which it doesnt, but the Oracle CLI driver handles pointing the SID to the new IP address after Oracle fails). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029347#4029347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamRemoting Spring DelegatingVariableResolver
Thanks for working through this and providing a solution. What "strange errors" were you getting when you bean was not marked as lazy? Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029348#4029348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Bundle jars within EAR?
I don't know if this is related to your issues, but recently I had an issue with using /lib inside my ear/sar/jar files as JBoss was trying to load everything from the "master" lib directory for the app server. I moved all my libraries into the root and adjusted my deployment descriptors accordingly and my issues went away. Maybe worth a try for you. I don't know if this is a bug (sounds like one) or not. HTH, gary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029349#4029349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Setting transaction timeout for onMessage()?
Hi! I'm using JBoss AS 4.0.5 in EJB3 mode. I'd like to set the transaction timeout for one MDB's onMessage() method. Currently I have this: @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) @TransactionTimeout(1200) public void onMessage(Message message) { ... } Unforturnately REQUIRES_NEW creates a new transaction (with the given timeout), but the already-active transaction still times out after the default 5 minutes. When the already-active transaction times out, the message queue thinks that we couldn't handle this message, and the message (which we've handled just fine inside the new transaction) ends up in the DLQ. What do I need to do to get a longer transaction for this particular onMessage() method? Without changing the default for the whole JBoss installation? Regards //Johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029350#4029350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Exception: Closed JbpmContext in different order
hi rafatron, i think the JbpmContext is created and closed by the JbpmContextFilter, configured in web.xml. good luck! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029351#4029351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - can not catch exception
Hi everyone, I am trying to handle the situation when session is expired and user make an attempt to navigate to some other page within the same application. I tried to follow documentation and examples (defined exception in exceptions.xml, added seam filter in web.xml,...) but apparently still doing something wrong as every time I try to navigate to other page when session is expired I am getting ?An Error Occurred:? generated by Facelets page. I am running patched seam1.2.0. Here is the exception which I am getting: SEVERE: Error Rendering View[/customers.xhtml] javax.faces.el.EvaluationException: /customers.xhtml @60,69 value="#{userSearch.pageSize}": Exception getting value of property pageSize of base of type : com.gg.mv.ui.interfaces.UserSearching$$EnhancerByCGLIB$$ed819530 at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) at javax.faces.component.UIOutput.getValue(UIOutput.java:77) at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.getSubmittedOrSelectedValuesAsSet(HtmlRendererUtils.java:320) at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.internalRenderSelect(HtmlRendererUtils.java:296) at org.apache.myfaces.shared_impl.renderkit.html.HtmlRendererUtils.renderMenu(HtmlRendererUtils.java:252) at org.apache.myfaces.shared_impl.renderkit.html.HtmlMenuRendererBase.encodeEnd(HtmlMenuRendererBase.java:54) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554) at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101) at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:197) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:67) at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:223) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngin