[JBoss-user] [Installation, Configuration Deployment] - Tomcat NPE on jboss startup 4.03.SP1
Getting occasional NPE immediately after jboss startup, any idea what's causing this ? 2006-04-03 08:56:02,687 INFO {main} [org.jboss.system.server.Server] (ServerImpl.java:475) JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in 7m:6s:516ms 2006-04-03 08:56:02,734 WARN {http-8443-Processor4} [org.apache.commons.modeler.Registry] (Registry.java:724) No metadata found for org.apache.coyote.RequestInfo 2006-04-03 08:56:02,734 WARN {http-8442-Processor4} [org.apache.commons.modeler.Registry] (Registry.java:724) No metadata found for org.apache.coyote.RequestInfo 2006-04-03 08:56:02,765 ERROR {http-8443-Processor4} [org.apache.commons.modeler.Registry] (Registry.java:873) Error registering jboss.web:name=HttpRequest0,type=RequestProcessor,worker=http-8443 java.lang.NullPointerException at org.apache.commons.modeler.Registry.registerComponent(Registry.java:862) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.init(Http11Protocol.java:709) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.getInitData(LeaderFollowerWorkerThread.java:48) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:673) at java.lang.Thread.run(Thread.java:534) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954869#3954869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954869 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Hibernate Exception When Deleting OneToMany EJB3 Entity
Hi Michael, Sorry for coming back so late. The re-persisting of the kid when you try to delete it makes me think you have a cascade-type.all or, in any case, a cascade-type that includes persist. Make the cascade-type from parent to kid merge and remove only and from the kid to parent merge only (you should not really need it here) and see what happens. I had the same problem and this solved it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954870#3954870 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954870 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse 3.2RC7 + JBossIDE 1.6.0 GA - xdoclet problems
I tried this but can can get create an EJB 3 project as it won't let me select a JBOSS configuration. If I create a JBOSS server in the dialog, I can do it but the 'finish' button is greyed. In the Eclipse create, manage and run configurations there are no JBOSS entries, just generic server. Has anbody got this to work with Eclipse 3.2? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954871#3954871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954871 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - APJ and out.flush()
I successful install apache 2.0.55 as loadbalance using APJ in a cluster jboss environment (4.0.4) But now I have a little strange behaviour: I have a jsp that execute some out.println statement and every time execute also a flush... usually (without apache) using this code i can see my html response page that is updated every time the flush statement is executed... intead using apache to forward request to jboss/tomcat, the output is flushed only at the end... and not every req Maybe i need to do some configuration changes? Any Idea? Thank You Roberto View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954872#3954872 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954872 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: 'edit' object through datatable page
Hey, back to this, if someone is interested, I found two options (as directed by Gavin) 1) using factory method for outjecting the selected entity, but since I already have too much factory methods I passed away 2) outjecting the selected object by handling the ID of the selected object as a parameter: 1) in the datatable list, add an 'f:param tag, specifying the ID of the entity 2) add under META-INF/pages.xml file the view-id of the page related for editing/handling the selected entity with an action on a bean to outject the selected entity by using '@RequestParameter(paramName') The 'blog' sample works with an MVC style and makes a usage of pages.xml and parameters, so you can take a look at it. Cheers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954873#3954873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954873 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Form a page to another: un-solvable scenario?
Hi all. First of all i want to thanks for you replies. Now...i don't want to create a controversy..i'm trying only to understand. anonymous wrote : Also you don't know how many pages portal has, or how many portlets on the page, etc. I'm not agree with this; infact it's real that i creat portlets but i creat the full portal too so i know how many pages there are and how many portlet in a page there are. anonymous wrote : | Imagine that portal is your windows, and your portlet is running Excel. When you are working on your Excel file you do it within your boundaries (application window). You can open many excel files, change view, etc. but again it is inside of the window. | Now you are asking - Can I focus on WordPerfect window from my excel book? | And answer is no, because you don't have WordPerfect window opened and you don't even have it installed. | Let's pass to word example (Excel is not my best :-) ).I imagine, instead, that the portal is the Word software, while my portelt is a word document tha can contain several page; now in word when i use an hypertextual link i can go from a page to another page...well what i want is to obtain this thing. I'll try to be clearer... i must start from my home page; in my home page i have three columns where on the left there are two or more portlets (a menu portlet where the user can choose tha page where he wants to go) and a search motor portelts by using that user can search in the portal. In the central column i have some other portlets between them there a my portlet that shows a list of news. On the rigth column i have some other portlets. Now when the user chooses to see a news detail it's not too nice to show the detail into a thre columns page..so i'ld like to change page and show a two columns page where on the left there are still the menu portlet and the search motor portlet (and the user can still use them and by using the menu portlet can choose anothe portal section while by using the search motor can do a search...), in the central column there is only only my one portlet that shows news detail instead of news list; all the other portlets must be no longer present. In this way i can build my detail page by using more space in the page and by showing all the images i want without to be worried about the rigth column and its portlets I hope to have been clearer...i'm sorry for my bad english.. I think this is the most common scenario...at least i have seen the most internet portals built in this way. I can undertand that to pass a request parameter from a page to another can be difficult and can create confusion (let's image there are two portlets that use the same name for the parameter:-) ) but this can be solved by creating the URL by saying what is the portlet that must use this parameter. I repeat i don't want to offend or create controversy :-) I'm only trying to understand how i can solve this problemi think that a lot of people have been in this case; if it's not so...i think they'll be :-). Thanks to all. Angelo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954874#3954874 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954874 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - @RolesAllowed not working in EJB3
All session bean implementations have the required @SecurityDomain(theDomain) annotation. What does not work is that once somebody has logged in, he can call any session bean method, even those calling for a role he is not in. This is in JBoss 4.0.3. This has worked fine before in EJB 2.1. My login code and login-config.xml are all still the same. Any idea what is going on? I did look at the EJB3 tutorial, again. Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954875#3954875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954875 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem displaying pages in UTF-8
Yes, it works with the latest facelets jars! Thank you all. Cheers, Tomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954876#3954876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954876 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Local and Remote interfaces - Do I really have to create two
Hi, I'm new to EJB3, so I'm probably missing something but here it goes... I developed a very simple slsb to manage Employees. Following the book I'm reading I created the business interface and implemented it from within the sb. So far so good. I'm studying EE 5 because I want to introduce the passage to EJB3 in the company I work for. So it happens that our architecture has got Apache HTTP/Tomcat on a front-end box and Jboss running on another box shielded from the outside world, and the front-end talks to the backend through Business Delegates. This means that our applications can use two types of interfaces: local (B2B) and remote (User interfaces). I declared the interface with the @Remote annotation to make it available remotely, but I would have expected that I could use the same business interface both locally and remotely. Unfortunately, when I declared by slsb as follows: | @Stateless | @Local({HelloService.class}) | @LocalBinding(jndiBinding=uk_co_jemos_ejb3.sessions_EmployeeServiceLocal) | @Remote({HelloService.class}) | @RemoteBinding(clientBindUrl=socket://192.168.2.3:4173/, jndiBinding=uk_co_jemos_ejb3.sessions_EmployeeService) | public class EmployeeServiceImpl implements EmployeeService { | | ...etc | and I performed a remote lookup with the PortableRemoteObject.narrow I got a ClassCastException. This in my opinion happened because the JNDI resolved the same name to two different types: one was the pure, local interface, the other a stub of the interface. When I removed the local declarations, everything worked fine. The conclusion I get from the above is that I have to declare two interfaces (which do exactly the same thing) for local and remote access. Please tell me that's not true. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954877#3954877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954877 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0
Thanx! I was worried for a second since it was not present in the 4.0.4 all release, but I found it in the ejb3 release... I hope it works on jboss-4.0.3SP1 all... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954878#3954878 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954878 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Local and Remote interfaces - Do I really have to create
I do apologize. There was evidently an error in the interface declaration which lead to ClassCastException. An evident blunder. Could this post please be garbage collected? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954879#3954879 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954879 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Localization in Tomcat
I'm developing an application in JBoss 4.0x with Tomcat embbedded in it. I use JSTL and fmt: TAG. I would format currency field, but currency symbol is not EURO ?, but the smbol is ?. How can I set up localization in JBoss for my war application? Thanks ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954880#3954880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954880 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Security Framework w/Seam
Yes, it is definitely needed. Unfortunately I am no security expert and I'm trying to piece this stuff together slowly. Also I've got *lots* of other things I'm trying to find time to work on... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954881#3954881 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954881 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: 'edit' object through datatable page
Yes but note that the only reason that the blog example uses a page action instead of pull-style MVC is that we wanted to throw a Http 404 response code when the item was not found - which we cannot do once we start rendering the page. If it was not for this, then I would have used pull MVC, and interrogated the request parameter from an @Factory or @Unwrap method, just like I do with the seach screen in the blog example. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954882#3954882 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954882 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Problem in deploying a Seam Project into Tomcat
Hi all I am new to Seam framework. I want to deploy one of the examples of the Seam framework (jboss-seam-numberguess) into Tomcat (ver. 5.5.9 with Jdk5) but during deployment following exception occurs: --- ERROR 02-07 16:35:43,578 (Log4JLogger.java:error:119) -Exception sending context initialized event to listene r instance of class org.jboss.seam.servlet.SeamListener java.lang.NullPointerException at sun.beans.editors.BoolEditor.setAsText(BoolEditor.java:38) at org.jboss.seam.Component.initInitializers(Component.java:314) at org.jboss.seam.Component.(Component.java:209) at org.jboss.seam.Component.(Component.java:159) at org.jboss.seam.Component.(Component.java:154) at org.jboss.seam.Component.(Component.java:149) at org.jboss.seam.init.Initialization.addComponent(Initialization.java:381) at org.jboss.seam.init.Initialization.addComponents(Initialization.java:255) at org.jboss.seam.init.Initialization.init(Initialization.java:195) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) 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 org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:683) at org.apache.catalina.startup.Catalina.start(Catalina.java:537) 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.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) Jul 2, 2006 4:35:43 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Jul 2, 2006 4:35:43 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/jboss-seam-numberguess] startup failed due to previous errors --- please help me out, it really confused me. I didnt change any line of the codes or configuration file everything is the same as in seam framework zip file. any help will be appreciated. regards mohammad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954883#3954883 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954883 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Problem with org.jboss.tm.JBossRollbackException using j
I found the cause of this problem.. was the formatting of my query that was preventing it from running. I have some more strange | private void storeRow() throws SQLException | { | String updateStatement = | update Account set + | credit = ?, + | discount = ?, + | openedDate = ?, + | closedDate = ?, + | where id = ?; | PreparedStatement prepStmt = con.prepareStatement(updateStatement); | | prepStmt.setInt(1, this.m_id.intValue()); | prepStmt.setDouble(2, this.m_credit); | prepStmt.setDouble(3, this.m_discount); | prepStmt.setDate(4, new java.sql.Date(this.m_openedDate.getTime())); | prepStmt.setDate(5, new java.sql.Date(this.m_closedDate.getTime())); | | int rowCount = prepStmt.executeUpdate(); | prepStmt.close(); | | if (rowCount == 0) | { | throw new EJBException(Storing row for id + m_id + failed.); | } | } | } | I had to change to the following so the ID is entered into the last space in the query which it was not doing before. | private void storeRow() throws SQLException | { | String updateStatement = | update Account set + | credit = ?, + | discount = ?, + | openedDate = ?, + | closedDate = ?, + | where id = ?; | PreparedStatement prepStmt = con.prepareStatement(updateStatement); | | prepStmt.setDouble(1, this.m_credit); | prepStmt.setDouble(2, this.m_discount); | prepStmt.setDate(3, new java.sql.Date(this.m_openedDate.getTime())); | prepStmt.setDate(4, new java.sql.Date(this.m_closedDate.getTime())); | prepStmt.setInt(5, this.m_id.intValue()); | | int rowCount = prepStmt.executeUpdate(); | prepStmt.close(); | | if (rowCount == 0) | { | throw new EJBException(Storing row for id + m_id + failed.); | } | } | } | But the problem has now changed.. ejbStore dies on the same error after I call my create method, but now works fine after I call a finder method? | public Integer ejbCreate(Integer id, double credit , double discount, java.util.Date openedDate, java.util.Date closedDate) | | throws CreateException | { | try | { | insertRow(id, credit, discount, openedDate, closedDate); | } | catch (Exception ex) | { | throw new EJBException(ejbRemove: + ex.getMessage()); | } | | this.m_id = id; | this.m_credit = credit; | this.m_discount = discount; | this.m_openedDate = openedDate; | this.m_openedDate = closedDate; | | return this.m_id; | } Its almost as if its trying to sync the bean with persistant storage before the create method has a chance to insert to the database. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954885#3954885 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954885 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat
That is _extremely_ wierd. It is working perfectly for me on Tomcat 5.5.12. Do you have any other applications installed in the server? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954887#3954887 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954887 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - ORA-00904 Error while running CMP EJB
When I am running my CMP bean, I get following error, 2006-07-02 09:58:17,171 DEBUG org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.AccountBean#fi ndByAccountNumber] Executing SQL: SELECT t0_a.ACCOUNT.UOID FROM ACCOUNT t0_a WHERE (t0_a.ACCOUNT.ACCOUNT_NUMBER = ?) 2006-07-02 09:58:17,250 ERROR [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.AccountBean#fi ndByAccountNumber] Find failed java.sql.SQLException: ORA- 00904: T0_A.ACCOUNT.ACCOUNT_NUMBER: invalid identifier. Why is it giving invalide identifier? the length of this identifer is also less then 30 and there are no special characters being used in it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954888#3954888 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954888 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Security Framework w/Seam
Gavin, I appreciate that you must have a thousand things, but let me just say that one of the best things about Spring (besides IoC, AOP, etc.) is the Acegi framework because one of the biggest problems with open source frameworks is that security seems to be an afterthought. I will admit that I haven't used Seam yet, but it looks really great because I'm already on the Java 5, EJB3 bandwagon, and expect to jump on the JSF bandwagon very soon. Security is one area where I wonder if Seam is deficient, and I get the impression that I am not alone. I think that if this area was better documented, you would see greater committment for Seam. I know you mentioned that you felt that Acegi is tightly integrated with Spring (and they even admit it). Would it be a big deal to run Seam with Spring core and Acegi? Are you aware of a technical reason as to why this is a bad idea, or is it philosophical (like why have two IoC mechanisms?). Because this was sort of my plan (at least for the short term). Maybe Acegi should be submitted to the JCP much like how Seam has been. Finally, how big is the Seam team? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954889#3954889 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954889 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat
[EMAIL PROTECTED] wrote : That is _extremely_ wierd. It is working perfectly for me on Tomcat 5.5.12. | | Do you have any other applications installed in the server? Hi yes I have some other application, but first of all I delete any additional jar file from the tomcat lib directory and tried to deploy my seam application but the problem didnt resolved. let me tell you, I put every needed jar files on the lib directory of the project, afterwards, I put some of them in the lib of tomcat. just that, I never did any thing else. thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954890#3954890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954890 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - JBoss installation problem in ubuntu??
I try to install JBoss from the JAR package in Ubuntu 6.06, but I always get this kind of error message: PackageListener, install.log=/home/jasurakk/Desktop/Download/install.log - Error - java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159) at java.awt.Window.(Window.java:317) at java.awt.Frame.(Frame.java:419) at java.awt.Frame.(Frame.java:384) at javax.swing.JFrame.(JFrame.java:150) at com.izforge.izpack.installer.GUIInstaller.loadLangPack(GUIInstaller.java:179) at com.izforge.izpack.installer.GUIInstaller.(GUIInstaller.java:114) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at com.izforge.izpack.installer.Installer.main(Installer.java:53) What's the problem?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954891#3954891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954891 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat
Just to make sure, you have deployed the example by typing ant deploy.tomcat in a totally fresh unzip of the Seam distributing, right? Not by some other means... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954892#3954892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954892 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - 2 server in jboss ?
in my book i found A jndi.properties file in this directory enables the examples programs to find and connect to Jboss's JNDI server please see the statement Jboss's JNDI server. do they want to say, JBoss has 2 server. 1. Jboss server 2. Jboss's JNDI server so Jboss has 2 server in total is it correct ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954893#3954893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954893 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Security Framework w/Seam
Well, the thing is, no-one has yet convinced me that we are so very deficient ;-) I mean, I am totally prepared to believe we are deficient, but I need to know _how_ we are deficient. I have been asking and asking for someone to explain what it is about EJB3 role-base security @RolesAllowed that does not let them do what they want to do. No-one has yet given me a straight answer (I mean, I have a clue of some things, but I need concrete real-life examples.) Well, I know that there is one problem: Servlet spec authentication is totally broken and crap. So people have to write their own authentication layer. And then, people have trouble integrating their homegrown authentication with Java EE security. However, it turns out that this problem is solvable: you can write a servlet filter that grabs your principal from the HttpSession, and calls directly to JAAS to establish the association b/w the request and the principal. Then you can take advantage of EJB3 authorization stuff. So, what I need to know is: what is this magical stuff that Acegi has that Java EE authorization does not have? (I don't think its possible to just have a Seam component take advantage of Acegi via Spring - the whole interceptor model is different.) (People working actively on Seam are: me, Shane, Thomas, Norman, with Jacob advising. But note that none of these people are anything like fulltime on the project.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954894#3954894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954894 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Creating a MBean
I am trying to create a mbean, but I get a strange exception org.jboss.deployment.DeploymentException: Class does not expose a management interface: java.lang.Object; - nested throwable: (javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:178) | at org.jboss.system.ServiceController.install(ServiceController.java:215) | at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) I am using the code presented in the example from the wiki (http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService), using the general extention of the interface (not extends ServiceMBean). What might be wrong? I do not implement a management interface? I implement a interface containing the start() and stop() methods (like the example) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954895#3954895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954895 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0
Thanx for the info, but after a brainstorm the mbean must be general mbean which has made me create a regular mbean and discovering other problems: http://www.jboss.org/index.html?module=bbop=viewtopicp=3954895#3954895 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954896#3954896 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954896 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat
No I am using Eclipse to run the Ant task. but again, I tried to build a war file myself to deploy it. Are you mean I do it in command console by typing ant...? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954897#3954897 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954897 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat
Definitely don't try to build the war file yourself. The Ant task does some replacements of @foo@ in components.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954898#3954898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954898 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice tes
Hi! I have the latest downloads of JBPM AS and bpel extension and docs. I'm following the helloworldclass service test as outlined in the tutorial. The bpel process and ear files deploy successfully according to JBOSS AS server logs. However, junit test fails on the initialcontext lookup: HelloWorldService service = (HelloWorldService) ctx.lookup(java:comp/env/ + serviceRefName); Message is: [junit] Cannot unmarshall service ref meta data, cause: java.io.InvalidClass Exception: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448 754896609940 Any suggestions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954899#3954899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954899 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - jBPM 3.2 database connections
Hi. I was facing the problem that with every new task form in jBPM 3.2 a new database connection was created - but never closed (using PostgreSQL). As a workaround I added the line jbpmBean.close(); to the cancel(), save() and saveAndClose() methods and now it seems to work fine. I am not sure, if this is a general problem. If yes it might be an issue to fix until an alpha/stable version of 3.2? Rgds, Patrick View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954900#3954900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954900 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Form a page to another: un-solvable scenario?
anonymous wrote : | anonymous wrote : Also you don't know how many pages portal has, or how many portlets on the page, etc. | | I'm not agree with this; infact it's real that i creat portlets but i creat the full portal too so i know how many pages there are and how many portlet in a page there are. | Yes you can extent existent portal functionality to acheve it. But it is out of the portlet spec's. And you will write portlets that are not jsr-168 complient. In some cases it is the only way to go. anonymous wrote : | Let's pass to word example (Excel is not my best :-) ).I imagine, instead, that the portal is the Word software, while my portelt is a word document tha can contain several page; now in word when i use an hypertextual link i can go from a page to another page...well what i want is to obtain this thing. You are misleading yourself here, Word application is a portlet not a portal, windows is a portal. ... Also don't forget that portlet just the presentation layer. So nobody stopping you from having your business logic in (EJB, POJO, ). It means that you can have more that 1 portlet to present your application data. The simple scenario is to have MyPortletRegistry in ServletContext (or session, depending on your architecture) that have knowledge about all your portlets. Now you define for each your portlet a role, since portlet name can be changed by an administrator you have to keep pairs role=name in order to get needed portlet. Each portlet will register itself with MyPortletRegistry, and you can query this registry for a portlet name with wanted portlet role. And as soon you know portlet name you can construct portal link that will display needed portlet. But be carefull this is a hack. Personally, I belive that portal must have portlet registry, and portlet specs should define such fiunctionality. Since portal is a container I should be able to query it for needed component. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954902#3954902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954902 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - MDB doesn't receive message from JMX Queue
Hi, I created an mdb, that follows: | package uk.co.jemos.ejb3.mdbs; | | import javax.annotation.Resource; | import javax.ejb.ActivationConfigProperty; | import javax.ejb.MessageDriven; | import javax.ejb.MessageDrivenContext; | import javax.jms.JMSException; | import javax.jms.Message; | import javax.jms.MessageListener; | import javax.jms.TextMessage; | | import org.apache.log4j.Logger; | /** | * class main function here | * p | * Jemos Copyright 2003 - All rights reserved. | * This software is distributed under the | * a href=http://www.opensource.org/licenses/cddl1.php;CDDL/a licence | * /p | * @author Marco Tedone [EMAIL PROTECTED] | */ | @MessageDriven( | activationConfig= { | @ActivationConfigProperty(propertyName=destinationType, | propertyValue=javax.jms.Queue) | }) | | public class HelloServiceMdb implements MessageListener { | | private static final Logger LOG = Logger.getLogger(HelloServiceMdb.class); | | @Resource MessageDrivenContext context; | | public HelloServiceMdb() { | super(); | // TODO Auto-generated constructor stub | } | | public void onMessage(Message arg0) { | LOG.info(Hello from MDB.); | if (!(arg0 instanceof TextMessage)) { | LOG.error(The Message is not of type TextMessage. Nothing will be done.); | return; | } | | TextMessage msg = (TextMessage)arg0; | try { | String textMsg = msg.getText(); | if (null != textMsg) { | LOG.info(This is the message from the client: + textMsg); | } else { | LOG.error(The string contained in the TextMessage is null!); | } | } catch (JMSException e) { | LOG.error(An error occurred while retrieving the text message); | context.setRollbackOnly(); | } | } | | } | I then have a session bean which invokes the session bean, which also follows: | package uk.co.jemos.ejb3.sessions; | | import javax.annotation.Resource; | import javax.ejb.Remote; | import javax.ejb.Stateless; | import javax.jms.JMSException; | import javax.jms.Message; | import javax.jms.Queue; | import javax.jms.QueueConnection; | import javax.jms.QueueConnectionFactory; | import javax.jms.QueueSender; | import javax.jms.QueueSession; | import javax.jms.Session; | | import org.apache.log4j.Logger; | import org.jboss.annotation.ejb.RemoteBinding; | | import uk.co.jemos.ejb3.exceptions.BusinessObjectException; | import uk.co.jemos.ejb3.intf.HelloService; | /** | * class main function here | * p | * Jemos Copyright 2003 - All rights reserved. | * This software is distributed under the | * a href=http://www.opensource.org/licenses/cddl1.php;CDDL/a licence | * /p | * @author Marco Tedone [EMAIL PROTECTED] | */ | @Stateless | @Remote({HelloService.class}) | @RemoteBinding(clientBindUrl=socket://192.168.2.3:4173/, jndiBinding=uk_co_jemos_ejb3.sessions_HelloService) | public class HelloServiceImpl implements HelloService { | | /** | * | */ | private static final long serialVersionUID = -1689022300300785872L; | | /** The JMS Queue resource auto-managed by the container */ | @Resource(mappedName=queue/JEMOS) | Queue destinationQueue; | | /** The JMS Queue Connection Factory auto-managed by the container */ | @Resource(mappedName=ConnectionFactory) | QueueConnectionFactory factory; | | private static final Logger LOG = Logger.getLogger(HelloServiceImpl.class); | | public HelloServiceImpl() { | super(); | // TODO Auto-generated constructor stub | } | | public void sayHello(String name) { | LOG.info(Hello: + name); | } | | public void sayAsynchronousHello(String name) throws BusinessObjectException { | LOG.info(Received request to send asynchronous say Hello...); | QueueConnection conn = null; | QueueSession session = null; | QueueSender sender = null; | try { | conn = factory.createQueueConnection(); | session = conn.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); | sender = session.createSender(destinationQueue); | | Message message = session.createTextMessage(Hello Marco Tedone -
[JBoss-user] [JBoss Seam] - Re: Seam component as converter with EntityManager/Persisten
Hello, Got same problem, tried same approach, but I still get a null instance of EntityManager after adding getInstance to the getAsObject method in the custom converter: Component.getInstance(em, true); Questions: 1. Is it that I need to declare the Seam Managed bean em somewhere else for this to be referenced ? 2. Do I need to declare this class as SLSB to be able to use the EntityManager instance? This is the custom converter class : (same as original posting) | | @Name(MyCustomConverter) | @Scope(ScopeType.EVENT) | @Intercept(InterceptionType.ALWAYS) | public class MyCustomConverted implements Converter | @In(create=true) | EntityManager em; | | Could you please provide any directions, hints or ideas ? Thanks ! js8523 wrote : Hi | | Worked like a treat. | | | | /** | | * Fetches the contract object direct from the database each time it is selected | | */ | | public Object getAsObject (FacesContext context, UIComponent component, String value){ | | log.debug(getAsObject: Called with value = + value); | | | | // Fetch the entity manager from the one managed in seam. | | EntityManager em = (EntityManager)Component.getInstance(em, true); | | return (Object)(Contract)em.find(Contract.class, Long.valueOf(value).longValue()); | | } | | | | Thanks for the help. | | Thinking about the reverse engineering tool, it would be possible to automatically generate the different converters as long as each entity had a @Id and a field that could be used as the name element (the tricky part). | | As far as extending seam with further annotations, I will have to think about this further (i.e. how the converter could be generalised further, to lookup any type of entity, rather than converter per entity type). Allow possibly the converters could be created and cached at seam scanner time for each entity component that had @Selectable annotation?, this scanner task would also need to dynamically register the converters with jsf/myfaces which I believe is possible using the myfaces Application class (don't know about the RI implementation). | | The entity class annotated with @Selectable would have to have an @Id attribute and a attribute annotated with something like @SelectionName for the displayed name of the object in the selectItems. I don't know if it possible to pass in the function that you want to use dynamically to a function, but if it is then its a possibility? | | Just thoughts currently. | | James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954905#3954905 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954905 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam component as converter with EntityManager/Persisten
Have a look at my post on a different matter. http://www.jboss.com/index.html?module=bbop=viewtopict=85986 I was using an inner class like in the DVD Store example and passing the entitymanager to the constructor. I used @PersistenceContext to inject the EntityManager into the SLSB. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954906#3954906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954906 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - TableGenerator doesn't work with MySQL
Hi, I tried the @GeneratedValue(strategy=GenerationType.AUTO) annotation on an entity mapped to a table with auto pk on and it worked fine. Then I tried to use the @TableGenerator as follows: | @javax.persistence.Id() | @javax.persistence.Column(name = ID) | @TableGenerator(name=Employee_Sequence, | table=ID_GEN, | pkColumnName=GEN_NAME, | pkColumnValue=GEN_VAL) | @GeneratedValue(generator=Employee_Sequence) | public int getId() { | return id; | } | after creating a ID_GEN table, and have removed the auto increment option from the Employee table id. But when I ran the application I got the following exception: anonymous wrote : | Exception in thread main javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.HibernateException: The database returned no natively generated identity value | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:225) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:398) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) | I take that the table mode of auto-creating primary keys doesn't work with my db. I'm using MySQL 4.1.7-NT View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954907#3954907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954907 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problem in the starters kit of jBPM
Sajid, Please specify the version info. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954908#3954908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954908 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Regarding Asynchronous Continuations
Kazam, You are partly right. If you use the async functionality, the signal behaviour that puts the token from one node into the next will be broken into two transactions instead of one. The first transaction will put a message on a message queue (the default jbpm messaging system out of the box, or you can configure jbpm to use JMS if you want something more robust). The second transaction will execute the logic that is specified in the node's action... Hope this helps, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954909#3954909 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954909 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: How to access datatable row from a converter. All is co
I tried the following, but I get the value must be between 0 and 0. I am assuming the you are correct an the el is being ignored. In my opinion this should be a nobrainer. Maybe I am overlooking some obvious solution. Has anyone else attempted to do this? h:inputText id=recId value=#{couplingL.numPiecesInput} required=true class=input_std w50 | f:validateLongRange minimum=0 maximum=#{couplingL.numPieces}/ | /h:inputText View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954910#3954910 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954910 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Query regarding sub-process
AFAIK, what you are looking for is the normal behaviour that comes with jbpm out of the box. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954911#3954911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954911 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Null Pointer for Nodes with '/' in the name
Slashes in node names are allowed but refer to the (fully) qualified names of hierarchically structured nodes. More in particular structures involving superstates. You may want to look at the docs regarding superstates... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954912#3954912 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954912 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: How to access datatable row from a converter. All is co
I apologize for so many posts, but I feel my usecase may help someone to provide me with a solution, and this does seem like something that others either would desire or have already implemented. In my application I provide a list of available items that can be committed to a work order for a manufacturing process. There are multiple users and if some of the items are committed to another workorder while the first user is doing their input they may request more items than are currently now available. When the page is summited if validation fails the new values are reflected in the list if the underlying data has changed. This is exactly what I want. Now I just need to validate against the live dataset and return a meaninful message to the user. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954913#3954913 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954913 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Create ProcessDefinition by API code using an Assignment
Please post a JUnit test demonstrating the behaviour. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954914#3954914 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954914 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Problem deploying document-style Web Service to JBoss 4.0.
Hi, For sake of simplicity I'll refer to the sample Teller Service introduced in chapter 5 of AS Getting Started Guide, but I'm experiencing the same kind of problem when I try to deploy my own web services... I'm currently using JBoss AS 4.0.4. and when I try to deploy a document-style web service (JSR-109 EJB Endpoint), I get the following error: 22:42:03,927 INFO [EjbModule] Deploying TellerBean 22:42:04,188 INFO [TomcatDeployer] deploy, ctxPath=/bankws-ejb, warUrl=.../tmp/deploy/bankws-ejb.jar-ws39474.war/ 22:42:04,368 INFO [EJBDeployer] Deployed: file:/D:/Software/jboss-4.0.4-bis/server/default/deploy/bankws-ejb.jar 22:42:04,398 INFO [WSDLFilePublisher] WSDL published to: file:/D:/Software/jboss-4.0.4-bis/server/default/data/wsdl/bankws-ejb.jar/TellerService.wsdl 22:42:04,458 WARN [ServiceMetaData] Cannot load class for type: {http://ebank.jboss.com/teller/types}getAccountsOfCustomer,com.jboss.ebank.TellerEndpoint_getAccountsOfCustomer_RequestStruct 22:42:04,458 WARN [ServiceMetaData] Cannot load class for type: {http://ebank.jboss.com/teller/types}getAccountsOfCustomerResponse,com.jboss.ebank.TellerEndpoint_getAccountsOfCustomer_ResponseStruct 22:42:04,458 WARN [ServiceMetaData] Cannot load class for type: {http://ebank.jboss.com/teller/types}getAccountBalance,com.jboss.ebank.TellerEndpoint_getAccountBalance_RequestStruct 22:42:04,458 WARN [ServiceMetaData] Cannot load class for type: {http://ebank.jboss.com/teller/types}getAccountBalanceResponse,com.jboss.ebank.TellerEndpoint_getAccountBalance_ResponseStruct 22:42:04,468 ERROR [MainDeployer] Could not start deployment: file:/D:/Software/jboss-4.0.4-bis/server/default/deploy/bankws-ejb.jar org.jboss.ws.WSException: Cannot load java type: com.jboss.ebank.TellerEndpoint_getAccountBalance_RequestStruct at org.jboss.ws.metadata.ParameterMetaData.getJavaType(ParameterMetaData.java:141) at org.jboss.ws.metadata.ParameterMetaData.eagerInitialize(ParameterMetaData.java:291) at org.jboss.ws.metadata.OperationMetaData.eagerInitialize(OperationMetaData.java:474) at org.jboss.ws.metadata.EndpointMetaData.eagerInitialize(EndpointMetaData.java:353) at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:397) at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:143) at org.jboss.ws.server.ServiceEndpoint.start(ServiceEndpoint.java:131) at org.jboss.ws.server.ServiceEndpointManager$DefaultServiceLifecycle.startServiceEndpoint(ServiceEndpointManager.java:513) at org.jboss.ws.server.ServiceEndpointManager$ServiceLifecycleChain.startServiceEndpoint(ServiceEndpointManager.java:458) at org.jboss.ws.server.ServiceEndpointManager.startServiceEndpoint(ServiceEndpointManager.java:427) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287) at $Proxy35.startServiceEndpoint(Unknown Source) at org.jboss.ws.server.WebServiceDeployer.startServiceEndpoints(WebServiceDeployer.java:203) at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:126) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) 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 $Proxy26.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at
[JBoss-user] [JBoss jBPM] - Re: having custom node with gpd
Carefully study the plugin.xml file of the org.jbpm.ui plug-in. You should be able to find out how to use the extension points to add your own custom node to the designer. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954916#3954916 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954916 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: XPath creation failed in JBoss 4.0.3
Scott, Please not that this workaround you suggest causes a Class Not Found error, since there's a needed class in the earlier Xalan jar that is missing in the newer one. Can you advise on a different fix? Thanks 2006-07-02 17:51:32,077 WARN [org.jboss.system.ServiceController] Problem creating service jboss.jca:service=ConnectionFactoryDeployer java.lang.NoClassDefFoundError: org/apache/xml/serializer/OutputPropertiesFactory at org.apache.xalan.templates.OutputProperties.(OutputProperties.java:81) at org.apache.xalan.templates.OutputProperties.(OutputProperties.java:56) at org.apache.xalan.processor.ProcessorOutputElem.startElement(ProcessorOutputElem.java:188) at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:623) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:920) at org.jboss.deployment.XSLSubDeployer.createService(XSLSubDeployer.java:127) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228) at sun.reflect.GeneratedMethodAccessor2.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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:341) at org.jboss.system.ServiceController.create(ServiceController.java:284) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.create(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:241) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Tomcat Logging
Hi I am having a problem with Tomcat logging. When I run my application on a standalone Tomcat server, I am able to see all the logging output. ie. When I deploy the same application in Jboss 4.0.4GA, I do not see my application errors. I have added a category for the za.co classes in DEBUG mode for my application, still nothing from here gets logged. log4j.conf --- ?xml version=1.0 encoding=UTF-8? !DOCTYPE log4j:configuration SYSTEM log4j.dtd !-- = -- !-- -- !-- Log4j Configuration -- !-- -- !-- = -- !-- $Id: log4j.xml,v 1.26.2.10 2006/04/21 17:29:20 csuconic Exp $ -- !-- | For more configuration infromation and examples see the Jakarta Log4j | owebsite: http://jakarta.apache.org/log4j -- log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; debug=false !-- = -- !-- Preserve messages in a local file -- !-- = -- !-- A time/date based rolling appender -- !-- Rollover at midnight each day -- param name=DatePattern value='.'-MM-dd/ !-- Rollover at the top of each hour param name=DatePattern value='.'-MM-dd-HH/ -- !-- The default pattern: Date Priority [Category] Message\n -- !-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n -- !-- A time/date based rolling appender -- !-- Rollover at midnight each day -- param name=DatePattern value='.'-MM-dd/ !-- Rollover at the top of each hour param name=DatePattern value='.'-MM-dd-HH/ -- !-- The default pattern: Date Priority [Category] Message\n -- !-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n -- !-- == -- !-- Append messages to the console -- !-- == -- !-- The default pattern: Date Priority [Category] Message\n -- !-- == -- !-- More Appender examples -- !-- == -- !-- Buffer events and log them asynchronously appender-ref ref=FILE/ appender-ref ref=CONSOLE/ appender-ref ref=SMTP/ -- !-- EMail events to an administrator -- !-- Syslog events -- !-- Log events to JMS (requires a topic to be created) -- !-- Log events through SNMP -- !-- Emit events as JMX notifications -- !-- -- !-- Limit categories -- !-- -- !-- Limit the org.apache category to INFO as its DEBUG is verbose -- appender-ref ref=SCMBFILE/ !-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -- !-- Limit the org.jgroups category to WARN as its INFO is verbose -- !-- Limit the jacorb category to WARN as its INFO is verbose -- !-- Limit JBoss categories -- !-- Limit the JSR77 categories -- !-- Limit Axis based webservice category -- appender-ref ref=SCMBFILE / !--category name=org.jboss.security /category-- !-- Limit JBossWS webservice category -- !-- Decrease the priority threshold for the org.jboss.varia category -- !-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max] -- !-- | An example of enabling the custom TRACE level priority that is used | by the JBoss internals to diagnose low level details. This example | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its | subpackages. This will produce A LOT of logging output. -- !-- | Logs these events to SNMP: - server starts/stops - cluster evolution (node death/startup) - When an EJB archive is deployed (and associated verified messages) - When an EAR archive is deployed appender-ref
[JBoss-user] [EJB 3.0] - Can Jboss auto-generate remote interfaces?
Hi, I'm reading the article at the following path: http://www.javaworld.com/javaworld/jw-08-2004/jw-0809-ejb-p2.html which says that the following signature for a slsb: @Stateless @Remote public class HelloWorldBean { public String sayHello() { return Hello World!!!; } } should be enough to have the EJB container to auto-generate a remote interface for us. I tried and got the following problems at deployment time: anonymous wrote : | java.lang.RuntimeException: Use of empty @Remote on bean class and there are no valid business interfaces | at org.jboss.ejb3.ProxyFactoryHelper.getRemoteInterfaces(ProxyFactoryHelper.java:354) | at org.jboss.ejb3.ProxyDeployer.initializeRemoteBindingMetadata(ProxyDeployer.java:134) | at org.jboss.ejb3.SessionContainer.instantiated(SessionContainer.java:70) | at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:573) | at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:555) | at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:536) | at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:508) | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:463) | at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:125) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:330) | at org.jboss.system.ServiceController.create(ServiceController.java:273) | ...etc | The question is: is it possible to have remote interface auto-generated for us? If so, which object could be access from outside the container in order to interact with our session bean? I know it sounds a bit out of the spec, since no client should interact directly with an EJB, but if somehow we could get back a remote object which could be cast to our session bean type, exposing only public methods...then life would be much easier, since I wouldn't have to write an interface for each sb I create. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954923#3954923 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954923 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Change running properties
I don't think that the SystemPropertiesService scans more than once (when the app server starts). I think what Scott is trying to say is that you can write your own code to rescan these files on an interval to see if they have been updated. You might consider trying to extend the service class that is used to load the system properties: org.jboss.varia.property.SystemPropertiesService The MBean definition is in the deploy directory under properties-service.xml. You could extend it to add a rescan interval and some code that compares the timestamps of the properties files in the URL list. Good luck! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954925#3954925 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954925 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: IllegalAccessError initializing ehcache.CacheManager
Did you find a solution to this? I am having the same issue on a vanilla installation of the jBoss 4.0.4.GA and a vanilla build of jbpm 3.0.3. Let me know...thanks! Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954926#3954926 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954926 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: MDBean Deploy error
Here is the complete log. Please help. Thanks. Vij C:\jboss-4.0.3SP1\binrun.bat -c all === . JBoss Bootstrap Environment . JBOSS_HOME: C:\jboss-4.0.3SP1\bin\\.. . JAVA: C:\j2ee1.4\jdk\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH: C:\j2ee1.4\jdk\lib\tools.jar;C:\jboss-4.0.3SP1\bin\\run.jar . === . 19:34:33,601 INFO [Server] Starting JBoss (MX MicroKernel)... 19:34:33,601 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=20 0510231054) 19:34:33,611 INFO [Server] Home Dir: C:\jboss-4.0.3SP1 19:34:33,611 INFO [Server] Home URL: file:/C:/jboss-4.0.3SP1/ 19:34:33,611 INFO [Server] Patch URL: null 19:34:33,611 INFO [Server] Server Name: all 19:34:33,611 INFO [Server] Server Home Dir: C:\jboss-4.0.3SP1\server\all 19:34:33,611 INFO [Server] Server Home URL: file:/C:/jboss-4.0.3SP1/server/all/ 19:34:33,611 INFO [Server] Server Temp Dir: C:\jboss-4.0.3SP1\server\all\tmp 19:34:33,611 INFO [Server] Root Deployment Filename: jboss-service.xml 19:34:34,328 INFO [ServerInfo] Java version: 1.4.2_06,Sun Microsystems Inc. 19:34:34,328 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_06-b03,Sun Microsystems In c. 19:34:34,328 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 19:34:35,753 INFO [Server] Core system initialized 19:34:42,007 INFO [WebService] Using RMI server codebase: http://CG61Y81:8083/ 19:34:42,028 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 19:34:42,492 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bi ndAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSoc [EMAIL PROTECTED] 19:34:54,718 INFO [SnmpAgentService] SNMP agent going active 19:34:55,607 INFO [DefaultPartition] Initializing 19:34:55,648 INFO [STDOUT] --- GMS: address is CG61Y81:4885 (additional data: 16 bytes) --- 19:34:57,699 INFO [DefaultPartition] Number of cluster members: 1 19:34:57,699 INFO [DefaultPartition] Other members: 0 19:34:57,699 INFO [DefaultPartition] Fetching state (will wait for 3 milliseconds): 19:34:57,699 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [192.168.2.3:1099] 19:34:57,699 INFO [DefaultPartition] I am (null) received membershipChanged event: 19:34:57,699 INFO [DefaultPartition] Dead members: 0 ([]) 19:34:57,699 INFO [DefaultPartition] New Members : 0 ([]) 19:34:57,699 INFO [DefaultPartition] All Members : 1 ([192.168.2.3:1099]) 19:34:57,810 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress =/0.0.0.0 19:34:57,840 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=23 0.0.0.4, HA-JNDI address=192.168.2.3:1100 19:34:59,487 INFO [orb] ORB run 19:34:59,619 INFO [CorbaNamingService] Naming: [IOR:002B49444C3A6F6D672E6F72672F436F734 E616D696E672F4E616D696E67436F6E746578744578743A312E3200D80001020C313 9322E3136382E322E33000DC800114A426F73732F4E616D696E672F726F6F7405000 84A414301001C00010001000105010001000101090001050100010021000 000510024001E007E0001000C3139322E3136382E322E330 00DC90024001F000 40003000100220024001F00040003] 19:34:59,700 INFO [CorbaTransactionService] TransactionFactory: [IOR:003049444C3A6F7267 2F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E300200 D80001020C3139322E3136382E322E33000DC800144A426F73732F5472616E73616374696F6E732F 46000500084A414301001C000100010001050100010001010900 0105010001002100510024001E007E000100 0C3139322E3136382E322E33000DC9002000 04001F0004000300010022002400 1F00040003] 19:35:00,559 INFO [MailService] Mail Service bound to java:/Mail 19:35:00,932 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=8;lo opback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=8;mcast_send_buf_size=150 000;ucast_recv_buf_size=8;ucast_send_buf_size=15):PING(down_thread=false;num_initial_members =3;timeout=2000;up_thread=false):MERGE2(max_interval=2;min_interval=1):FD_SOCK:VERIFY_SUSPEC
[JBoss-user] [JBoss Seam] - Re: @DataBinder and SelectItems Example
Yes. Let me head on over to the wiki and find a place to post it. -Jim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954928#3954928 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954928 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - problems when upgrade from jboss3.0.8 to jbosss4.0.4
my ejb application app.ear is running well in jboss3.0 but throws many exception when deployed in jboss4.0. The exception is as following: 2006-07-03 09:19:35,755 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory]MyPrinciple cannot be Bound, doesn't have local and local home interfaces 2006-07-03 09:19:35,755 ERROR [STDERR] java.lang.NoSuchMethodException: javax.ejb.EJBHome.getHomeHandle() 2006-07-03 09:19:35,755 ERROR [STDERR] at java.lang.Class.getMethod(Class.java:986) 2006-07-03 09:19:35,755 ERROR [STDERR] at org.jboss.proxy.ejb.HomeInterceptor.(HomeInterceptor.java:79) 2006-07-03 09:19:35,755 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2006-07-03 09:19:35,755 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 2006-07-03 09:19:35,755 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 2006-07-03 09:19:3 there is none of my code invoke home.getHomeHandle(). In addition, why it tells me doesn't have local and local home interfaces? is there some different deployment requirements between jboss3 and jboss4? i'm very confused about this, who can help me out of this? thank u very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954929#3954929 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954929 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @DataBinder and SelectItems Example
Thanks Captain. I will be looking for it. You really seem to know your shiz. Do you have any suggestion for a solution to the following unrelated problem? http://www.jboss.com/index.html?module=bbop=viewtopict=85986 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954930#3954930 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954930 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Blank Screen on Log In
jgilbert wrote : Portal starts up with no errors and I can access the default and test pages. However, when I go to Standard Login and login as admin or user I get a blank screen. No errors show up on the console or in the log. | | Is anyone else seeing this? Any ideas? | | I used the jboss-4.0.4.GA-Patch1-installer.jar with the ejb3 configuration and jboss-portal-2.2.1-SP2.zip with the hsql data source. | | I also tried the 4.0.4.GA zip and deployed portal to default and got the same results Hmm, I´m getting the same results, same software as you, jboss-4.0.4.GA-Patch1-installer.jar and jboss-portal-2.2.1-SP2.zip, postgresql as datasource and getting blank screen after logging in... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954931#3954931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954931 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @DataBinder and SelectItems Example
The @SelectItems example can be found on the Wiki here. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSeam It doesn't currently support selection, you'll need to use JSF EL to bind selected values to your controller. This should help you get your drop down started though. -Jim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954933#3954933 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954933 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @SelectItems and @SelectItemsSelection annotations?
In response to many requests I've decided to post my @SelectItems DataBinder to the Seam Wiki. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSeam At present it's only a DataBinder and doesn't support selection (you can still use JSF EL to bind selected values to your controller). Comments welcome. -Jim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954934#3954934 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954934 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Tomcat Logging
kirenpillay, Did you read http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging? Usually, logging problems are due to log4j.jar being deployed with your application. If you are using non-isolated classloader for your deployment do not put log4j.jar in your deployment. Also, it was not clear from your post, but I am assuming your posted config file was the log4j.xml in $JBOSS_SERVER/conf directory. If you still have problems, please post more details, and check that your xml file posts correctly so we can read it. Thanks, cgriffith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954935#3954935 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954935 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: BPEL String/XML Problem
Random post aside. Do you have any response to my post? Is the fact that you can not use XMLStrings as string variables in a process definition a problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954936#3954936 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954936 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @DataBinder and SelectItems Example
Thanks again Jim. I will look into it. Hopefully this type of functionality will be added to Seam sometime soon. Everyone needs dropdowns. :-} And using them should be a trivial matter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954937#3954937 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954937 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Ejb2 referencing ejb3
Hi Dalves.. Can u pls forward me the link for ejb21 client adapter tutorial or tell me the location coz i couldnt find it my distribution of jboss 4.0.3 Thanks Inder View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954938#3954938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954938 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problem in the starters kit of jBPM
Koen, The version is jbpm-starters-kit-3.1.1 Regards, Sajid. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954939#3954939 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954939 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat
Hi Gavin I ran the command ant deploy.tomcat and ant build a war file to deploy into Tomcat but still the problem exists. however, the error message has been changed to this: -- INFO: Deploying web application archive jboss-seam-numberguess.war ERROR 03-07 08:30:50,031 (Log4JLogger.java:error:119) -Exception sending context initialized event to listene r instance of class com.sun.faces.config.ConfigureListener javax.faces.FacesException: java.lang.ClassCastException: org.jboss.seam.jsf.SeamPhaseListener at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:336) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) 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 org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:683) at org.apache.catalina.startup.Catalina.start(Catalina.java:537) 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.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) Caused by: java.lang.ClassCastException: org.jboss.seam.jsf.SeamPhaseListener at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:741) at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:400) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:332) ... 24 more INFO 03-07 08:30:50,406 (Log4JLogger.java:info:94) -Reading standard config org/apache/myfaces/resource/stan dard-faces-config.xml INFO 03-07 08:30:51,562 (Log4JLogger.java:info:94) -Reading config jar:file:/E:/Tomcat/jakarta-tomcat-5.5.9/ webapps/jboss-seam-numberguess/WEB-INF/lib/jboss-seam.jar!/META-INF/faces-config.xml INFO 03-07 08:30:51,593 (Log4JLogger.java:info:94) -Reading config /WEB-INF/faces-config.xml WARN 03-07 08:30:51,828 (Log4JLogger.java:warn:104) -Locale name in faces-config.xml null or empty, setting locale to default locale : fa_IR WARN 03-07 08:30:52,250 (Log4JLogger.java:warn:104) -There should only be one Seam phase listener per applic ation INFO 03-07 08:30:52,296 (Log4JLogger.java:info:94) -ServletContext 'E:\Tomcat\jakarta-tomcat-5.5.9\webapps\j boss-seam-numberguess\' initialized. INFO 03-07 08:30:52,296 (Log4JLogger.java:info:94) -Welcome to Seam 1.0.1.GA INFO 03-07 08:30:52,328 (Log4JLogger.java:info:94) -reading components.xml INFO 03-07 08:30:52,968 (Log4JLogger.java:info:94) -reading properties from: /seam.properties INFO 03-07 08:30:52,984 (Log4JLogger.java:info:94) -reading properties from: /jndi.properties INFO 03-07 08:30:53,000 (Log4JLogger.java:info:94) -initializing Seam INFO 03-07 08:30:53,187 (Log4JLogger.java:info:94) -Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init INFO 03-07 08:30:53,890 (Log4JLogger.java:info:94) -Component: org.jboss.seam.core.pages, scope: APPLICATION , type: JAVA_BEAN, class: org.jboss.seam.core.Pages INFO 03-07 08:30:53,953 (Log4JLogger.java:info:94) -Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events INFO 03-07 08:30:53,984 (Log4JLogger.java:info:94) -Component: org.jboss.seam.core.manager, scope: EVENT, ty pe: JAVA_BEAN, class: org.jboss.seam.core.Manager INFO 03-07 08:30:54,078 (Log4JLogger.java:info:94) -Component: switcher, scope: PAGE, type: JAVA_BEAN, class :
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE + hibernate Console Problem
Well, I followed the docs and added just the Oracle JDBC driver JAR and the directory where all my POJOs and *.hbm.xml are com/deu/apps/pp/business/model/ is not that what I am to do ?? POJOs and hbm.xml are in the same directory, the file is there and my app works just fine. Should I post my hibernate.cfg.xml or any other info ? tks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954941#3954941 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954941 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem in deploying a Seam Project into Tomcat
if you see the error messages somewhere it warned : WARN 03-07 08:30:52,250 (Log4JLogger.java:warn:104) -There should only be one Seam phase listener per application and it seems there are more than one listener registered, however, it might be a useless warning. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954942#3954942 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954942 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Integration of WebsphereMQ6.0 with JBOSS4.0
I am trying to integrate Websphere MQ6.0 with JBOSS4.0. I am getting following exception after placing required jars. 17:57:05,501 WARN [ServiceController] Problem starting service jmx.service.wsmq:service=WSMQConnectionFactory | javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.reflect.InvocationTargetException] | at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:338) | at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:366) | at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:112) | at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:422) | at com.ibm.ws.naming.util.WsnInitCtx.getNameParser(WsnInitCtx.java:342) | at javax.naming.InitialContext.getNameParser(Unknown Source) | at jmx.service.jndi.JNDI.bind(JNDI.java:82) | at jmx.service.jndi.JNDI.start(JNDI.java:54) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:960) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:428) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy5.deploy(Unknown Source) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330) | at org.jboss.Main.boot(Main.java:187) | at org.jboss.Main$1.run(Main.java:438) | at java.lang.Thread.run(Unknown Source) | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:327) | ... 54 more | Caused by: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.ibm.CORBA.iiop.ORB vmcid: 0x0 minor code: 0 completed: No | at
[JBoss-user] [JBoss jBPM] - GPD cann't compatible with Eclipse GEF 3.2!
I use GPD to design my workflow,and use Eclipse web tool platform which depend on Eclipse GEF3.2 to write J2EE application.However,if I install GPD and GEF together,the GPD will don't work,that is,when I open processdefinition.xml or gpd.xml,it says that an error has occurred.After deleted the GEF.link in my Eclipse's links folder,the GPD will work well,and the Eclipse web tool platform will in trouble. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954944#3954944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954944 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: virtual directory setup
I have this issue too! BTW... Is Jetty still supported as an alternative to Tomcat? Because I know how to add virtual directories using Jetty, but the JBoss documentation mentioning Jetty seems to be circa 2003. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954945#3954945 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954945 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user