[jboss-user] [Management, JMX/JBoss] - Re: JBossSNMPAdapter notifications.xml documentation
Hello, have a look at the appserver documentation at http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch10.html#ch10.snmp I'v fixed the XSD-link btw. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976798#3976798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - JBoss server can't be connected to from other machines besid
Really annoying problem. Whenever I run my server from the JBoss Eclipse IDE the only time I can view it is from the localhost (typing in "http://localhost:8080/blah/blah"; in the browser). Whenever I try to access it from another computer ("http://ip:8080/blah/blah";) it always timesout. Anyways I know the problem has to be something with running it in the JBoss Eclipse IDE because when I run the servers run.bat I can access the jboss main page (http://ip:8080) from any computer. I have tried using servers 4.0.3 and 4.0.4 and I have tried JBoss Eclipse IDE 1.5 and 2.0. All give me the same problem. Any suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976797#3976797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: jboss.ejb:service=EJBDeployer
Deployers are there to deploy specific kinds of services, not necessarily related to MBeans. Most of them are surely documented at the JBoss documentation page at http://labs.jboss.com/portal/jbossas/docs. XMBeans are a special JBossian implementation of Dynamic MBeans. XMBeans always have a special XMBean-Descriptor, which can be inline in the MBean desciptor or in a separate file. Example: | | With the additional attribute of xmbean-dd being present denominates the MBean as XMBean. As its value is not empty, the Descriptor is in the URL pointed to by the value. If it were empty, the XMBean-DD would be inline. -- Heiko W. Rupp <[EMAIL PROTECTED]> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976796#3976796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: First JBoss Seam book released
I have been a proud owner for a week (no, I couldn't put it down and yes, I finished it). I can't wait for the hard copy with new "nuggets." Thanks Tom (,Michael and Gavin). All I can say is "This changes everything." View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976795#3976795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: In attribute requires value for component: selectItems.s
Here is the startup log once a deploy the sweetcakes.war | 13:46:05,311 INFO [TomcatDeployer] undeploy, ctxPath=/sweetcakes, warUrl=.../tmp/deploy/tmp64780sweetcakes-exp.war/ | 13:46:05,323 INFO [SelectItems] destroyed | 13:46:05,384 INFO [SessionFactoryImpl] closing | 13:46:05,385 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: java:/sweetCakesDatabase | 13:46:05,386 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 13:46:05,388 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: java:/sweetCakesDatabase | 13:46:06,173 INFO [TomcatDeployer] deploy, ctxPath=/sweetcakes, warUrl=.../tmp/deploy/tmp64781sweetcakes-exp.war/ | 13:46:07,464 INFO [ServletContextListener] Welcome to Seam 1.0.1.GA | 13:46:07,523 INFO [Initialization] reading components.xml | 13:46:07,723 INFO [Initialization] reading properties from: /seam.properties | 13:46:07,737 INFO [Initialization] reading properties from: /jndi.properties | 13:46:07,749 INFO [Initialization] initializing Seam | 13:46:08,364 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | 13:46:08,483 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages | 13:46:08,557 INFO [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events | 13:46:08,609 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager | 13:46:08,666 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher | 13:46:08,717 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect | 13:46:08,941 INFO [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError | 13:46:08,963 INFO [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal | 13:46:08,981 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole | 13:46:08,994 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation | 13:46:09,046 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList | 13:46:09,110 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack | 13:46:09,124 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext | 13:46:09,152 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext | 13:46:09,164 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext | 13:46:09,177 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext | 13:46:09,185 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext | 13:46:09,196 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext | 13:46:09,205 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext | 13:46:09,257 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext | 13:46:09,276 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale | 13:46:09,285 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages | 13:46:09,297 INFO [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator | 13:46:09,310 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages | 13:46:09,381 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle | 13:46:09,397 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector | 13:46:09,421 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent | 13:46:09,436 INFO [Component] Component: org.jboss.seam.remoting.mes
[jboss-user] [EJB 3.0] - Re: Problem in lookup EJB3.0 using JBOSS4.0.4
http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss%3Aservice%3DJNDIView There's the JNDI viewer url. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976793#3976793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: jboss.ejb:service=EJBDeployer
Thanks for pointing me to that MBean. I have a general question about the MBeans that come standard with JBoss: How is one to know which MBean does what? Is there some kind of documentation that says what the important MBeans are and what their operations do (such as MainDeployer that you pointed me to)? Or are we just supposed to figure them out one by one as the need arises? I would imagine (and hope) that there's documentation around this somewhere...am I right or wrong on this? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976792#3976792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem in lookup EJB3.0 using JBOSS4.0.4
I'm not sure of the way to get to it off hand, but you need to use the JNDI browser to confirm the name of the resource. I'll post back later when I figure out the url, but my guess is that you need to prefix the name of your ear in the lookup, e.g. lookup("earname/Resource/local").. that's where JBoss seems to put things. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976791#3976791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: First JBoss Seam book released
Check here: http://www.michaelyuan.com/blog/seam-next-gen-web-framework/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976790#3976790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Both binary and source downloads fails to get deployed
Hello Jbossians, Can somebody there help me out in this issue ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976789#3976789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Both binary and source downloads fails to get deployed
Hello Jbossians, Can somebody there help me out with this issue ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976788#3976788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB QL remove character
I need a functional expression which removes all chars from a String. How to do it without using Native Query? Jerzy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976787#3976787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: In attribute requires value for component: selectItems.s
Show the *whole* startup log of the application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976786#3976786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: First JBoss Seam book released
I have purchased the book and downloaded the pdf but how do I get the corresponding code? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976785#3976785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Access SFSB from another SFSB using Injection...
Thanks. All I needed to see was: anonymous wrote : | 1) Ask attendanceEditor for a new attendance record | And that did it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976784#3976784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to disable i18n ?
You're going to want to tune the cms service and set french as the default, by modifying the DefaultLocale setting in the service descriptor: http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html/cmsPortlet.html#d0e4075 | en | Set it to 'fr'. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976783#3976783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Some Issues with clustering on JBoss 4.0.4 and EJB stub
The cause is simple; support for XML configuration of clustering was added in EJB3 RC9 (see http://jira.jboss.com/jira/browse/EJBTHREE-569), which is after the EJB3 release included with 4.0.4.GA. You'd need to upgrade your EJB3 release. Sorry for not knowing this :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976781#3976781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Partition name for clustered EJB3 SLSB
OK, my ignorance is revealed. XML override of the clustering configuration will not work in 4.0.4.GA; you'd need to upgrade the EJB3 implementation to EJB3 RC9, where support for xml override was added -- see http://jira.jboss.com/jira/browse/EJBTHREE-569[/url] . Sorry for not knowing this earlier. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976780#3976780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: load-balance-policy tag in jboss.xml not working
With 4.0.4.GA it won't work; seems the xml override of the clustering config was not added until EBJ3 RC9 -- see http://jira.jboss.com/jira/browse/EJBTHREE-569 . I'm surprised 4.0.4.GA + EJB3 RC9 didn't work; I tested overriding the load balance policy for a SLSB and using an SFSB cluster-configured solely from xml (no annotation); in both cases they worked fine. An SLSB w/o annotations would use the exact same code path. I haven't tried w/ 4.0.5.RC1, although I have with the latest Branch_4_0 code from CVS, where it worked. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976779#3976779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How to disable i18n ?
I've done quite a bunch of multilingual portal projects, not all of them in Java technology, but I have a particular problem here. I'm setting up the new version of a dynamic site that extracts quite a bunch of textual content from a database. This content is not available in any other language than French and the site is targeted to French-speaking users. Now the default language of the portal is English even on a server that has FR as default language. The site (JBP 2.4) has CMS content in French and no content in English. So basically when someone connects to the site with a browser configured to request content in another language than French he/she get quite a bunch of 404 error portlets. I would like to be able to enforce the portal to deliver content in FR or at least have FR as default for unauthentified users. Is this strange behaviour related to the following error message I get at startup ? 2006-10-07 20:13:27,406 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 2006-10-07 20:13:27,578 ERROR [org.apache.myfaces.util.LocaleUtils] Locale name null or empty, ignoring | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976769#3976769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976769 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: jboss.ejb:service=EJBDeployer
Look at mbean jboss.system:service=MainDeployer. It has a listDeployed method. In jmx-console, if you click Invoke on that method you get back a lot of information. Of each comma-separated entry, the 'watch' attribute indentifies the file, and the 'mbeans' attribute lists the mbeans (if any). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976777#3976777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: In attribute requires value for component: selectItems.s
Either way I still get the same error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976764#3976764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: JBossSNMPAdapter notifications.xml documentation
Just wanted to add that I have read this already: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSNMPAdapterNotifications Would like more detailed info. The xsd link doesn't seem to work. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976763#3976763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: In attribute requires value for component: selectItems.s
I'm running JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976762#3976762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: load-balance-policy tag in jboss.xml not working
I got this results with following versions: 1) 4.0.4.GA 2) 4.0.4.GA + EJB3 RC9 3) 4.0.5.CR1 Regards, PM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976760#3976760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Is jbpm-bpel compatible with jbpm applications?
Hi, I have been using jbpm for quite sometime now. I have even extended jPDL to include a lot of custom constructs basically jbpm enabled user to develop a richer language when the need arises. Cool wf engine you guys have here :) I need to use the BPEL constructs in my process for a usecase where my process calls an external system and my process has to wait till it is intimated by the external system about the result. BPEL has inbuilt support for this type of interaction so I am looking to use jbpm-bpel and I have tried the examples given along with the jbpm-bpel release. I have a few queries regarding jbpm-bpel :- 1) Can I mix jbpm constructs with BPEL constructs (I am not bothered about interoperability with other wf engines)?. I think we can't do this but I just want some confirmation on this since I can't find any documentation about this? 2) Can I use both jbpm and BPEL processes in the same application (sharing the same db)?. It seems that the bpel constructs are internally converted to jbpm constructs and store is the db. 3) For the usecase that I want, if I can't mix both jbpm and bpel constructs in one process, can I, from a jbpm process, call a bpel subprocess and achieve the same things? 4) I want to use jbpm-bpel in a tomcat/jetty env and want to know what are the basic infrastructure/dependencies required to run jbpm-bpel. I saw reference to jms in the source code, so I am assuming it needs jms. How do I make it run in a tomcat/jetty env?. Has anyone tried this before?. Cheerio, Vineeth. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976759#3976759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Exception in the Lookup Operation
Sorry for the HTML code...the text field is named "inizio"Thanks again!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976758#3976758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Exception in the Lookup Operation
Hi everybody! I'm new at JBoss so I'm created a simply web application to begin, but I've encountered a strange Exception: javax.servlet.ServletException: Lookup of java:/comp/env/ failed -- java.lang.ClassCastException saluti.web.HolaServlet.init(HolaServlet.java:49) org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) java.lang.Thread.run(Unknown Source) My application asks for a sentence and display it on the screen with some changes. Here is the code. HOLABEAN.JAVA: package saluti.ejb; import java.rmi.RemoteException; import javax.ejb.EJBException; import javax.ejb.SessionBean; import javax.ejb.SessionContext; import javax.ejb.CreateException; /** * @ejb.bean name="Hola" * display-name="Name for Hola" * description="Description for Hola" * jndi-name="ejb/Hola" * type="Stateless" * view-type="remote" */ public class HolaBean implements SessionBean { public HolaBean() { super(); // TODO Auto-generated constructor stub } public void setSessionContext(SessionContext ctx) throws EJBException, RemoteException { // TODO Auto-generated method stub } public void ejbRemove() throws EJBException, RemoteException { // TODO Auto-generated method stub } public void ejbActivate() throws EJBException, RemoteException { // TODO Auto-generated method stub } public void ejbPassivate() throws EJBException, RemoteException { // TODO Auto-generated method stub } /** * Default create method * * @throws CreateException * @ejb.create-method */ public void ejbCreate() throws CreateException { // TODO Auto-generated method stub } /** * Business method * @ejb.interface-method view-type = "remote" */ public String passer(String fraseInit) { fraseInit=fraseInit+" + 'Never give up!!'"; return fraseInit; } } HOLASERVLET.JAVA: package saluti.web; import javax.servlet.http.HttpServlet; import javax.servlet.ServletException; import javax.servlet.ServletConfig; import java.io.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import saluti.interfaces.*; import javax.rmi.*; import java.util.*; import javax.naming.*; /** * * @web.servlet name="Hola" * display-name="Hola Servlet" * description="It's change the sentence" * @web.servlet-mapping url-pattern="/Hola" * * @web.ejb-ref * name="ejb/Hola" * type="Session" * home="saluti.interfaces.HolaHome" * remote="saluti.interfaces.Hola" * description="Reference to the Hola EJB" * * @jboss.ejb-ref-jndi * ref-name="ejb/Hola" * ndi-name="ejb/Hola" * */ public class HolaServlet extends HttpServlet { private HolaHome home; public HolaServlet() { super(); // TODO Auto-generated constructor stub } public void init(ServletConfig config) throws ServletException { try { Context context = new InitialContext(); Object ref = context.lookup("java:/comp/env/ejb/Hola"); home = (HolaHome) PortableRemoteObject.narrow(ref, HolaHome.class); } catch (Exception e) { throw new ServletException("Lookup of java:/comp/env/ failed -- "+e); } } protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println(""); o
[jboss-user] [JBoss Seam] - Re: Any experiences with the Tomahawk components?
Well, there are many useful Tomahawk components that I do not want to miss anymore (e.g. t:inputFileUpload or t:column). But there are even many sloppy components or code parts. E.g. the schedule component supports a lot of custom style classes (as per API) but the corresponding attributes are not implemented (and thus ignored)!!! The shuttle selectmanymenu is very nice, too, but there are no headlines (so which box represents the selected items and which one the non-selected ones?). And the best is the UploadedFile class: getName() used to return the filename, but in the newest release this method returns the filename PLUS the local path in front. You update your jars and BANG your app doesn't work anymore as expected. *imagine some insulting words targeted at the Tomahawk developers responsible for those cardinal errors here >:D* The idea of components is a huge strength but also a weakness of the JSF technology. There are many good components you can easily apply in your app and that save you lot of time, but there's also very much rubbish out there that can drive you crazy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976756#3976756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Lost datasource
actually i'm facing the same problem. has anyone a solution? i even bought a jboss book today. tried the sample from it and guess what, i didn't worked... (i'am using jboss 4.0.4 with ejb3 container). with org.jboss.security.auth.spi.UsersRolesLoginModule it is working fine, but this is not solution for me. has anyone a solution for that problem with the DataBaseServerLoginModule? Any help is appreciated. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976755#3976755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Caused by: java.lang.IllegalStateException: Engine is nu
It's still not resolved yet. Any solutions will be very much appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976753#3976753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam with Jbpm - Operation not allowed.
Cool, we'll wait for that, I'll continue to track this post, thanks a lot Gavin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976754#3976754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: configuring DLQ issues
myabe my question should be 'does the jms consumer need to be a mdb for the dlq functionality to work'? this doesn't make much sense to me as that would limit the use of configuring a DLQ but thought i may ask it does my jms code need to do something special for the DLQ to be used? my code currently doesn't do much other than throw an exception when the process has failed. btw kungFOO = brooney :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976751#3976751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Deploying web services in a sar file
This is exactly why I have to use .sar file, instead of .war. But does this mean that I have to change the deployment descriptors? I have web services, along with struts in this package. The struts app works as before, but the web services aren't. Any hints? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976735#3976735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - insert images into portal-server.war/login.jsp
I have placed images in images folder in portal-server.war/images. i am accessing the images in login.jsp using img tag. but the images are not displayed in login.jsp please help thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976734#3976734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Can't get access right from Java Client
Up View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976733#3976733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Newbie Need Help :)
No worry of the previous post I just solved it my self. I just erased the file hsqldb-jdbc2-service.xml.. I dont know why :) maybe it conflicts with mysql-ds.xml i just dont know. :) Anyway just solve it..however they say that if you solve one problem another problem will arise.. sounds true.. well i have this error below. --MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM -- | Object name: jboss.jca:service=DataSourceBinding,name =DefaultDS |State: NOTYETINSTALLED |Depends on me: |jboss.ejb:service=EJBTimerService,persistencePolicy-database |jboss.mq:service=StateManager |jboss.mq:service=PersistenceManager Hope some one can help thanks :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976732#3976732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976732 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?
Have a look at the documentation please : - http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#configurationofdelegations for a discussion on the configuration options of handlers. - http://docs.jboss.com/jbpm/v3/userguide/taskmanagement.html#assignment for the pooled actors/assignments. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976731#3976731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976731 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user