[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss EJB Lifecycle
You need to post more information. Exceptions, code samples, test cases, etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037428#4037428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with extended EL syntax.
Actually, you should have this in your component: | | @DataModel | List strings; | | @Factory("strings") | public void makeStrings() { | strings = new List(); | strings.add("Name1"); | strings.add("Name2"); | } | | And this in your page: | | | | Remember @Factory definition: "@Factory specifies that the method of the component is used to initialize the value of the named context variable, when the context variable has no value.". So if you should use a @Factory for a context variable, and that context variable is defined in this case using @DataModel. HTH. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037427#4037427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jboss have error when deploy
the erroe is like this: Incompletely deployed package : [EMAIL PROTECTED] :/c:/jboss-4.0.5.GA/server/iumis/deploy/ifms.ear} deployer : [EMAIL PROTECTED] status :deployment failed reason: Verification of Enterprise Bean failed, see above for error message state :FAILED WATCH : FILE:/c:/jboss-4.0.5.GA/server/iumis/deploy/ifms.ear altDD : null View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037425#4037425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Workflow process example
I've tried to define a simple workflow process. I have Spring, Hibernate and jbpm 3.1.5. While doing some prototypes, I've encountered 2 problems that I am not sure what are wrong. Any help is really appreciated. Thanks. 1) Using Hsqldb as a datasource, I can see some insert statements to the database when executing a statement like: ProcessInstance processInstance = new ProcessInstance(processDefinition); If I switch to Oracle 9.2.0 (by changing some xml file config), I don't see any update/insert statements. I can see some select statements for something like: ProcessDefinition processDefinition = context.getGraphSession().loadProcessDefinition(processDefintionId); 2) If I use Hsqldb so that I can do some insert/update to the database, but I get an exception if I do something like this: TaskInstance taskInstance = processInstance.getTaskMgmtInstance().createStartTaskInstance(); taskInstance.setActorId(actorId); // Save the process instance along with the task instance jbpmTemplate.saveProcessInstance(processInstance); The stack trace is: 0:117 PDT] 0023 SystemOut O Hibernate: call identity() [4/15/07 10:02:10:117 PDT] 0023 SystemOut O 2007-04-15 10:02:10,117 ERROR org.jbpm.db.GraphSession - org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.context.exe.VariableInstance [4/15/07 10:02:10:117 PDT] 0023 SystemErr R org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.context.exe.VariableInstance at org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3301) at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1311) at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180) at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:460) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:84) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:502) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:494) at org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:134) at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:213) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:157) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108) at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:290) at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:185) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:160) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108) at org.hibernate.engine.Cascade.cascade(Cascade.java:248) at org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:130) at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:121) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:65) at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:35) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:954) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1099) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at org.jbpm.db.GraphSession.findLatestProcessDefinitions(GraphSession.java:184) at springweb.controller.IndexController.handleRequestInternal(IndexController.java) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037426#4037426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - java.sql.SQLException: File input/output error: Unexpected
Hi all, i am new in this area. i have installed netbeans ide 5.5 daily bundled with jboss-4.0.4, when i am strting the jboss server using netbeans "run time tab", i am geeting following error. === . JBoss Bootstrap Environment . JBOSS_HOME: C:\jboss-4.0.4.GA\bin\\.. . JAVA: C:\Program Files\Java\jdk1.5.0_11\bin\java . JAVA_OPTS: -Dhttp.proxyHost=199.63.1.0 -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts="*.honeywell.com|*|localhost|127.0.0.1|ie10dtxp6b3zl1s|ie10dtxp6b3zl1s.global.ds.honeywell.com" -Dhttps.proxyHost=199.63.1.0 -Dhttps.proxyPort=80 -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 . CLASSPATH: C:\Program Files\Java\jdk1.5.0_11\lib\tools.jar;C:\jboss-4.0.4.GA\bin\\run.jar . === . 09:49:38,578 INFO [Server] Starting JBoss (MX MicroKernel)... 09:49:38,578 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) 09:49:38,593 INFO [Server] Home Dir: C:\jboss-4.0.4.GA 09:49:38,593 INFO [Server] Home URL: file:/C:/jboss-4.0.4.GA/ 09:49:38,593 INFO [Server] Patch URL: null 09:49:38,593 INFO [Server] Server Name: default 09:49:38,593 INFO [Server] Server Home Dir: C:\jboss-4.0.4.GA\server\default 09:49:38,593 INFO [Server] Server Home URL: file:/C:/jboss-4.0.4.GA/server/default/ 09:49:38,703 INFO [Server] Server Log Dir: C:\jboss-4.0.4.GA\server\default\log 09:49:38,703 INFO [Server] Server Temp Dir: C:\jboss-4.0.4.GA\server\default\tmp 09:49:38,703 INFO [Server] Root Deployment Filename: jboss-service.xml 09:49:39,046 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc. 09:49:39,046 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_11-b03,Sun Microsystems Inc. 09:49:39,046 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 09:49:39,703 INFO [Server] Core system initialized 09:49:41,000 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 09:49:46,453 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://199.63.66.250:3873/] 09:49:47,765 INFO [AspectDeployer] Deployed AOP: file:/C:/jboss-4.0.4.GA/server/default/deploy/ejb3-interceptors-aop.xml 09:50:00,609 INFO [WebService] Using RMI server codebase: http://ie10dtxp6b3zl1s:8083/ 09:50:02,609 INFO [MailService] Mail Service bound to java:/Mail 09:50:02,937 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory 09:50:02,937 WARN [NamingService] Context.PROVIDER_URL in server jndi.properties, url=localhost:1099 09:50:03,015 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher 09:50:03,796 INFO [Embedded] Catalina naming disabled 09:50:03,859 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. 09:50:03,859 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. 09:50:04,203 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080 09:50:04,203 INFO [Catalina] Initialization processed in 344 ms 09:50:04,203 INFO [StandardService] Starting service jboss.web 09:50:04,203 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17 09:50:04,250 INFO [StandardHost] XML validation disabled 09:50:04,265 INFO [Catalina] Server startup in 62 ms 09:50:04,406 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/ 09:50:04,890 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined 09:50:05,484 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp17170jbossws-exp.war/ 09:50:05,656 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ 09:50:06,781 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar 09:50:07,203 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar 09:50:07,312 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar 09:50:07,328 INFO [QuartzResourceAdapter] start quartz!!! 09:50:07,406 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 09:50:07,437 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 09:50:07,437 INFO [RAMJobStore] RAMJobStore initialized. 09:50:07,546 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 09:50:07,546 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 09:50:07,546 INFO [QuartzScheduler] Scheduler D
[jboss-user] [EJB 3.0] - Re: Where does stateful session bean's state kept?
Well it is kept at server side by the container, and it managed by the client through sessions. As the user the user request a stateful session bean a unique id is created for him at the server side and when he request it again he uses this id. that's all!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037423#4037423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss install
I have found the problem. i don't know how to resolve it. The JDK which i have installed is jdk1.0.5_11 In this rt.jar has 2 Portable object classes at 1.at com.sun.corba.se.impl.javax.rmi.PortableRemot eobject.narrow(PortableRemoteObject.java:229) 2.at javax.rmi.PortableRemoteObject.narrow(Portabl eRemoteObject.java:137) That is y when i copy the bean it was giving this exception. i need soln for this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037422#4037422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to locate NamespaceHandler for namespace [http://
No Mike. Not happening. And then, I am not able to run the Spring Example on jboss-4.0.5.GA. Please help sir. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037421#4037421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag
Oops, typo, the problem not only was an 's' it was namespace URL at all (https://). This sometimes happen ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037420#4037420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss install
/* * SessionTestServlet.java * */ package test.session; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import javax.naming.*; import javax.rmi.PortableRemoteObject; /** * @author Deepak Kumar * @Web http://www.roseindia.net * @Email [EMAIL PROTECTED] */ public class SessionTestServlet extends HttpServlet { MyTestSessionHome testSessionBean; public void init(ServletConfig config) throws ServletException{ //Look up home interface try { InitialContext ctx = new InitialContext(); Object objref = ctx.lookup("ejb/test/MyTestSessionBean"); testSessionBean = (MyTestSessionHome)PortableRemoteObject.narrow(objref, MyTestSessionHome.class); } catch (Exception NamingException) { NamingException.printStackTrace(); } } public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter out; response.setContentType("text/html"); String title = "EJB Example"; out = response.getWriter(); out.println(""); out.println(""); out.println("Hello World Servlet!"); out.println(""); out.println(""); out.println("Servlet Calling Session Bean"); try{ MyTestSession beanRemote; beanRemote = testSessionBean.create(); out.println(" Message from Session Bean is: " + beanRemote.SayHello() + ""); beanRemote.remove(); }catch(Exception CreateException){ CreateException.printStackTrace(); } out.println("Go to Home"); out.println(""); out.println(""); out.close(); } public void destroy() { System.out.println("Destroy"); } } deployment des: Example 3 Example 3 My Test Session Bean test/MyTestSession test.session.MyTestSessionHome test.session.MyTestSession test.session.MyTestSessionBean Stateless Container jboss.xml: test/MyTestSession ejb/test/MyTestSessionBean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037419#4037419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag
"alexg79" wrote : According to my research, Ajax4JSF + Facelets = bust. I disagree with you here. Facelets is a great technology to build the view on JSF applications, And Ajax4JSF is another one to AJAXify a JSF application. I know sometimes when something does not work like we want, we look for something to blame. I absolutely think this is not the case. Well, I download your example and configure it to Tomcat 5.5, which I'm using. I saw you had your project configured for JBoss 4.2, but I didn't care about it because the simplicity of your example. Using simple JSP page it worked fine. Using Facelets I got the exception you post here before (property instead action method). This was weird the first time, but then I found the cause for the problem was a simple 's'. I mean, you had this: | http://www.w3.org/1999/xhtml"; | xmlns:a4j="http//ajax4jsf.dev.java.net/ajax" | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | lang="en" xml:lang="en"> | ... | But, it should be: | http://www.w3.org/1999/xhtml"; | xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | lang="en" xml:lang="en"> | ... | Sorry, because I didn't see the error in the last code you post here. But sometimes to find this kind of errors one must have the code running. So, take care with the xhtml namespaces next time ;-) Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037418#4037418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: AccessControlException when looking up TopicConnectionFa
Ok, I figured it out. The solution for those facing the same problem: Make sure jboss-client.jar and jbossmq-client.jar are in your classpath and DO NOT set a security manager. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037417#4037417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with extended EL syntax.
Here's my take on it, I'm not a seam expert, but I have had my fair share of these types of problems. However, trying some or all of these ideas may help you out. I believe that the standard JSF way of accessing a list (i.e. MyBean.myList) isn't good enough for the enhanced EL syntax, nor for the DataModelSelection, you need to make into a "seam variable". You can see this in action in the UI demo in the examples directory, just look at the Factories.java code : | @Name("factories") | public class Factories | { |@Factory("honorifics") |public Honorific[] getHonorifics() { | return Honorific.values(); |} | | } | | I'm guessing here, they provide a method which can be used to generate the honorifics array and provide it as a seam contexted variable called "honorifics" So, in your action bean (you didn't say what datatype strings is (list, array etc), but assuming a list), you have : | | List strings; | | @Factory("strings") | public makeStrings() { | strings = new List(); | strings.add("Name1"); | strings.add("Name2"); | } | | In your page, you use : | http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037416#4037416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: questions about GPD
good,thank you very much View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037415#4037415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Where does stateful session bean's state kept?
So it doesn't use HttpSession on the underlayer? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037414#4037414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Many-to-Many and cascade pronlem ?
Hi, I tried to use CascadeType.REMOVE, but it got the same result. I just want to remove the USER and its relationship when removing a user. Please help, I tried many ways but also failed. Best regards, Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037413#4037413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Many-to-Many problem
SORRY, SEND A WRONG MESSAGE ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037412#4037412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Many-to-Many problem
Hi, I tried to use CascadeType.REMOVE, but it got the same result. I just want to remove the USER and its relationship when removing a user. Please help, I tried many ways but also failed. Best regards, Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037411#4037411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need help on deploying seam-mail example!
Hi Peter, Thank you so much for the quick reply. I will try it on JBoss4.2.0CR1. Thanks again. Best regards, Gus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037410#4037410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need help on deploying seam-mail example!
Seam CVS is now running on JBoss 4.2.0.CR1. The snapshot you mention should be fine, but take todays to be on the safe side. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037408#4037408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scope and Best Practices
Thank you for the prompt response and for the Wiki! I've been working on a paging and sortable datatable view, but kept fumbling around with parameters (firstRow, noRows, sort column, etc) and how best to pass them around/scope them. I landed on a temporary conversation and using page parameters for the parameters not explicitly used in the page (sort column). It seems to work, but was wondering if changing it to a long running conversation made more sense. But then I worried about the "lingering" conversation if the user navigated away in an unexpected way. As you said in the Wiki, perhaps its not worth worrying about since it will eventually time out. I'll take a look at the Seam gen tool as suggested as well and see how does things. Thanks again! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037407#4037407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Need help on deploying seam-mail example!
Hi there, I tried to deploy the mail example of Seam-CVS20070414 into JBoss4.0.5GA, but I always got the following exceptions. Any guidance will be very appreciative. Thank you very much in advance. org.jboss.deployment.DeploymentException: url file:/D:/Servers/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/activation.jar could not be opened, does it exist? | at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214) | at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1137) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:884) | | | org.jboss.deployment.DeploymentException: url file:/D:/Servers/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jsr173_1.0_api.jar could not be opened, does it exist? | at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214) | at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1137) | | | org.jboss.deployment.DeploymentException: url file:/D:/Servers/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jaxb1-impl.jar could not be opened, does it exist? | at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214) | at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1137) | | | 2007-04-15 18:38:41,203 DEBUG [org.jboss.cache.TreeCache] failed looking up TransactionManager, will not use transactions | javax.naming.NameNotFoundException: TransactionManager 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) | | | 2007-04-15 18:38:55,406 DEBUG [org.jboss.system.ServiceController] starting service meldware.mail:type=MailServices,name=UserEditor | 2007-04-15 18:38:55,484 WARN [org.buni.meldware.mail.usereditor.db.DBUserEditorImpl] could not create user or role table | 2007-04-15 18:38:55,484 ERROR [STDERR] java.lang.RuntimeException: java.sql.SQLException: Table already exists: MAIL_USERS in statement [CREATE TABLE MAIL_USERS] | 2007-04-15 18:38:55,484 ERROR [STDERR] at org.buni.meldware.mail.usereditor.db.DBUserEditorImpl.executeStatement(DBUserEditorImpl.java:189) | 2007-04-15 18:38:55,484 ERROR [STDERR] at org.buni.meldware.mail.usereditor.db.DBUserEditorImpl.start(DBUserEditorImpl.java:156) | 2007-04-15 18:38:55,484 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | | | 2007-04-15 18:38:55,593 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) ) | java.sql.SQLException: Table already exists: JMS_MESSAGES in statement [CREATE CACHED TABLE JMS_MESSAGES] | at org.hsqldb.jdbc.Util.throwError(Unknown Source) | at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source) | at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251) | at org.jboss.mq.pm.jdbc2.PersistenceManager.createSchema(PersistenceManager.java:277) | at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1796) | | | 2007-04-15 18:38:55,593 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE CACHED TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) ) | java.sql.SQLException: Table already exists: JMS_TRANSACTIONS in statement [CREATE CACHED TABLE JMS_TRANSACTIONS] | at org.hsqldb.jdbc.Util.throwError(Unknown Source) | at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source) | at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251) | at org.jboss.mq.pm.jdbc2.PersistenceManager.createSchema(PersistenceManager.java:352) | at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1796) | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037406#4037406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scope and Best Practices
I used your questions to create a wiki entry - http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamScopeFAQ and merged in Felix's answers as well View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037405#4037405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Using CsIL
Hi Markus, The sample application has been added to cvs, along with some instructions for use. I also added a new binary download that includes the new samples and instructions. You should be able to use the sample application to validate your jboss configuration. I tried to put everything into the step by step how to, so please let me know if you find any discrepancies. Once you have a working configuration, you should be able to reference the source code to the sample application to get your own client code working. You should be able to reach everything via http://sourceforge.net/projects/csil/ Good luck, and please let me know if you encounter any further issues. Just guessing, but I think you probably had a port conflict between XIL2 and UIL2, which ships with the default JBoss4.0.5 distribution. I've updated the default XIL2 configuration to use a different port. Thanks for using CSIL, fawce View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037404#4037404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Many-to-Many and cascade pronlem ?
anonymous wrote : When I tried to remove User, it will remove all the roles in the ROLE that the user has and also all the related records in the USER_ROLE_LINK. | I would say this is the expected behavoiour. You asked to remove the user and all of his roles. anonymous wrote : | And how can I remove all the users that a role have when remove a ROLE ? | Have you tried removing the CasadeType.ALL and replace it with the cascade types you actually want? Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037403#4037403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scope and Best Practices
anonymous wrote : | I can see how its not scalable to keep a large data model in memory for the duration of a user's session, but it seems equally non-scalable to query the database each time the user interacts with the page it supports. | I consider both bad practice. You should only fetch the data you actually need - not the whole data from the database. If you're resultset is large you should scroll over the resultset and fetch only the data actually displayed. This is where converstations come in. You can have different subsets of a resultset to display in different windows. This is not possible with session scope as the results would overwrite each other. The other advantage is that you can "clean out" the conversation context with a single annotation while you have to remove components from session scope explicitly. However sometimes you do want that data is shared between different browser windows. This is were you have to use session scope. anonymous wrote : | I thought I'd ask the users how they use Scope? | IMHO it boils down to this: If your user is only using a single browser instance and you never and your long running converation performance will be exactly like using session scope. If your user uses multiple browser windows to access your application that do not share data you have to use conversations. If you end conversation now and then you will save memory compared to using session scope you do not clean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037402#4037402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: I need a hello world example
http://wiki.jboss.org/wiki/Wiki.jsp?page=StarterSkeletonEclipseProject View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037401#4037401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Scope and Best Practices
Hello, I'm very new to Seam and have been searching around the documentation and forums for some guidelines and best practices with regard to component scope. The documentation mentions in several places that SESSION scope is frowned upon and/or used sparingly. Yet, nearly all the examples use it, especially those dealing with the DataModel. I can see how its not scalable to keep a large data model in memory for the duration of a user's session, but it seems equally non-scalable to query the database each time the user interacts with the page it supports. I've experimented with long running conversations, etc, but then I have to make sure I end the conversation somehow when the user navigates away from the page. I guess before I get myself too contorted trying to figure out the best way to do something, I thought I'd ask the users how they use Scope. When do you use SESSION and when do you use CONVERSATION? Do you use long running or the temporary conversations? If long running, how to handle the user jumping to another page via a link or bookmark? Also, if you have a page with a table for example that supports paging, what scope do you use? Thanks in advance for your help, Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037399#4037399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Having problems looking up a Seam component in the JNDI
The newer Embedded JBoss5 container supports remote EJB/JNDI by the way, check the wiki. Now we only need a release of this and someone who will update all the Seam examples and the testing framework :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037398#4037398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Having problems looking up a Seam component in the JNDI
anonymous wrote : | java:comp/env/ejb/TestConnectionBean/local | This just not the right JNDI lookup to get a remote EJB handle. I'm not sure what the right lookup is (definitely not with an ENC prefix) and if the old E-EJB3 container even supports remote JNDI/remote EJBs. I don't think it does. All of this has not much to do with Seam, though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037397#4037397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag
Ok, I've been busy trying to figure out WTF is wrong with this. According to my research, Ajax4JSF + Facelets = bust. I created a very simple page with one managed bean, no Seam involved. causes an error message if Facelets is involved, but works fine on the corresponding JSP page. If I change a4j:commandLink to h:commandLink, then even the facelets page renders fine. You can download the test project here: http://paradoxx.dyndns.org/TestWeb.tar.gz I tried several different versions of both Facelets and Ajax4JSF, to no avail. I have no idea what to do :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037392#4037392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: I need a hello world example
http://docs.jboss.org/ejb3/app-server/tutorial/stateless/stateless.html looks good, but where's the build script it mentions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037391#4037391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - I need a hello world example
I'm just looking for the most simple example - perhaps a single "hello world" method in a stateless session bean with an ant script to build it and preferably an example of how to call it, but I just can't find one anywhere - any suggestions? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037389#4037389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
Mainly I use the following class for consistent dialog handling for trinidad: package de.livemediagroup.dialog; | | import java.util.Hashtable; | import java.util.Map; | | import org.apache.myfaces.trinidad.context.RequestContext; | import org.apache.myfaces.trinidad.event.ReturnEvent; | | public final class Dialog { | | public static final String CONFIRM = "confirm"; | | public static final String CANCEL = "cancel"; | | public static Map createReturnParameterMap() { | return new Hashtable(); | } | | @SuppressWarnings("unchecked") | public static void cancelDialog() { | RequestContext.getCurrentInstance().returnFromDialog(CANCEL, createReturnParameterMap()); | } | | @SuppressWarnings("unchecked") | public static void confirmDialog(Map returnParameters) { | RequestContext.getCurrentInstance().returnFromDialog(CONFIRM, returnParameters); | } | | public static boolean isConfirmed(ReturnEvent event) { | Object returnValue = event.getReturnValue(); | return ((returnValue != null) && (returnValue.equals(CONFIRM))); | } | | public static boolean isCanceled(ReturnEvent event) { | Object returnValue = event.getReturnValue(); | return ((returnValue == null) || (returnValue.equals(CANCEL))); | } | | } | when wanting to confirm a dialog i use the following code: | public void saveUser() { | Map returnParameters = Dialog.createReturnParameterMap(); | returnParameters.put("user", currentUserInformation); | Dialog.confirmDialog(returnParameters); | } | a return listener gets activated when returning from my dialog: | public void processReturn(ReturnEvent event) | throws AbortProcessingException { | if (!Dialog.isCanceled(event)) { | for (Object object : event.getReturnParameters().values()) { | PersistableObject pObject = (PersistableObject) object; | saveObject(pObject); | getEntityManager().flush(); | } | refresh(); | getNotifier().notifyDialogEnd(); | } | clearHandledEntity(); | } | The snippet that activates the dialog, e.g.: | | | | getNotifier is a simple, yet powerful goodie, because PPR updates can only occur on components that are below my triggering component. My Notifier is the first UI component so when I trigger it I can also PPR components which are before my commandLink that triggers the dialog. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037388#4037388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - New Portal User. So Many Options. Which to use?
I am a new Developer starting to work with JBoss Portal. There seem to be so many different options and combinations. Can someone with a little exprience with portal please advise. Here is a little background. Test OS is Windows but production (3 months from now) will Sun or Linux. Database will be Oracle. I would like to use Oracle because we currently run Oracle apps and will be interfacing with it for our User list. To setup the different than default database it looks like I should get the Portal that does not contain JBoss AS. If so what version of JBoss AS. What Portal version should I use? Should I setup up the Oracle database with AS before installing Portal? Is there a seperate Portal Database setup? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037387#4037387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
I was using the bindings more because that was the example of how to use the dialogs with the Trinidad documentation. If I didn't want to use bindings (which I don't really have a preference), how can I update the field on the calling page from the dialog selection. How do you use dialogs? The use case is: - open an edit screen (conversation start) - fill in some information - click an icon to popup a "lookup" window - select a value - which fills in the value on the calling window - fill in remaining info - save button (persist objects / end conversation) Right now we are using our home grown javascript to do the lookup. I thought we could replace it with the Trinidad dialog stuff - particularly since we are going to be using that component framework. Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037386#4037386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Container uses different table name
Hi JBoss, I'm trying to deploy an old ear (developped 5 years ago) on a JBOSS 4.2.0-CR1. After updating few jars (mysql driver, xerces, ...) my deployment succeed. So I tried to use my application but it doesn't want to work : I can't log on my web site even if user I used was well present in table (USER). Checking my data base content, I realised that a new table was present : XUSER. I inserted in this new table the same row than in USER for my login and it works ?? Can somebody explain to me why it is not my table USER that it is used ? Thx for help Jo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037385#4037385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037385 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Can't use FacesMessages.addToControl from Drools within Page
Hi First, sorry for my bad english. I'm getting some troubles with adding message to particular control on ajax4jsf-using page. It looks like this. I click button on page, it use pageflow to run some drools, each of them can add messages to control (like validation), but messages appears as "global". I've watched FacesMessages code and found, what it calculates real clientId immidiately in call "add". In my scenario page on which i press "save" differ from that one what show messages, so it's wrong to calculate clientId in this manner. I changed FacesMessages to calculate clientId in beforeRenderResponce. But... I've found, what i have empty ajax component tree. I've made a little workaround, in cases, when calculated clientId is null, i pass key value as clientId, it solves problem for me, but seems to be a hack, because i need to pass calculated clientId as key to make it working. What wrong in case of ajax-page? Why component tree is empty in renderResponce? Is it right, what clientId calculated immidiately in "add"? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037383#4037383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037383 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - AccessControlException when looking up TopicConnectionFactor
Jboss-4.0.5.GA Hi there, I'm trying to subscribe to to a topic with a client (not running in jboss). However, a lookup results in a: AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve) I can lookup the remote interfaces, so I suspect that this is somehow related to the security settings of TopicConnectionFactory. Any ideas? Your help is appreciated! I set System.setSecurityManager(new RMISecurityManager()); topicConnectionFactory = (TopicConnectionFactory) | jndiContext.lookup("TopicConnectionFactory"); javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: java.security.AccessControlException: access denied (java.net.SocketPermission 230.0.0.4 connect,accept,resolve) [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at de.fumbs.test.MessageListenerTest.(MessageListenerTest.java:68) at de.fumbs.test.MessageListenerTest.main(MessageListenerTest.java:175) Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385) ... 5 more Caused by: java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264) at java.security.AccessController.checkPermission(AccessController.java:427) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034) at java.net.Socket.connect(Socket.java:513) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.(Socket.java:366) at java.net.Socket.(Socket.java:266) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239) ... 6 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037382#4037382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037382 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Having problems looking up a Seam component in the JNDI
"8" wrote : I asked the same question in the EJB3 forum a while back and I didn't get a reply there either. I did not make any progress on this issue (and abandoned it). So unfortunately, I can't offer much help... Thanks... Anyone from the Seam team ? Please ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037381#4037381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037381 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Large Data Tables in Seam - feedback welcome
Well, I "think" I solved my own problem. I was able to use the temporary conversation after all. My problem was that I was using s:link for my row level commands instead commandLink. I read in another post that s:link does submit the form, etc. None the less, I am curious as to how you went about it. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037379#4037379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037379 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Soap with attachments
Would like to know how to support soap message with attachments in jbossws 1.2.0 SP1. Do I need to define multipart section in my wsdl? The wsdl i got didn't specify any mime sections. I created my own provider. Whenever I send a soap with attachment, the jboss will throw a timeout error and it does not reach the provider. I am using saaj and the message is something like this --=_Part_0_22691179.1176653070718 Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: binary Content-Id: soap xml --=_Part_0_22691179.1176653070718 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-Id: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037378#4037378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037378 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Large Data Tables in Seam - feedback welcome
This looks cool. I'm new to seam and have been mucking around with paging data models as well. Question: you said you use conversational scope. Do you create a long running conversation or do you just use the temporary one created for you? If long running, how do you end it when the user just jumps to another page that may itself require a long running conversation? If temporary, do you have any links that invoke methods like "editRow(row)" and if so do you get null for row? I have and have used long running conversations to deal with it, but then struggle with the above. Again, these are probably silly questions, but I'm new to all this. Any help/suggestions is greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037377#4037377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037377 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: SOAP Message with Body of any type
Thanks! got it to work cause of your suggestion. Btw, my previous wasn't really clear. I wanted to create a soap service in which the body is dynamic. I have no choice since the wsdl I got defined it that way. Problem is that the classes i generated using wsconsume expected the first child element of the soap body to be always the same. Same as the element name used in wsdl. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037376#4037376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037376 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - jboss 4.2.0 JCA jndi error
Hi all, I set up an application on Jboss AS 4.2.0 and encountered the following error : javax.persistence.PersistenceException: org.hibernate.cache.CacheException: javax.management.MalformedObjectNameException: Invalid character ':' in key part of propert The datasource is registered as: [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=netcomDS' to JNDI name 'java:netcomDS' but the reference in persistence.xml gives the above error. Please help me solve this issue. BR, Alecs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037372#4037372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037372 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Many-to-Many and cascade pronlem ?
Hello, In the following code, User and Role. When I tried to remove User, it will remove all the roles in the ROLE that the user has and also all the related records in the USER_ROLE_LINK. For example, User u = new User(); Role a = new Role("A"); Role b = new Role("B"); // persist a and b ArrayList roles = new ArrayList(); roles.add(a); roles.add(b); u.setRoles(roles); //persist u . em.remove(u); For the above codes, it wiil cause the problem that I described above. How can I only remove the User and the related records in the USER_ROLE_LINK when tried to remove a single user? And how can I remove all the users that a role have when remove a ROLE ? | public class User { | | ... | @ManyToMany (cascade=CascadeType.ALL, | mappedBy = "users", targetEntity = Role.class) | public Collection getRoles() { | return roles; | } | | ... | | } | | | public class Role { | ... | @ManyToMany (fetch = FetchType.EAGER, targetEntity = User.class, cascade=CascadeType.REMOVE) | @JoinTable (name = "USER_ROLE_LINK", joinColumns = { |@JoinColumn (name = "ROLENAME") | }, inverseJoinColumns = [EMAIL PROTECTED] (name = "USERNAME") | }) | public Collection getUsers() { |return users; | } | | ... | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037370#4037370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037370 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to run a timer
Hi again According to some posts on this forum, I added these lines to my web.xml : | | JbpmThreadsServlet | org.jbpm.web.JbpmThreadsServlet | 1 | | | JbpmThreadsServlet | /threads | | But now every 5 seconds I see an exception : anonymous wrote : | org.hibernate.HibernateException: /hibernate.cfg.xml not found | at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147) | at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1287) | at org.hibernate.cfg.Configuration.configure(Configuration.java:1309) | at org.hibernate.cfg.Configuration.configure(Configuration.java:1296) | at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:93) | at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:68) | at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90) | at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74) | at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78) | at org.jbpm.persistence.db.DbPersistenceService.getMessagingSession(DbPersistenceService.java:234) | at org.jbpm.JbpmContext.getMessagingSession(JbpmContext.java:411) | at org.jbpm.msg.db.DbMessageService.(DbMessageService.java:49) | at org.jbpm.msg.db.DbMessageServiceFactory.openService(DbMessageServiceFactory.java:32) | at org.jbpm.svc.Services.getService(Services.java:136) | at org.jbpm.svc.Services.getMessageService(Services.java:172) | at org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExecutorThread.java:111) | at org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.java:79) | (I'm using springmodules to integrate jbpm to my project, so I have not any hibernate.cfg.xml file) Any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037369#4037369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037369 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - SSO between 2 JBoss instances
I'm running 2 JBoss instances on the same host. i tried to use SSO between them (by setting the Tomcat Valve parameter. the 2 isntances are configured exatcly the same (only ports are different). The SSO doesn't work - what am i missing here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037368#4037368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037368 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Error deploying jpbm-console 3.2
I downloaded jbpm 3.2 and ran the new mssql scripts to create the new schema. When I tried to deploy the jbpm-console.war in my JBossAs.4.0.5.GA (ejb3) installed server I get the following exception: | 2007-04-15 09:17:38,268 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | 2007-04-15 09:17:38,268 DEBUG [org.jbpm.persistence.db.DbPersistenceService] closing hibernate session | 2007-04-15 09:17:38,268 DEBUG [org.jbpm.svc.Services] closing service 'tx': [EMAIL PROTECTED] | 2007-04-15 09:17:38,268 ERROR [org.jbpm.job.executor.JobExecutorThread] exception in job executor thread. waiting 1 milliseconds | org.jbpm.JbpmException: couldn't get acquirable jobs | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:44) | at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:111) | at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) | Caused by: org.hibernate.exception.SQLGrammarException: could not execute query | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) | at org.hibernate.loader.Loader.doList(Loader.java:2147) | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028) | at org.hibernate.loader.Loader.list(Loader.java:2023) | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393) | at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) | at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121) | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) | at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:780) | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40) | ... 2 more | Caused by: java.sql.SQLException: Line 1: Incorrect syntax near '@P0'. | at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:365) | at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2781) | at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2224) | at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:628) | at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:418) | at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuery(JtdsPreparedStatement.java:693) | at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236) | at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186) | at org.hibernate.loader.Loader.getResultSet(Loader.java:1668) | at org.hibernate.loader.Loader.doQuery(Loader.java:662) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) | at org.hibernate.loader.Loader.doList(Loader.java:2144) | ... 11 more Any Ideas what this is caused by? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037367#4037367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037367 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Factory.. not being called when I first use the bean?
anonymous wrote : | @Factory("categoriesSet") // Is run whenever this bean is created. | This is not what factory methods do. Check the docs, factories are used when a contextual variable needs to be resolved and it is null. You probably want @Create. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037363#4037363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037363 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Form submit using javascript and how to send to a handle
I did at one point just add a button called "update" to force a page re-fresh. When in immediate=false mode did not pass back the changes I made to the radio buttons (seems sensible) When in immedaite=true mode caused problems with complaining that it could not convert an Enum to a string. I THINK this is a bug but I am not expert enough at Seam/JSF to really know.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037362#4037362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037362 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Factory.. not being called when I first use the bean?
Is this correct as initCategories is not being called! I can call another routine in the bean and categoriesSet is empty. (I have run this with breakpoints and it is really not being called) | | @CacheConfig(idleTimeoutSeconds=1800) // This keep the object "alive" longer than the session. | @Stateful // A component stays in existance for the duration of the Scope (conversation in this instance). | @Name("categoryController") // Name used within SEAM for an instance of this class. | @Scope(ScopeType.SESSION) // Scope that this class exists in. | public class CategoryControllerImpl implements Serializable, CategoryController { | | /** | * Inject and leverage the Seam Logger. | */ | @Logger | private Log log; | | /** | * Inject the EJB3 Persistance context in EXTENDED mode so will remain "current" over | * multiple clinet/server round trips. | */ | @PersistenceContext(type = EXTENDED) | private EntityManager em; | | /** | * The categories | */ | private Set categoriesSet = new LinkedHashSet(); | | @Factory("categoriesSet") // Is run whenever this bean is created. | public void initCategories() { | log.error("> initCategories"); | Query query = em.createQuery("from Category"); // TODO trim for date etc. | List categoryList = query.getResultList(); | categoriesSet.addAll(categoryList); |// Linked hash set preserves order (could use tree if we wanted to order them - add a coparator function). | log.debug("< initCategories"); | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037361#4037361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037361 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Form submit using javascript and how to send to a handle
As no one could aswer this I totally re-designed the site. Not its broken down into lots of steps so that that there are lots of button presses that allow me to configure the next step. Seems a real issue that you cant just force a page submit because I want to redisplaythe page. I suppose Ajax/IceFaces/etc. isthe answer for this though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037360#4037360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037360 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to run a timer
Hi All I want to use timer for a task but I'm not sure about the way. I have added a timer to my task node(avan-task-node is extended from task-node), but it does not work. I expect that after 30seconds the node is leaved to "someTransition" | | | | . | . | . | | | Is it correct? Should I do anything else? e.g. should I add something to web.xml to run a scheduler thread? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037359#4037359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037359 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - JBoss 4.0.4 GA with EJB 3.0_RC-8-FD
Subject. Anybody, can help me. When i can deployment my ejb application jboss log this: at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)14:39:06,046 INFO [EJB3Deployer] Deployed: file:/D:/develop/java/my_first_ejb3/MyEjb/MyEjb.jarIncomplete Deployment listing:--- MBeans waiting for other MBeans ---ObjectName: jboss.j2ee:service=EJB3,module=MyEjb.jar State: FAILED Reason: java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---ObjectName: jboss.j2ee:service=EJB3,module=MyEjb.! jar State: FAILED Reason: java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1367) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774) at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvok! er.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServer Impl.java:659) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)at org.jboss.m! x.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.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.s! erver.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.in vocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) at sun.rmi.transport.Transport$1.run(Tra
[jboss-user] [EJB 3.0] - Re: Lazy byte array gets loaded on query
Hello, I've got the same problem. But switching to a Blob attribute didn't help: it is still loading BLOB column in a query! I played with hibernate.bytecode.use_reflection_optimizer but got the same result. Another idea was calling hibernate's javassist instrument task during building the application. It affected the exception during deploying: javax.persistence.PersistenceException: org.hibernate.MappingException: Could no t determine type for: org.hibernate.bytecode.javassist.FieldHandler, for columns : [org.hibernate.mapping.Column(fieldHandler)] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Con figuration.java:698) Any ideas? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037357#4037357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037357 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
chane, I'm glad you got it sorted out. However, you might want to consider not using bindings at all. To me they are actually the most useless feature of JSF... I actually didn't quite figure out why you are using the bindings at all?! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037356#4037356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037356 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB Timer service
Hello, I want to set a timer and a method to be invoked when timer expires periodically. When I have a session bean's method annotated with @Timeout, that method keeps being invoked repeatedly when Jboss starts up, even before the code create a Timer using TimerService. Is there a default timer created somewhere in Jboss and that timer is global, i.e any @Timeout method of any session bean would be called when the default timer expires? Also, it seems the period of invoking the method is about 10 seconds as I observed on my system. Could someone help explain how timer should be set up and used in Session bean? Thanks a lot, LNgo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037355#4037355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037355 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Weird startup error when testing - orgm.jbpm.msg.Message
Could it be that you're running jbpm-3.2 with a hibernate.cfg.xml from jbpm-3.1. The mapping file org/jbpm/msg/Message.hbm.xml isn't specified in the hibernate.cfg.xml distributed with jbpm-3.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037354#4037354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037354 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: I can't instantiate the InstanceImpl class.
It is not a public API and it is therefore subject to changes (improvements). Nevertheless instances are container managed object managed by the InstanceContainer. You need to inject it in your PortletContext. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037353#4037353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037353 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 MDB One Implementation Multiple Deployments
So obvious when you take a step back from the problem. The deployment via the incomplete annotations is the problem. Thanks for the pointer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037352#4037352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037352 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Accessing EJB through HTTPS Invoker
Hi slevy, I've already solved this a while ago, but in any case - you're right. the configuration of RMI over HTTP can be done in the client side by setting the following properties: java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory java.naming.provider.url=http://localhost:8080/invoker/JNDIFactory there's no need to configure any ports in the /http-invoker.sar/META-INF/jboss-service.xml (unlike some tutorials state). hope this helps others that have the same problem. Elad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037350#4037350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037350 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user