[JBoss-user] [JBoss Seam] - Re: reverseengineering problem
here it is...sorry, not that used to using eclipse. | java.lang.NullPointerException | at org.hibernate.tool.hbm2x.XMLPrettyPrinter.prettyPrintFile(XMLPrettyPrinter.java:89) | at org.hibernate.tool.hbm2x.ArtifactCollector.formatXml(ArtifactCollector.java:69) | at org.hibernate.tool.hbm2x.ArtifactCollector.formatFiles(ArtifactCollector.java:59) | at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:96) | at org.hibernate.eclipse.console.wizards.NewConfigurationWizard.openContentStream(NewConfigurationWizard.java:195) | at org.hibernate.eclipse.console.wizards.NewConfigurationWizard.createHibernateCfgXml(NewConfigurationWizard.java:161) | at org.hibernate.eclipse.console.wizards.NewConfigurationWizard.access$0(NewConfigurationWizard.java:155) | at org.hibernate.eclipse.console.wizards.NewConfigurationWizard$1.run(NewConfigurationWizard.java:111) | at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931195#3931195 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931195 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - jBoss + EJB3 + Scalability
HI, we have an EJB3 web application in our testing environment. Before long we'll be migrating to production. I'm wondering if there are any scalability gotchas that I should be worried about. For example in jBoss 4.0.1 with EJB 2.1, I used to get ApplicationDeadlockExceptions, until I discovered a discussion thread that detailed setting entity bean readonly attributes in the jboss.xml file instead of the jbosscmp-jdbc.xml. This was a big help and greatly increased the scalability of an existing applictions. Has anyone deployed an EJB3 application to production? Are there any production time lessons that you'd like to share? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931197#3931197 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931197 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: process persistence problem with JBPM/Seam
Probably more appropriate if you post this to the SEAM forum. http://www.jboss.com/index.html?module=bbop=viewforumf=231 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931198#3931198 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931198 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Warnings during 2.2.0 build - concerned?
I am trying to troubleshoot some issues and started a clean build. Should I be concerned about warnings of unmappable characters and deprecated features in bilding the portlet, core, and bridge modules? Please advise. Thanks for any guidance. CR module portlet: [execmodules] * value of this attribute is English(???en???). [execmodules] ^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/deployment/jboss/PortletAppDeployment.java:745: warning: unmappable character for encoding ASCII [execmodules] * value of this attribute is English(???en???). [execmodules]^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/deployment/jboss/PortletAppDeployment.java:745: warning: unmappable character for encoding ASCII [execmodules] * value of this attribute is English(???en???). [execmodules] ^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/deployment/jboss/PortletAppDeployment.java:745: warning: unmappable character for encoding ASCII [execmodules] * value of this attribute is English(???en???). [execmodules]^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/deployment/jboss/PortletAppDeployment.java:745: warning: unmappable character for encoding ASCII [execmodules] * value of this attribute is English(???en???). [execmodules] ^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/PortletRequestImpl.java:358: warning: [deprecation] getClientRequest() in org.jboss.p ortal.server.app.ComponentRequestContext has been deprecated [execmodules] return creq.getContext().getClientRequest().getLocales(); [execmodules] ^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/aspects/component/SessionPreDispatchInterceptor.java:40: warning: [deprecation] getClientR equest() in org.jboss.portal.server.app.ComponentRequestContext has been deprecated [execmodules] HttpServletRequest req = invocation.getRequest().getContext().getClientRequest(); [execmodules]^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/DispatchedHttpServletRequest.java:354: warning: [deprecation] isRequestedSessionIdFro mUrl() in javax.servlet.http.HttpServletRequest has been deprecated [execmodules]public boolean isRequestedSessionIdFromUrl() [execmodules] ^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/DispatchedHttpServletRequest.java:112: warning: [deprecation] getRealPath(java.lang.S tring) in javax.servlet.ServletRequest has been deprecated [execmodules]public String getRealPath(String s) [execmodules] ^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/DispatchedHttpServletResponse.java:183: warning: [deprecation] setStatus(int,java.lan g.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules]public void setStatus(int i, String s) [execmodules]^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/DispatchedHttpServletResponse.java:44: warning: [deprecation] encodeRedirectUrl(java. lang.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules]public String encodeRedirectUrl(String s) [execmodules] ^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/DispatchedHttpServletResponse.java:120: warning: [deprecation] encodeUrl(java.lang.St ring) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules]public String encodeUrl(String s) [execmodules] ^ [execmodules] /usr/local/jboss-portal-2.2.0-src/portlet/src/main/org/jboss/portal/portlet/impl/PortletRequestDispatcherImpl.java:58: warning: [deprecation] getRealPath(java.lang.St ring) in javax.servlet.ServletRequest has been deprecate And during the bridge compilation [execmodules] /usr/local/jboss-portal-2.2.0-src/bridge/src/main/org/jboss/portal/bridge/BridgeRequest.java:295: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servle t.http.HttpServletRequest has been deprecated [execmodules]public boolean isRequestedSessionIdFromUrl() [execmodules] ^ [execmodules] /usr/local/jboss-portal-2.2.0-src/bridge/src/main/org/jboss/portal/bridge/BridgeRequest.java:64: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet .ServletRequest has been
[JBoss-user] [Installation, Configuration Deployment] - Re: log4j WARN No appenders ... logger (org.jboss.security.S
i got the same problem, hi, who can tell me how to configure it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931200#3931200 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931200 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Slow java application?
Hi, Im running lucene connected to pdf box to create a small and simple document management system. Lucene indexs a folder full of pdf files, it works fine if I just run it as a command line java application. However Im trying to call this application from my web app (which is running in jboss), when I do this the indexing takes aproximately six times longer. The web app is pretty simple, there are some jsps and one servlet that passes users input to a java class (ie the pdf folder location and the the location where the index should be placed). This java class this as stuff a strig array to another class that handles the indexing. can anyone tell me what i'm probably doing wrong? thanks in advance for any help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931201#3931201 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931201 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: log4j WARN No appenders ... logger (org.jboss.security.S
http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931202#3931202 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931202 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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: No JSP Page and HTML Page under JBossIDE-Web Components
[EMAIL PROTECTED] wrote : This is an oversight in the documentation -- I will try fixing it as soon as possible. | [] | Any Schedule for that ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931203#3931203 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931203 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Securing portal pages.
hi, i'm using portal2.4 from cvs, mysql 4, one windows xp and one redhat 9 for making clustering ( now working ok with hajrcms :) ) the 3.1 connector. the thing is when i access the portal(http://localhost:8080/ , after changing the path) i notice that the managment page and the cms admin was visible but not accesible to unregistered user. i think this is good for making some users register to access the page, but also its a segurity risk if i want to make a page secret and accesible only for some rols. please comment or xplain me how to configure this. thanks for all nx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931204#3931204 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931204 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - How to uninstall Jboss in Windows XP using unintaller.jar
Hello, Does anyone know how to uninstall JBoss 4.0. using the uninstaller.jar that is located in the following location : %JBOSS_HOME%Uninstaller when I use the following command to attempt to uninstall, I get the following error : Exception in thread main java.lang.NoClassDefFoundError: run View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931205#3931205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931205 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - IS JBOSS IDE is not suitable for STRUTS????
Hi, I think JBOSS is not suitable for Struts Based MVC web Application. This is my assumption (experience) because, One month before I was in search of the single app server for my complete web application which will consist of Container for EJB (2.0) web container I had only 2 options (JBOSS JOnAS).Somebody told me that JBOSS is best for that purpose. So I tried to develop first Bean Components for my web application on JBOSS4.0.3-RC1 app server Successfully Completed deployed my EJB2.0 components on JBOSS. Now I am in the next step of my web project(Preparing web application using STRUTS framework). But in the first stage of my second step I got very bad experience on JBOSS, that is, when I tried to deploy my struts based web application, then for the first time it gets deployed successfully(I am using eclipse IDE for JBOSS). But After that when I did some modifications in my web application again tried redeploy it then it gave me error message that Deployment is out of date due to changes in the underlying Project contents. You'll need to mannually 'Redeloy' project to update the deployed archive. I am using JBOSS IDE for eclipse. Also When I am trying to undeploy project I am getting same error message. What IS problem with JBOSS?? Also now I can't change my app server because I have already used Some JBOSS specific tags in my EJB (like JBOSS-QL). So please tell me how to solve this problem of struts deployment on JBOSS? Is my opinion that JBOSS is not suitable for STRUTS is right? If not then please tell me how? Thanx. Prash. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931206#3931206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931206 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Is JBOSS IDE JBOSS are not suitable for STRUTS application
Hi, I think JBOSS is not suitable for Struts Based MVC web Application. This is my assumption (experience) because, One month before I was in search of the single app server for my complete web applicationwhich will consist of Container for EJB (2.0) web container I had only 2 options (JBOSS JOnAS).Somebody told me that JBOSS is best for that purpose. So I tried to develop first Bean Components for my web application on JBOSS4.0.3-RC1 app server Successfully Completed deployed my EJB2.0 components on JBOSS. Now I am in the next step of my web project(Preparing web application using STRUTS framework). But in the first stage of my second step I got very bad experience on JBOSS, that is, when I tried to deploy my struts based web application, then for the first time it gets deployed successfully(I am using eclipse IDE for JBOSS). But After that when I did some modifications in my web application again tried redeploy it then it gave me error message that Deployment is out of date due to changes in the underlying Project contents. You'll need to mannually 'Redeloy' project to update the deployed archive. I am using JBOSS IDE for eclipse 3.1. Also When I am trying to undeploy project I am getting same error message. What IS problem with JBOSS?? Also now I can't change my app server because I have already used Some JBOSS specific tags in my EJB (like JBOSS-QL). So please tell me how to solve this problem of struts deployment on JBOSS? Is my opinion that JBOSS is not suitable for STRUTS is right? If not then please tell me how? Thanx. Prash. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931207#3931207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931207 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Dynamic selectOneMenu
Sorry, perhaps I did not make my point clear. What I want to accomplish is this: I have a modifyUserForm with the selectOneMenu for the userType [admin,accounting,reporting]. When the form loads the userType selectOneMenu should be initialized and display correct userType value for selected user (for example [accounting] ). kind regards, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931209#3931209 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931209 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: How to uninstall Jboss in Windows XP using unintaller.ja
I don't know if this is an installer bug, however, the simplest thing is to just delete the root directory where jboss is installed. AFAIK, except for writing to that directory, jboss installer doesn't alter the system configuration in any other way. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931211#3931211 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931211 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re:
Maybe this is a stupid question. But in all my years of java development I've never had this problem. So how to enable mutlicast? Till now this wasn't necessary. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931213#3931213 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931213 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re:
And in all your years, how many times have you seen this exception? Clearly some network/hostname configuration exists on this box. Check out your os howtos/faqs for enabling multicast. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931214#3931214 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931214 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: portal access from internet
solution: changing the context path to portal.web.context-root=/ in the local.properties file gets effective after build clean and build deploy is called. Thus the portal is accessible with http://localhost or your own domain. See thread http://jboss.org/index.html?module=bbop=viewtopict=78948postdays=0postorder=ascstart=0 maybe a forum where newbies like me could post should be opened.. Greetings [/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931216#3931216 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931216 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - BPEL Roadmap
JBoss jBPM BPEL I have a few questions that I would like to post about the BPEL extension module. I have done some work in the BPEL arena using both Oracle solutions, the Eclipse BPEL designer and the Oracle BPEL Process Manager (engine). AFAIK, the designer is free to use and is a very helpful tool for those starting coding in BPEL, and that is no problem. In the other way, the PM is not free to use, so the need for an Open Source solution is on the table. The best outcome is to join the Eclipse designer from Oracle and the BPEL engine from JBoss, and that´s why I have a few questions about the JBoss BPEL engine: 1. I have noted the difference in terms of version progression between the jBPM and BPEL ext. Does that mean anything, does JBoss is focusing more on jBPM than on BPEL? 2. Will the process development be easier in the future, because it is quite complex now, when dealing with a lot of processes and with complex process relations. 3. Is there any plan for a Web Console that allows the user to interact/observe process activity? 4. What about failover/process resume on sudden system failure. Will it be possible to continue process execution after a system restart? 5. About documentation/samples/tutorials? Thanks Joshua View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931217#3931217 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931217 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: jBoss + EJB3 + Scalability
We have deployed a number of Web Services backed by ejb3 business objects. We are very happy with the load we have been able to handle. We have scaled past 50 concurrent users with little trouble. We have experienced that the SOAP stack is the bottleneck in our system as the ejb machines never pegged any resources. However, we are not using ejb3 persistence as most users are. We have opted for stored procedure backed entities and have handled deadlock situations in our procs. I have heard about deadlock problems when using the full blown orm ejb3 solution, but for the reason mentioned have not experienced it myself. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931218#3931218 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931218 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Create a Left Menui to navigate
How can I create a left menu like http://jboss.org where you can navigate ? I have now problems that URL /index.html?ctrl:cmd=actionctrl:window=default ...are created. I want that the center region is changing (or the portlet). How can I create this ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931219#3931219 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931219 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - MessageFormatException: IOException: unexpected end of block
I'm using jboss 3.2.6 and JDK 1.4 Since I uppgraded to JDK 1.5, my JMS messaging doesn't work anymore. I am able to send and receive String messages without any problem but the getObject() method fails for custom objetcs. If someone has any idea, please help me. This is my Server and Client sourcecode Server Code QueueSender queueSender = m_queueSession.createSender( m_queue ); ObjectMessage objectMessage = m_queueSession.createObjectMessage(serialazableObject); objectMessage.setStringProperty(Config, selector); queueSender.setDeliveryMode(DeliveryMode.NON_PERSISTENT); queueSender.send( objectMessage ); Client code public void onMessage( Message message ) { Object obj = null; ObjectMessage objectMessage = null; try { if ( message instanceof ObjectMessage ) { objectMessage = ( ObjectMessage ) message; obj = objectMessage.getObject(); if (obj instanceof CLPBRRoute) { onNewRoute( (CLPBRRoute) obj ); } else if (obj instanceof String) { onStatusMessage((String)obj); } } } catch ( Throwable t ) { } } Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - javax.jms.MessageFormatException: IOException: unexpected end of block data Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - \n Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - at org.jboss.mq.SpyObjectMessage.getObject(SpyObjectMessage.java:135) Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - \n Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - at com.calypso.operatorapps.networkdesigner.gui.bestroute.CLPBRResultPanel$CLPBRBestRouteThread.onMessage(CLPBRResultPanel.java:574) Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - \n Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:680) Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - \n Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - at java.lang.Thread.run(Thread.java:595) Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - \n Simple listener:Mar-17-2006 17:02:40 - Trace Stderr - [10] - View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931220#3931220 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931220 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: get XML-Document of ProcessDefinition-Object
We have an Admin-Interface in our Application, where we want to provide an overview of all deployed ProcessDefinitions and versions of ProcessDefinitions. One part of this feature should be the ability to look up the XML-Source of these Definitions. It wouldn't be a problem, if there only were one version of each ProcessDefinition but as there could be more than one version of a ProcessDefinition in the database we need the functionality described in my first thread. Kind regards Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931221#3931221 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931221 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Question about login module and EJB
Dear All, I was wondering since a long time about custom login modules and whether it is possible somehow to write such a login module which would use EJB. Why ? Just because I'm developing a web application which stores user data in Container managed entity beans and it would be very appropriate for me to operate on those beans not on raw database, furthermore I would like to log every attempt of login into the system even if it's not successful. My doubts come from the fact that I must define the security/login policy in login-config.xml file and of course before deploying my application this login module using EJB wont be available on the server (since the application will be not deployed). Is there any way of solving this problem? Thx a lot in advance for any advice. Karol View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931222#3931222 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931222 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - ERROR [Digester] End event threw exception
Hi, Getting this error when trying to deploy my Hello World application. Alot of the sources indicate that this is a problem with the web.xml file. However checking the file contents, do not show any mistakes etc. Here is the copy of the web.xml file. Any ideas ? ?xml version=1.0 encoding=UTF-8? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; display-name Hello World /display-name display-name Hello World /display-name servlet-name hello /servlet-name jsp-filehello.jsp/jsp-file welcome-file-list welcome-filehello.jsp/welcome-file /welcome-file-list /web-app View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931223#3931223 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931223 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - javax.naming.NameNotFoundException: DefaultJMSProvider not b
I got this error exception when starting up JBOSS even after I have defined DefaultJMSProvider below... 00:25:25,174 WARN [JMSContainerInvoker] JMS provider failure detected for ReadMessageMDB javax.naming.NameNotFoundException: DefaultJMSProvider not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:296) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.getJMSProviderAdapter(JMSContainerInvoker.java:1051) - DefaultJMSProvider defined like this ... DefaultJMSProvider org.jboss.jms.jndi.JBossMQProvider jnp://localhost:1099 !-- The combined connection factory -- java:/ConnectionFactory !-- The queue connection factory -- java:/ConnectionFactory !-- The topic factory -- java:/ConnectionFactory !-- Uncomment to use HAJNDI to access JMS -- java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=localhost:1100 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931224#3931224 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931224 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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: Servlet welcome-file not working
I did not see any mention of a dummy static welcome file mapping in the 2.4 servlet specfiication. Whatever works I suppose. I think I will stick with the bona fide static welcome file that sets the window location. That also works. Thanks for the feedbackScott. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931225#3931225 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931225 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - ResourceBundle considered harmful
Resource bundles do not work with XML or RDBMs which is very telling IMO. Supports my contention that I8N with resource bundles should be renamed SteamingResourcePile [audible laughter from crowd]. It seems infinitely simpler to just create a message file for each language, then load them all in to the session context as a enumerated map. You can match every message you load against an enum value so JBoss won't even start-up if there' san error. In your code you can use the enums exclusively, and the strings on jsp or jspx files. In other words, resource bundless seem like a well-intentioned but misguided attempt to I8N when all we really needed wa a Map populated from your own choice of data souce. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931226#3931226 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931226 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: SLSB as WS: Exception with JBoss 4.0.4CR1 from CVS
Hello, I would also like to test the WS but I can't find the JBoss-4.0.4CR2 in cvs. Can you point me in the right direction. I looked at :pserver:[EMAIL PROTECTED]:/cvsroot/jboss but where is it? Does EJB3 WS not work under JBoss-4.0.4RC1? Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931227#3931227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931227 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Remote Access EJN between JBoss 3.2.5 and JBoss 4.0.x
Dear All, Can EJB client (Servlet) at JBoss 3.2.5 access a remote EJB at JBoss 4.0.x? or EJB client (Servlet) at JBoss 4.0.x access a remote EJB at JBoss 3.2.5? If yes, how to do it? THX! ALL! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931230#3931230 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931230 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - how to localize the jboss portal navigation to display local
as default ,the jboss portal navigation region display english text, such as default,test,CMSAdmin,management,how to translate these text into other language? thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931231#3931231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931231 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - HowTo Download jboss-4.0.4CR2 from cvs?
Hello, Can some one tell me where I can find jboss-4.0.4CR2 in cvs. I am not quite sure what to check out from: :pserver:[EMAIL PROTECTED]:/cvsroot/jboss I wanted to test JBossWS with EJB3. I believe for this I need jboss-4.0.4CR2. Is that correct? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931232#3931232 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931232 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - forums portlet error...
I am getting this error when I start the portal and click the forums link java.lang.IllegalArgumentException: One of the names is null | at org.jboss.portal.common.FQN.(FQN.java:62) | at org.jboss.portal.core.security.Scheme.get(Scheme.java:107) | at org.jboss.portal.core.security.Scheme.get(Scheme.java:128) | at org.jboss.portal.core.security.ModelAuthorizationRealm.hasPermission(ModelAuthorizationRealm.java:116) | at org.jboss.portal.core.security.ModelAuthorizationRealm.hasPermission(ModelAuthorizationRealm.java:146) | at org.jboss.portlet.JBossRenderRequest.hasPermission(JBossRenderRequest.java:205) | at org.jboss.portlet.forums.ForumsPortlet.fillShowCategoryContext(ForumsPortlet.java:1945) | at org.jboss.portlet.forums.ForumsPortlet.fillShowIndexContext(ForumsPortlet.java:1925) | at org.jboss.portlet.forums.ForumsPortlet.doView(ForumsPortlet.java:325) | at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:217) | at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:204) | at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:347) | at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invokeRequest(DispatcherInterceptor.java:163) | at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invoke(DispatcherInterceptor.java:195) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) | at org.jboss.portal.portlet.invocation.PreferencesInterceptor.invoke(PreferencesInterceptor.java:93) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) | at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:94) | 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:324) | at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:49) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:58) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) | at org.jboss.portal.core.invocation.AccessControlInterceptor.invoke(AccessControlInterceptor.java:125) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) | at org.jboss.portal.server.invocation.component.CacheInterceptor.invoke(CacheInterceptor.java:74) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238) | at org.jboss.portal.server.Component.invoke(Component.java:173) | at org.jboss.portal.server.invocation.portal.MainDispatcherInterceptor.invoke(MainDispatcherInterceptor.java:93) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) | at org.jboss.portal.core.invocation.StrategyInterceptor.invoke(StrategyInterceptor.java:184) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) | at org.jboss.portal.core.invocation.ViewInterceptor.invoke(ViewInterceptor.java:118) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) | at org.jboss.portal.server.invocation.portal.TargetInterceptor.invoke(TargetInterceptor.java:153) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) | at org.jboss.portal.core.invocation.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:117) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) | at org.jboss.portal.core.invocation.UserContextInterceptor.invoke(UserContextInterceptor.java:92) | at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) |
[JBoss-user] [JBoss Portal] - upload files error
10:21:29,461 ERROR [ContentGetCommand] Cannot get content javax.jcr.PathNotFoundException: /default/index.html/zh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931234#3931234 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931234 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Unable to generate code with composite key
Do you plan to fix it soon? Are there workarounds? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931235#3931235 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931235 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: JNDI Lookup Failure, ClassCastException, 4.0.4RC1
Trying to get to the root of the JNDI lookup problem, I'm finding that the gray area is in EAR deployment. While trying to determine if there is a conflict with the standard documented managed bean configuration (as configured faces-config.xml) for myfaces, I did not come across any cut-and-dry info on building and deploying an EJB 3.0 ear in jboss, where you have a war file and any number of entity jar files. Ok, actually there are a few forum postings on this, but for previous releases of JBoss in which the implementation may have been different do to the changing EJB 3.0 spec. The ear example of the RC5 tutorials has a build.xml file that builds a tutorial.jar, which is obviously very different from an ear. The latest JBoss documentation (including forum postings wiki) suggest that an ear containing a war file and ejb 3.0 entities in a separate jar file should work, as long as the ejb3.0 jar file has a proper persistence.xml file in its MAN-INF directory. Is this still the case? That's what I've been using, but my beans are still not being registered. Is anyone that is using the current Jboss EJB 3.0 release building and deploying an ear? Would you please post the structure of your ear? I've found a potential solution here: http://weblogs.java.net/blog/ss141213/archive/2005/12/using_java_pers.html There, glassfish is used, but it looks like the ear structure (with a lib directory, no application.xml file, separate war and ejb jar files) is generic and should be portable to any compliant platform. Is there a reason this configuration won't work with JBoss 4.0.4RC1 or later? I'll be trying the configuration recommended in the blog above after some rest, but would appreciate any useful input anyone may have. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931236#3931236 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931236 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: get XML-Document of ProcessDefinition-Object
If this feature is not present -- could someone provide a list of all tables in the database that contain definitions, so that we can back up these tables to cover for an eventuality where the database gets corrupted and the process definition files are not upto-date, etc. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931237#3931237 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931237 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - how to accomplish lock with NOWAIT as in hibernate?
lock() specified in EJB3 righ now supports only two LockModeTypes (Read and Write). There is no facility as UPGRADE_NOWAIT given in Hibernate. I want to achieve pessimistic locking which is not possible as it is going to wait state until I release the lock. How will I accomplish lock with no_wait option ? Please help me with a workaround. Thanks, Aakash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931238#3931238 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931238 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Web Tier JAAS login and SecurityAssociation
Greetings JBoss users and developers, I have an app running on JBoss AS 4.0.3sp1+EJB3rc3. The web tier is a JSF app that interacts with the business tier via local interfaces to session beans. I am using the container managed security in a typical way: * java:/jaas/mydomain security domain * service=DynamicLoginConfig * DatabaseServerLoginModule * form login using ExtendedFormAuthenticator * security-constraint restricting all access to *.jsf urls to role-name user * preceding security-constraint with no auth-constraint allowing access to a subset of *.jsf pages without authentication This all works very well. When a restricted access url is requested the user is presented with the login page. When users authenticate successfully, they are allowed access to the restricted pages. Unrestricted pages can be accessed by anonymous and logged in user alike. A logout action invalidates the session and logged in users become anonymous again. All good. However, the app needs to be a bit more complicated. There is an unrestricted section of the site, where, during the course of interaction, a user can have different options depending on whether they are logged in (org.jboss.security.SecurityAssociation.getPrincipal() != null) or not. In the workflow, the user is presented with an option to log in to gain the addition options. The login window for this is spec'ed to look deferent from the default login page (form-login-page) and needs to fit cleanly in the workflow. So I set up a JSF form to JAAS authentication based on this Ed Burns post: http://weblogs.java.net/blog/edburns/archive/2006/03/repost_using_ja.html After adding the ClientLoginModule to my authentication configuration (after the defined DatabaseServerLoginModule), this worked for me, but only for the course of one request. On the next click, org.jboss.security.SecurityAssociation.getPrincipal() returns null again. From reading the forum posts here, I gather that this is because the tomcat web container has not done the authentication, so the SecurityAssociation will not be propagated to the user's web tier session (or something like that). Questions: 1) is there some way for me to properly setup the SecurityAssociation or tomcat context realm from within my JSF ActionListener with the JAAS Subject or Principle after authentication? The goal being that the user will be an authenticated and functional web tier logged-in user after doing the JAAS authentication. 2) is there some way to pass the principle/credential captured in the JSF ActionListener to the tomcat authentication system for authentication instead of doing the JAAS LoginContext myself. The hope here being that tomcat/jboss can do it's usual security thing, and setup of the SecurityAssociation for me (without doing a visible redirect to j_security_check). Help doing one or the other, or pointing me to a new option would be greatly appreciated, Jonn View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931239#3931239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931239 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBossWS tutorial
The title says it all I am looking for a simple tutotrial that would help me in kicking start the project I am working on Here is what I want to do - EJB3 SLSB support webserviec - .Net client to the webservice - secure (authintication should be enought) the communication between my webservice and the .Net client Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931240#3931240 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931240 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Error while accessing Jportal server page
Dear Friends, The actual error log from server.log is as follows. ** 2006-03-20 10:25:27,531 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception java.lang.NullPointerException at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:129) at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getContext(PersistentPortalObjectContainer.java:147) 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.AttributeDispatcher.invoke(AttributeDispatcher.java:84) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:182) at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:343) at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:106) at $Proxy53.getContext(Unknown Source) at org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:73) 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 org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy57.doMapping(Unknown Source) at org.jboss.portal.core.CoreController.handle(CoreController.java:176) 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 org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy108.handle(Unknown Source) at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127) at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:35) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117) at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25) at
[JBoss-user] [EJB 3.0] - The selected configuration does not contain the expected EJB
I am using JBossIDE-1.5RC2-Bundle-win32.zip for IDE and jboss-4.0.4RC1.zip for Application Server. When I am going to create a new EJB3 project using IDE, I am getting the following error: 18:21:42,558 WARN [UDP] packet from /172.19.139.143:3781 has different version (0224) from ours (0227). This may cause problems 18:21:42,558 ERROR [UDP] exception=java.io.InvalidClassException: org.jgroups.stack.IpAddress; local class incompatible: stream classdesc serialVersionUID = -1999612243427863834, local class serialVersionUID = -8753594169997651306 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) at org.jgroups.protocols.PingHeader.readExternal(PingHeader.java:55) at org.jgroups.util.Marshaller.read(Marshaller.java:77) at org.jgroups.Message.readExternal(Message.java:491) at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:686) at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1294) at java.lang.Thread.run(Thread.java:595) Also, IDE is showing a messagebox containing a message that The selected configuration does not contain the expected EJB3 libraries. Please install JBoss with EJB3 libraries, or try another configuration. Please let me know the compatible versions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931242#3931242 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931242 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB3 Session Bean (Bean Managed Transaction) issue
For User Managed Transactions you can annotate your session bean with following annotation: @TransactionManagement(TransactionManagementType.BEAN) instead of EntityTransaction you can do a JNDI lookup for UserTransaction say : UserTransaction usrTx = (UserTransaction) ic.lookup(UserTransaction); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931244#3931244 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931244 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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] - error:could not create deployment .jar file
I am installing an application on jboss-3.2.5 and am getting the following error: 02:55:03,957 WARN [verifier] EJB spec violation: Bean : Transaction_fee Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's home interface in the home element. 02:55:03,974 WARN [verifier] EJB spec violation: Bean : Transaction_fee Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's remote interface in the remote element. 02:55:03,977 WARN [verifier] EJB spec violation: Bean : Transaction_type Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods. 02:55:03,979 WARN [verifier] EJB spec violation: Bean : Transaction_type Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's home interface in the home element. 02:55:03,981 WARN [verifier] EJB spec violation: Bean : Transaction_type Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's remote interface in the remote element. 02:55:03,984 WARN [verifier] EJB spec violation: Bean : Party_role Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods. 02:55:03,986 WARN [verifier] EJB spec violation: Bean : Party_role Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's home interface in the home element. 02:55:03,987 WARN [verifier] EJB spec violation: Bean : Party_role Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's remote interface in the remote element. 02:55:03,990 WARN [verifier] EJB spec violation: Bean : Filing_class Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods. 02:55:03,992 WARN [verifier] EJB spec violation: Bean : Filing_class Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's home interface in the home element. 02:55:03,999 WARN [verifier] EJB spec violation: Bean : Filing_class Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's remote interface in the remote element. 02:55:04,002 WARN [verifier] EJB spec violation: Bean : Contact_mechanism_purpose_type Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods. 02:55:04,003 WARN [verifier] EJB spec violation: Bean : Contact_mechanism_purpose_type Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's home interface in the home element. 02:55:04,005 WARN [verifier] EJB spec violation: Bean : Contact_mechanism_purpose_type Section: 16.2 Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's remote interface in the remote element. Can anybody help? Its urgent. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931245#3931245 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931245 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - JBoss Configuration for Production Environment
Hello, I am using JBoss 4.0.2 and my application is deployed as an EAR file into it. I wants to configure the Jboss AP server in production environment. Could you please any one help me out ... ONE MORE THING I want my application should be extracted into a temp folder while server startup. How can I acheive this .. Thanks in advance, Rajesh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931246#3931246 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931246 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: clustering tests in testsuite failed
i created a local.properties file in testsuite folder and gave node 0 and node 1 values as localhost and host name.still its failing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931247#3931247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931247 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: clustering tests in testsuite failed
For connecting two nodes im trying it directly View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931248#3931248 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931248 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - one JBoss4.0.3sp1 question
I copy the war package to the directory server/default/deploy of jboss4.0.3sp1.But when I use a client program to request,jboss server can't response.Actually,use Jboss2.4.9_Tomcat4.0 version,this client program can get response from the server.Do I need to deploy jboss4.0.3sp1? or other reason cause this problem? by the way, this Client is a socket program coded by java. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931249#3931249 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931249 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - one JBoss4.0.3sp1 question
I copy the war package to the directory server/default/deploy of jboss4.0.3sp1.But when I use a client program to request,jboss server can't response.Actually,use Jboss2.4.9_Tomcat4.0 version,this client program can get response from the server.Do I need to deploy jboss4.0.3sp1? or other reason cause this problem? by the way, this Client is a socket program coded by java. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931251#3931251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931251 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - one JBoss4.0.3sp1 question
I copy the war package to the directory server/default/deploy of jboss4.0.3sp1.But when I use a client program to request,jboss server can't response.Actually,use Jboss2.4.9_Tomcat4.0 version,this client program can get response from the server.Do I need to deploy jboss4.0.3sp1? or other reason cause this problem? by the way, this Client is a socket program coded by java. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931250#3931250 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931250 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - DataSource failover in JBOSS 4.0\Postgres database
We are running JBOSS 4.0.2 version and Postgres 8.0.3. We are trying for datasource faiover capability provided in JBOSS by providing ha-local-tx-datasource and url-delimiter configuration as mentioned in JBOSS Administration guide. (NOTE: A Normal connectivity without datasource failover configuration works fine) We are getting a NULL Pointer Exception while trying to get a connection when configured for datasource failover in *-ds.xml file and error displayed on console is as attached herewith: (ANY HELP will be very much useful) 12:23:11,102 INFO [HbmBinder] Mapping class: com.mphasetech.tvplus.sms.commons.valueobjects.STBAssetValue - stbasset_t 12:23:11,102 INFO [Configuration] processing extends queue 12:23:11,102 INFO [Configuration] processing collection mappings 12:23:11,102 INFO [Configuration] processing association property references 12:23:11,102 INFO [Configuration] processing foreign key constraints 12:23:11,336 INFO [NamingHelper] JNDI InitialContext properties:{} 12:23:11,336 INFO [DatasourceConnectionProvider] Using datasource: java:/com/mphasetech/tvplus/sms/biz/Defaul tDS 12:23:11,336 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null java.lang.NullPointerException at org.jboss.resource.adapter.jdbc.local.HALocalManagedConnectionFactory.doCreateManagedConnection(HAL ocalManagedConnectionFactory.java:82) at org.jboss.resource.adapter.jdbc.local.HALocalManagedConnectionFactory.createManagedConnection(HALoc alManagedConnectionFactory.java:75) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(In ternalManagedConnectionPool.java:508) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedCon nectionPool.java:207) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManaged ConnectionPool.java:534) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionMana ger2.java:395) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.j ava:297) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManage r2.java:447) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnecti on(BaseConnectionManager2.java:874) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:103) at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.ja va:59) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004) at org.hibernate.jmx.HibernateService.buildSessionFactory(HibernateService.java:64) at org.hibernate.jmx.HibernateService.start(HibernateService.java:40) 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:324) 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:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:914) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:418) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
[JBoss-user] [EJB 3.0] - Re: EJB3 Session Bean (Bean Managed Transaction) issue
Hi aakashvj, Thanks for the reply. You've got a great working post here. I think I still need to be more firmiliar with the annotation thingy... Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931253#3931253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931253 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - when AssignmentHandler be invoked?
i modifed the websale process as follow ,and deploy successfully ,but when i start the process ,all the AssignmentHandlers seems haven't been invoked , the actorid in swimlaneInstance table and in taskinstance table are all null.what's the problem? ?xml version=1.0 encoding=UTF-8? process-definition name=websale2006 !-- SWIMLANES (= process roles) -- !-- NODES -- start-state name=create new web sale order /start-state task-node name=evaluate web order salesman /task-node task-node name=fix web order data /task-node task-node name=wait for money /task-node accountancy application is now informed of the payment shipper ${shipper} now ships ${item} to ${address} end-state name=end / /process-definition View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931255#3931255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931255 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user