[JBoss-user] [Installation, Configuration & Deployment] - Re:
complete command prompt content is as follows for my earlier post C:\jboss-4.0.2\bin>run === . JBoss Bootstrap Environment . JBOSS_HOME: C:\jboss-4.0.2\bin\\.. . JAVA: C:\j2sdk1.4.2_10\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH: C:\j2sdk1.4.2_10\lib\tools.jar;C:\jboss-4.0.2\bin\\run.jar . === . 13:12:36,423 INFO [Server] Starting JBoss (MX MicroKernel)... 13:12:36,423 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_ 4_0_2 date=200505022023) 13:12:36,423 INFO [Server] Home Dir: C:\jboss-4.0.2 13:12:36,423 INFO [Server] Home URL: file:/C:/jboss-4.0.2/ 13:12:36,423 INFO [Server] Library URL: file:/C:/jboss-4.0.2/lib/ 13:12:36,423 INFO [Server] Patch URL: null 13:12:36,423 INFO [Server] Server Name: default 13:12:36,423 INFO [Server] Server Home Dir: C:\jboss-4.0.2\server\default 13:12:36,423 INFO [Server] Server Home URL: file:/C:/jboss-4.0.2/server/default / 13:12:36,423 INFO [Server] Server Data Dir: C:\jboss-4.0.2\server\default\data 13:12:36,423 INFO [Server] Server Temp Dir: C:\jboss-4.0.2\server\default\tmp 13:12:36,423 INFO [Server] Server Config URL: file:/C:/jboss-4.0.2/server/defau lt/conf/ 13:12:36,423 INFO [Server] Server Library URL: file:/C:/jboss-4.0.2/server/defa ult/lib/ 13:12:36,423 INFO [Server] Root Deployment Filename: jboss-service.xml 13:12:36,439 INFO [Server] Starting General Purpose Architecture (GPA)... Failed to boot JBoss: java.lang.RuntimeException: Cannot create MBeanServer at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:224) at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServer BuilderImpl.java:56) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory .java:320) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFact ory.java:223) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:369) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315) at org.jboss.Main.boot(Main.java:195) at org.jboss.Main$1.run(Main.java:463) at java.lang.Thread.run(Thread.java:534) Caused by: javax.management.RuntimeOperationsException: Exception occured in Mod elMBeanOperationInfo constructor at javax.management.modelmbean.ModelMBeanOperationInfo.(ModelMBean OperationInfo.java:278) at org.jboss.mx.metadata.MBeanInfoConversion.toModelMBeanInfo(MBeanInfoC onversion.java:122) at org.jboss.mx.modelmbean.XMBean.(XMBean.java:214) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB eanRegistry.java:180) at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:200) ... 8 more Caused by: java.lang.IllegalArgumentException: Invalid descriptor passed in para meter ... 13 more Press any key to continue . . . Please let me know how to fix this. thanks, Srinivas. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925528#3925528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925528 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Authentication occures many times
j2ee_junkie, As I?ve told earlier: 1) I use an EJB. getAuthenticationCachePrincipals() returns [admin] 2) I log out. By timeout or by flushAuthenticationCache(). No other way. getAuthenticationCachePrincipals() returns [] (empty list) 3) I login again (call an EJB). getAuthenticationCachePrincipals() returns [admin] 4) as 2). My credential object doesn?t implement Comparable. Instead, it overloads equals( Object o ). What happens in spite of it should NOT happen: after the CACHE is FLUSHED the DIFFERENT credentials are COMPARED!!! This means that something still remains cached!!! Is it a bug? Or can I access this buffer and flush it too?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925527#3925527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925527 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Problem starting the JBoss server 4.0.2
I am getting the following error while starting jboss 4.0.2 default server Failed to boot JBoss: java.lang.RuntimeException: Cannot create MBeanServer at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:224) at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServer BuilderImpl.java:56) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory .java:316) etc I am using JDK1.4.2_10 set as JAVA_HOME. Server starts perfectly if i set JAVA_HOME pointing to jdk1.5_04. but I have to use jdk1.4.2_10 only for my development work. Please let me know how to fix this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925526#3925526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925526 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - OutofMemory Problem
Hi, We developed one application using Macromedia Flex,Spring,Hiberante and Oracle. Flex<->Spring<->Hibenramte->Oracle When we deploy war file in JBoss AS(JBoss 4.0.1sp1) ,the application performance is very low and its giving "OutofMemory" Error in server console. My application war file size is 34MB. any help is greatly appreciate. Regards, Jagadeesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925525#3925525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925525 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Edit JBoss generated SOAP message
Maybe this will help you: http://wiki.jboss.org/wiki/Wiki.jsp?page=WSHandler View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925524#3925524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925524 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Error in last nighty build
and ? :) the source code uses your mapping files or the reverse engineered stuff...and if that contains composite keys the Seam stuff currently breaks down. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925523#3925523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925523 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Pagination total page count
Yes that's what I currently do. I perhaps should have specified that I was looking for a little more of an elegant solution like some of the pagination examples using the hibernate scrollableResultset. Never mind, I'll just do it in two queries. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925522#3925522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925522 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: EJB and Http load balancing
Do you have a web app? The wiki page you reference is talking about a webapp load balancer. Suggest you start with the Clustering docs. http://docs.jboss.org/jbossas/clustering/JBossClustering7.pdf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925521#3925521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925521 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Edit JBoss generated SOAP message
Hi all, I'd like to be able to programatically access JBoss generated SOAP messages (so I can add extra information) before: a) the message leaves from the server and heads to the client, or b) the message leaves from the client and heads to the server. A bit more information to help explain: I'd like the SOAP message generated by the web-service application to be digitally signed before it is sent to the server (or vice-versa). I'm not using X.509 certificates for this so cannot use the instructions on http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecuritySignExample. I'm basically looking to implement the information on that link but with finer control. There's probably some way to filter/edit the messages that I don't know about.. anyone able to help? Thanks heaps :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925520#3925520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925520 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: a question about fault tolerance during DIY Jboss JNDI
Dear Scott, Thanks for your reply. Yes, you are right that what I?d like to do breaks rules. I want to do it because Jboss implementation is a mine of technology. I think DIY may lead me into the world of it. On the other hand, I am facing a task of migrating applications to Jboss without changing them. Because many of applications are not well developed. I think I should pay more attention to jboss interceptors but I am failed to find interceptors of Naming. :-( Could you give my any tip? Thanks! Niklaus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925519#3925519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925519 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - EJB and Http load balancing
Dear all, Let me know when we have stateless session bean do we need to do both EJB and http load balancing. http://wiki.jboss.org/wiki/Wiki.jsp?page=HTTPLoadbalancer doesn't explain it well. Also i need to what is the Hosts lists is. Is it the hosts in the cluster or the clients. (I think it should be the cluster's hosts) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925518#3925518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925518 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Disabling Jboss Logging and using application specific log4.
Hi, I am working with Jboss 4.0.3 and I have an issue with the logging service of Jboss. I need to somehow disable/override the jboss's logging and use the application's specific logging. As my application is already developed I cannot change the code by specifying the category from where to get the logger. And it is also not possible for me to add any Startup classes/servlets in my application at this moment. I have also tried with loader-repository from jboss-app.xml, but it gives me a ClassCastException when the application is getting deployed. Kindly help me out in this. Regards, Mihir. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925516#3925516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925516 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Disabling Jboss Logging and using application specific log4.
Hi, I am working with Jboss 4.0.3 and I have an issue with the logging service of Jboss. I need to somehow disable/override the jboss's logging and use the application's specific logging. As my application is already developed I cannot change the code by specifying the category from where to get the logger. And it is also not possible for me to add any Startup classes/servlets in my application at this moment. I have also tried with loader-repository from jboss-app.xml, but it gives me a ClassCastException when the application is getting deployed. Kindly help me out in this. Regards, Mihir. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925515#3925515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925515 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - org.jboss.deployment.DeploymentException: No Attribute
Hi, I 'm using jboss4 and trying to deploy a jca example. I have deplyed the rar file successfully, but when I deploy the hellkingjca-service.xml, it always have the error "org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName " Does JBoss4 still use the jca configure file like this to deploy NoTxConnection jca? Thanx in advance... ra.xml http://java.sun.com/dtd/connector_1_0.dtd ' > DemoRA HELLKING 1.0 NO TRANS 1.2 com.hellking.jca.DemoManagedConnectionFactory javax.resource.cci.ConnectionFactory com.hellking.jca.DemoConnectionFactoryImpl com.hellking.jca.DemoConnection com.hellking.jca.DemoConnectionImpl NoTransaction Server java.lang.String localhost Port java.lang.Integer 2008 false Here is my service.xml file: NoTransDemo jboss.jca:service=RARDeployment,name=DemoRA 0 50 5000 15 ByContainer jboss.jca:service=CachedConnectionManager jboss.security:service=JaasSecurityManager jboss.jca:service=RARDeployer The error message: 2004-12-22 07:36:52,828 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: MBeans waiting for other MBeans: ObjectName: jboss.jca:name=DemoRA,service=NoTxCM state: FAILED I Depend On: jboss.jca:name=DemoRA,service=NoTxDemo Depends On Me: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=ManagedConnectionFactoryName value=jboss.jca:name=DemoRA,service=NoTxDemo on mbean jboss.jca:name=DemoRA,service=NoTxCM; - nested throwable: (javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName) ObjectName: jboss.jca:name=DemoRA,service=NoTxDemo state: FAILED I Depend On: Depends On Me: jboss.jca:name=DemoRA,service=NoTxCM org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName ObjectName: jboss:service=CorbaTransaction state: FAILED I Depend On: jboss:service=TransactionManager jboss:service=CorbaORB jboss:service=CorbaNaming Depends On Me: java.lang.Exception: Cannot bind transaction factory in CORBA naming service: org.omg.CORBA.TRANSIENT: Retries exceeded, couldn 't reconnect to 0.1.0.6:3528 vmcid: 0x0 minor code: 0 completed: No MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss:service=CorbaTransaction state: FAILED I Depend On: jboss:service=TransactionManager jboss:service=CorbaORB jboss:service=CorbaNaming Depends On Me: java.lang.Exception: Cannot bind transaction factory in CORBA naming service: org.omg.CORBA.TRANSIENT: Retries exceeded, couldn 't reconnect to 0.1.0.6:3528 vmcid: 0x0 minor code: 0 completed: No ObjectName: jboss.jca:name=DemoRA,service=NoTxDemo state: FAILED I Depend On: Depends On Me: jboss.jca:name=DemoRA,service=NoTxCM org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925514#3925514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925514 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB-QL for @ManyToMany?
Hi Emmanuel, I also have a problem with manytomany query. Following are my codes: public class Account { | ... | @ManyToMany(cascade = {CascadeType.PERSIST, CascadeType.MERGE}, | fetch = FetchType.LAZY, mappedBy="accounts") | public List getGroups() { | return groups; | } | | public void setGroups(List groups) { | this.groups = groups; | } | ... | } | | pulic class Group { | ... | @ManyToMany(cascade = {CascadeType.PERSIST, CascadeType.MERGE}, fetch = FetchType.EAGER) | @JoinTable(table = @Table(name = "account_groups"), | joinColumns = [EMAIL PROTECTED](name = "ACCOUNT_ID")}, | inverseJoinColumns = [EMAIL PROTECTED](name = "GROUP_ID")}) | public List getAccounts() { | return accounts; | } | | public void setAccounts(List accounts) { | this.accounts = accounts; | } | ... | } | | | EntityManager em; | | public Account getAccount(String userName) { | return (Account) em.createQuery("select a from Account a left outer join a.groups where a.userName = :userName") | .setParameter ("userName", userName) | .getSingleResult(); | } | when I run it, I always got the exceptions: java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=Laptop/58, BranchQual=, localId=58] status=STATUS_NO_TRANSACTION; - nested throwable: (org.hibernate.HibernateException: Found shared references to a collection: com.gdocs.model.Account.groups) | I could not figure out what is wrong. Thank you very much for any advice in advance. Any helps are appreciated. GUS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925513#3925513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925513 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Still am not able to write custom fork handler :(
Hi, I checked out the jbpm_delegation table in the database. Somehow the forkhandler didnt get registered!!! Still not understanding whats going wrong! Does anyone know whats the solution to this?? Regards, Nakul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925512#3925512 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925512 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss-Tomcat Web Traffic Analysis
I'm getting to know Jboss right now: Here's my question. How do I run an analysis to check on which files are getting hit on my site? With Apache, I could run a weblog analyzer on a specific file that was populated with all the website hits. What's the process for JBoss? Thanks, Pros View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925511#3925511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925511 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=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 deploy process archive in jboss jbpm 3.0
hi i have done all the steps as in JBoss jBPM Graphical Process Designer but i could not deploy it in jboss jbpm 3.0. i have seen jboss jbpm user guide but not clearly written the steps. any body can help me in this regard. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925510#3925510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925510 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: installation jboss-4.0.4RC1 > Address already in use
Found it, Plone the Portal in Zope was automatically launched. Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925509#3925509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925509 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Help running HelloTest...
Hi, Created a new workspace, and import the hello.par into its src/process folder, giving the same error, did not work for me as well. rgds, KiamFei View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925508#3925508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925508 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: installation jboss-4.0.4RC1 > Could not create table wit
Ok :) Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925507#3925507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925507 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - When are interceptors applied?
Are interceptors (like the conversational interceptor) only applied in the invoke application phase? I am using my on load code from jsf-comp to redirect to a new page on load. The code uses the MethodBinding class to get the bean's "action" method. I invoke it then use the result to pass to the navigation handler if not a specific return type. The method I am calling is on a conversational bean. The problem is that it seams the interceptor is never fired, or at least is not working. JBoss-seam CVS Tomcat 5.5 w/ EJB embedded container Code: @Name("registerUser") | @Interceptors(SeamInterceptor.class) | @Stateful | @Conversational(ifNotBegunOutcome="choose.registration.type") | @Intercept(InterceptionType.ALWAYS) | public class RegisterNewUserAction | implements RegisterNewUser, Serializable | { | ... | public String validateInConversation() | { | if (user == null) | return "welcome"; | else | return null; | } | When I create a method binding on "#{registerUser.validateInConversation}" and execute it, I get "welcome" as the result instead of the expected "choose.registration.type". Is this a limitation of Seam, a bug in my setup and/or environment? FYI: I am invoking the method binding from inside of a phase listener that is registered after the seam phase listener. The phase listens to the before render response phase. Thanks, Andrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925505#3925505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925505 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: java.lang.NoClassDefFoundError: org/jboss/aspects/asynch
I had the same problem in 4.0.4RC1. I downloaded the Jboss-AOP 1.3.5 kit and added the lib-50/jboss-aspect-jkd50-client.jar to my classpath and it fixed the problem. Shouldn't this jar be in the jbossall-client.jar? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925504#3925504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925504 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: stateless session bean fail over and HA-RMI fail over no
thank you for your reply. In my jboss.xml have True but same proplem still occur. And recieve exception in client code as : Error unmarshaling return header; nested exception is: | java.net.SocketException: Connection reset | Connection refused to host: 172.16.10.66; nested exception is: | java.net.ConnectException: Connection refused: connect I used HA-RMI. but it have same problem with stateless cluster. I have 2 HA_RMI server with names is : MyService, MySession. After that i used 2 HA_RMI server to create 2 HA-RMI stub create HA-RMI "MyService" and HA-RMI stub. After that bound this stub to HA-JNDI | Properties p = new Properties(); | | p.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); | | p.setProperty("java.naming.factory.url.pkgs","jboss.naming:org.jnp.interfaces"); | | p.setProperty("java.naming.provider.url", SysUtil.getClusterServerList()); | | p.setProperty("jnp.partitionName", SysUtil.getPartitionName()); | | p.setProperty("jnp.discoveryTimeout", "1"); | | InitialContext ctx = new InitialContext(p); | | Object obj1 = ctx.lookup((newStringBuilder("/HAPartition/")).append(SysUtil.getPartitionName()).toString()); | | HAPartition myPartition = (HAPartition)obj1; | | RMWServer myService = new RMWServerImpl(); | | HARMIServerImpl rmiserver = new HARMIServerImpl(myPartition, "MyService", RMWServer.class, myService); | | RMWServer stub = (RMWServer)rmiserver.createHAStub(newRoundRobin()); | | ctx.rebind("RMI_STUB", stub); | client will get this stub which is created above in HA-JNDI and call function in it. That function is : | RMWSession obj = new RMWSessionImpl(server, user); | | Properties p = new Properties(); | | p.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); | | p.setProperty("java.naming.factory.url.pkgs","jboss.naming:org.jnp.interfaces"); | | p.setProperty("java.naming.provider.url", SysUtil.getClusterServerList()); | | p.setProperty("jnp.partitionName", SysUtil.getPartitionName()); | | p.setProperty("jnp.discoveryTimeout", "1"); | | InitialContext ctx = new InitialContext(p); | | HAPartition myPartition = (HAPartition)ctx.lookup((new StringBuilder("/HAPartition/")).append(SysUtil.getPartitionName()).toString()); | | HARMIServerImpl rmiserver = new HARMIServerImpl(myPartition, "MySession", RMWSession.class, obj); | | return (RMWSession)rmiserver.createHAStub(new RoundRobin()); | and client will use second stub to do some jobs. And balance and fail over not happen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925502#3925502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925502 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Using PostgreSQL 8.0 in place of HypersonicSQL
Whiter, I had the same problem and found that it was due to and invalid entry in my default datasource. I changed it to PostgreSQL 7.2. There are probably correct mappings for postgres 8 that will work but this one solved the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925501#3925501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925501 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Classloading and multiple non-isolated EARs
Done: http://jira.jboss.com/jira/browse/EJBTHREE-454 Thanks, Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925500#3925500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925500 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: SLSB Facade in front of Entity?
greening: I think your question has a lot of merit. We are also undecided as to which strategy will prove to be the 'pattern' in the end. AndroMDA now has a EJB3 cartridge and the finder methods exist in entity POJOs as static methods with EntityManager as the first argument to the finder method. This was designed that way because of the limitations of generics, code generation and UML. I've seen tutorials use this strategy, but others are strictly against passing the EntityManager to the POJO and maintaing everything related to the facade class. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925499#3925499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925499 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: why 3.2.6 lookup fails when upgrading to 4.0
thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925498#3925498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925498 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: SLSB Facade in front of Entity?
epbernard: Thanks! Very interesting. How is the transaction demarcated? By the first call into the EJB jar file? (And then transaction completes upon return?) patrick_ibg: I thought GenericDAOs were primarily for abstracting away different storage mechanisms. This is really a question about where the find methods belong. Do they belong as static methods on the POJO class with the EM as a first parameter? I don't think this is a fact-based question, more like a pattern "what's a good way to do it" question. I think this question will come up frequently as people start to use EJB3 persistence. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925497#3925497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925497 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - org.hibernate.LazyInitializationException
Hello, I have a process definition that has a fork in it. I save the process instance at each stage (after signalng at each node). When I retrieve it from the database and try to obtain it's child token (well, really root token's children), I get the following exception: Exception in thread "main" org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.jbpm.graph.exe.Token.children, no session or session was closed | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) | at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:97) | at org.hibernate.collection.PersistentMap.isEmpty(PersistentMap.java:102) | .. | .. | .. | Any idea. Thanks Raj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925496#3925496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925496 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Help running HelloTest...
Hi Tom, are you using Windows ? and what is the version ? Just wonder ! I am using N2K 5.00.2195 SP4. rgds, KiamFei View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925495#3925495 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925495 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss and NetBeans] - Re: Issues in accessing an EJB web service deployed on JBoss
Hi , You might wanna check out this blog: web service on JBoss - http://blogs.sun.com/roller/page/blog?entry=netbeans_5_0_web_services web service client on JBoss - http://blogs.sun.com/roller/page/blog?entry=netbeans_5_0_web_service Do let everyoen know if this works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925492#3925492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925492 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Classloading and multiple non-isolated EARs
Undoubtedly. Create a bug report and if you have an example that can be made into a unit test attach that. Thanks. http://jira.jboss.com/jira/browse/EJBTHREE View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925490#3925490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925490 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?
Hi boerse, From what i understand of task assigned to pooled actors, only one actor can accomplish the task, but that user must belong to the pooled actors set. So if you check the actorid when a task is assigned to a pooled actor, the value is null. So its a first come first serve. If you want to have concurrent tasks and you dont want it to continue unless all actors assigned to it have accomplished, then make the tasks blocking. I hope this helps. Regards, Elmo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925489#3925489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925489 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: persisting entities using OneToMany relation
No ..There is no child record inserted in to database. only the parent record is inserted. And strangely an update is being called on the child table with reference to the record which is never inserted ! update child set id=? where id = ? and keyId=? here id and keyId are the composite PK for the child table. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925487#3925487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925487 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Classloading and multiple non-isolated EARs
That's great... I tried it, and the classloading worked as advertised :-) However, it seems to break EJB injection. Both of my application EARs contain a common ejb-jar withs some basic tools (my DAO ejb and my entities). Trying to inject the DAOEJB results in this: Caused by: java.lang.RuntimeException: For EJB ReceptionistEJB could not find jn | di binding based on interface only for @EJB(com.blorn.entity.dao.DAO) duplicated | in entity.jar and entity.jar | at org.jboss.ejb3.injection.EJBHandler.getJndiName(EJBHandler.java:216) | at org.jboss.ejb3.injection.EJBHandler.loadFieldInjectors(EJBHandler.jav | a:326) | at org.jboss.ejb3.injection.EJBHandler.loadInjectors(EJBHandler.java:78) | | at org.jboss.ejb3.injection.EJBHandler.loadInjectors(EJBHandler.java:57) | | at org.jboss.ejb3.EJBContainer.resolveInjectors(EJBContainer.java:651) | at org.jboss.ejb3.EJBContainer.initializePool(EJBContainer.java:586) | at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:518) | at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:82) | at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer. | java:80) | ... 124 more This makes some amount of sense because there are two JNDI entries, appA/DAOEJB/local and appB/DAOEJB/local. However, shouldn't the reference within an application's EAR be found first? Looking at the code for Ejb3Deployment.getEjbJndiName(), it would seem that this should be the case. First the jar of the EJB requesting injection is checked, then all deployments within the EAR containing the requesting EJB, then the global Ejb3Registry. However, when I walk through with a debugger, I find that the second part is not working. The local DAOEJB is not found in the EAR search, but both DAOEJBs are found in the Ejb3Registry. I've checked and rechecked my packaging, but it looks correct. Is this a bug? Thanks, Jeff Schnitzer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925482#3925482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925482 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?
Hello fmuhlenberg! Thank you for the response. I'm already trying to to as you say, but i have a problem: (correct me if i'm wrong): in a task node with 2 (or more) tasks you can only assign an action (per task) under the event "task-end" (ok, task-start ok, but it's too early), so if i want only ONE of the tasks to be executed before leaving the node, you can program the attribute "first", but the problem i have is that i have to "programatically" check and "kill" the pending tasks and that implies always that when the task is ended (or cancelled), the default transition is taken for each of the tasks, so if i want to confirm an order (for example), it'll be twice confirmed as the first task is ended by the user and the second is ended by the oder task. So I think i'd be perfect if I could simply assign a task to 2 users... I hope with everyone's help we can solve this problem for all the forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925481#3925481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925481 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: persisting entities using OneToMany relation
are you sure you don't already have a child with the same PK in the database? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925478#3925478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925478 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: SLSB Facade in front of Entity?
the entitymanager is the same for all session beans executed in a single transaction. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925477#3925477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925477 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Adding entity in a ManyToMany relation
refer to the Hibernate Annotations and hibernate documentation about 'mappedBy', 'inverse', and 'owner side' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925476#3925476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925476 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: association table on a single ended association is not y
that you cannot yet map a many to one association using an association (join) table View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925475#3925475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925475 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: mapping with primitive types
maps are not supported for primitive or wrapper types. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925473#3925473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925473 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: portlet preferences
Very much appreciated - thanks noicangi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925472#3925472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925472 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - persisting entities using OneToMany relation
I am using two entities with a OneToMany relation . And the Child class have composite primary key with a foreign key from the parent PK. @Entity public class Parent { @Id private Integer Id @OneToMany Collection children; } @Entity public class Child { @EmbeddedId @AttributeOverrides( { @AttributeOverride(name = "Id", column = @Column(name = ID)), @AttributeOverride(name = "KeyId", column = @Column(name = OPTIONAL_INFO_KEY_ID)) }) private ChildPK pk; } } Now when i call parent.setChildren(childList); entityManager.persist(parent); with a defined OneToMany relation in the parent class i was expecting the child records to be inserted along with th e parent record in the DB. But instead i see an update SQL generated for child table. ? Can anyone help me find out how i can insert both parent and child record in the DB using OneToMany relation .. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925470#3925470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925470 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Brand new to jboss < a couple questions >
Hi I am a new user of jboss. We currently use tomcat and are looking to switch to jboss for our webapps. I have two question which are pretty basic I would guess that I can't seem to figure out. The first question is we have apache 2.2 with mod_proxy_ajp that is controlling everything and I would like to learn where and how I configure sticky sessions in jboss for one of our apps that users the jsession. The second is I have when in tomcat you have the tomcat-users.xml file where you can add users and roles. In jboss where and how is this configured? I have looked at the documentation and tried to set this up without succes. Here is a copy of the web.xml from my app when on tomcat. http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> Psc400 FORM Psc400 login.html loginError.html invoker org.apache.catalina.servlets.InvokerServlet debug 0 2 Psc400Init Psc400Init Psc400Init SERVER_TYPE *WDSC -1 logout logout com.arkona.web.apps.psc400.utils.LogoutServlet 2 invoker /servlet/* logout /logout EISPBDD Psc400 /* EISPBDD CONFIDENTIAL index.html index.htm index.jsp default.html default.htm default.jsp and here is what I have when I tried to configure jboss http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> Psc400 invoker org.apache.catalina.servlets.InvokerServlet debug 0 2 Psc400Init Psc400Init Psc400Init SERVER_TYPE *WDSC -1 logout logout com.arkona.web.apps.psc400.utils.LogoutServlet 2 invoker /servlet/* logout /logout EISPBDD Psc400 /* EISPBDD CONFIDENTIAL index.html index.htm index.jsp default.html default.htm default.jsp now I have commented out some stuff trying to get this to work. I get the login prompt fine but get this error from the server console 2006-02-19 19:35:36,561 ERROR [org.jboss.security.auth.spi.UsersRolesLoginModule] Failed to load users/passwords/role files java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313) at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186) at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200) at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127) 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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:756) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:587) at org.jboss
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: Can I use both
You have to use [ code ] [ /code ] tags without the spaces to display xml properly. A better description that "it was not allowed" would also help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925466#3925466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925466 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: why 3.2.6 lookup fails when upgrading to 4.0
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhyDoesTheLocalNameContainARandomNumber View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925465#3925465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925465 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss not logging Tomcat exception stacktraces
Tomcat will not log exceptions for file not found conditions, which is what a 404 error is. Its not an exception condition. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925464#3925464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925464 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: SLSB Facade in front of Entity?
What's wrong with using Generic DAOs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925463#3925463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925463 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Adding entity in a ManyToMany relation
Hi, I have a ManyToMany relation with Entreprise and Tool : #Entreprise side @ManyToMany(mappedBy="entreprises") | public Collection getTools() { | return tools; | } # Tool side @ManyToMany | public Collection getEntreprises() { | return entreprises; | } The table (Tool_Entreprise) is well created in MySQL. But I can't add any tool in the entreprise doing (entreprise and tool being initialized) : entreprise.getTools().add( tool ); No any record is inserted in the table. (And no error in jboss/hibernate logs) When I Insert a record manually in the table with the right ids, I can see the result doing entreprise.getTools(); (It works). How can I add a tool to an entreprise in Java ?? Thanks, Fred. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925461#3925461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925461 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: mulit-threading and commit transaction
Hello Rainer, Another question regarding your comment anonymous wrote : GraphSession has a lockProcessInstance() method that will lock by way oh database How can I use this method to do concurrent process instance persistence and token.signal? Also, is the lock released once the update is performed? Thanks Raj FYI: I got the parallel fork woking using action handler that starts new thread to get the work done instead of JMS. Now I am trying to get the persistence in, but having some trouble. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925459#3925459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925459 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?
For your 2 user task assignment, why not create two tasks so there is a 1:1 relationship between a task and user. When one task is completed, you could always programatically check -- you have to write an action class anyway, the other task and end it if desired. -fm View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925457#3925457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925457 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Runtime.getRuntime().addShutdownHook(shutdownHook) works for
Hi, Folks, I have application, when press Ctrl+C, Runtime.getRuntime().addShutdownHook(shutdownHook) will hook to set one class to null. But I don't know if it also works for hot-deploy as well. Thank you! chwang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925455#3925455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925455 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - JBoss not logging Tomcat exception stacktraces
I cannot configure JBoss to record/show any Tomcat exception stacktraces. I'm getting a 404, but I cannot track down what exception is causing this. I've modified log4j.xml with these additional entries: | | | | | | | | I've modified the server.xml file in default/deploy/jbossweb-tomcat55.sar with this entry (added the debug attribute) | | Don't know what else I should do to be able to see the tomcat exception stacktrace. When I deploy to a standalone Tomcat server, I can find the stacktrace in the localhost.log View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925454#3925454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925454 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - portlets development
hi, i'm looking for information and tutorials on how to develop portlets, if it is posible eclipse, i found information aobut building in webwork , struts and myfaces but i don't know where to start. if someone is developing portlet and could tell me his experience and a initial steps, please post ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925453#3925453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925453 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: returnQName ignored...
I forgot to mention-- I'm using Jboss 4.0.2. Thanks, Tim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925452#3925452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925452 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Client blocks while accessing JBOSS4.0.3SP1
Hi, i have a client server environment set up and the server version is 4.0.3SP1. Now I run into a situation here. Suppose I am logged in my client using a particular user and pswd, then I execute a task which takes a couple of minutes to run. This task is handled by a stateless session bean, involves querying a web service for some data and then finally updating the database with retrieved value and displaying them to the user. Now if i try to log in again, using the same user and password but a new client instance, i do not get any exception thrown, however my client simply blocks and waits till my first task was completed. The moment my execution task is completed, my login goes through and i get access to my client environment. Also if I were to create two separate instances of my client environment and login using the same user, i can do that. That is to say that I can have two sessions for the same user operating simultaneously, but i am sure if i try to run any tasks, then they'll be blocked until the first executed one completes. I am quite confused with this operation. Also I am kind of a beginner in this regard. We need to get this problem sorted out soon, I appreciate any pointers or help in this matter. thanks, Anuj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925450#3925450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925450 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: remote deployment
Edit jboss-service.xml under server/xxx/conf to disable hot deploy. shutown.bat/shutdown.sh You should read the docs ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925448#3925448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925448 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam component as converter with EntityManager/Persisten
Thanks for help! Figured out a solution thats perfect for my app, you can find the Code here: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3925444#3925444 Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925447#3925447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925447 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: whew! finally, a pattern for SelectItems using generics
Thanks to Patric for the LookupConverter Code (and related) I use a simular solution and have posted my code here: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3925444#3925444 Works good with the DAOpattern (also generic). Like described here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=75802 It uses Seam Components to put in the facelets code so the converter may not be registered in the facelets-conf.xml Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925446#3925446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925446 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=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] - using xdoclet to mark a NOT NULL column
Hi, I'm using xdoclet with my ejb's. I can't figure out how to set a column to be NOT NULL. I am offcourse using jboss. for instance, two tables: table 1 user_id username computer_fk (references computer_id in table2, want this one to be NOT NULL) table2 computer_id computername Appreciate any help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925445#3925445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925445 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Cast Problem I dont understand ... Converter / SelectIte
didn't work like that. I use now a concept simular to the lookup converter you ca find in this post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=71182 For all who are looking fon such a solution ill post my code here. Dennis The Lookup Base Class, with a static method to convert Lists with Objects that implement Lookup to Select items: @Name("LookupConverter") | @Intercept(InterceptionType.ALWAYS) | public abstract class LookupConverter | implements javax.faces.convert.Converter | { | private Class entityClass ; | | public LookupConverter (Class entityClass) | { | this.entityClass = entityClass ; | } | | public String getAsString (FacesContext context, UIComponent component, Object object) | { | if (object == null) | return null ; | | T lookup = (T) object ; | return lookup.getKey () ; | } | | public Object getAsObject (FacesContext context, UIComponent component, String value) throws ConverterException{ | EntityManager termtimerData = (EntityManager)Component.getInstance("termtimerEM", true); | Object o = (Object)(T) termtimerData.find(entityClass, value); | return o; | } | | public static List convertIn(List list) { | Iterator i = list.iterator(); | List selectlist = new LinkedList(); | while(i.hasNext()){ | Object o = i.next(); | try{ | Lookup l = (Lookup) o; | SelectItem item = new SelectItem(o, l.getShowName(), l.getKey()); | selectlist.add(item); | | }catch(Exception E){ | } | } | return selectlist; | } | | } The Lookup Interface: public interface Lookup { | public String getShowName () ; | public String getKey () ; | } A concrete Converter for an Entity Class: @Name("FacultyConverter") | @Scope(ScopeType.APPLICATION) | @Intercept(InterceptionType.ALWAYS) | public class FacultyConverter | extends LookupConverter | { | | public FacultyConverter () | { | super (Faculty.class) ; | } | | } In the BakingBean: @Out(scope=CONVERSATION) | private List facultySelect; | | //in the create method | facultySelect = LookupConverter.convertIn(facultyDAO.getAll()); | and finaly the part in the facelet: | | and its improtant to implement toString() and equals(Object o) in all entities. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925444#3925444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925444 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - why 3.2.6 lookup fails when upgrading to 4.0
I have a context lookup that is failing in 4.0.3 that works perfectly fine in 3.2.6. We are looking to upgrade our server but there is a schedulable class that needs to lookup objects in the jndi:local/ context and now it cannot find them because jboss now adds an @somenumber to the end of the jndi name. I have scoured the docs for about 10 hours over the last 2 days and can find nothing about this in the erata I have looked into the jboss-service.xml for the naming config which led me to xmldesc/NamingService-xmbean.xml, which I cannot find any config in to govern how or why this extension is added to the bean name. I can get to the local OK but when I list the objects bound in the context I get all the names that have the @somenumber at the end so my lookups fail. For some reason all the applications that have the names mapped into the local ejb namespace (java;comp/env) for the components work fine but I can find no way to add a resource reference to the jboss varia scheduler mbean which is where my schedulable class runs from. Here is the code that works in 3.2.6 but fails in 4.0.3 javax.naming.InitialContext ctx = new javax.naming.InitialContext(); if (posDataServices==null) { logger.debug("getting data service bean"); this.posDataServices = ((possystems.webservices.posdataservices.PosDataServicesLocalHome) ctx.lookup("local/PosDataServicesBean")).create(); } Here is a list of everything bound in the local context along with the error message: the name is:[EMAIL PROTECTED] with class:$Proxy70 the name is:[EMAIL PROTECTED] with class:$Proxy70 the name is:[EMAIL PROTECTED] with class:$Proxy61 the name is:[EMAIL PROTECTED] with class:$Proxy71 the name is:[EMAIL PROTECTED] with class:$Proxy55 the name is:[EMAIL PROTECTED] with class:$Proxy54 the name is:[EMAIL PROTECTED] with class:$Proxy53 getting data service bean 2006-02-21 15:36:00,010 INFO [STDOUT] javax.naming.NameNotFoundException: PosDataServicesBean not bound ot bound Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925443#3925443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925443 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: BPEL - abnormal end of process
If the session is somehow being closed ahead of time, that would also explain the invalid transaction ID that appears at random. I appreciate your insight into this issue. Now I know at least where to start. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925442#3925442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925442 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: jbpm 3.1: persistence problem?
Do not create SwimlaneInstances yourself. In the first place, define your task to use a swimlane: | ... | | | |... | | | | ... | Now your task instance should have a non-null swimlane instance property. Set the new actor in that swimlane instance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925441#3925441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925441 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: Error running example ex04_2 from workbook
My understanding is that: when you use the 'lookup()' method, make sure the argument of this method is matching the JNDI name in the deployment descriptor: . Of course your bean (the jar file) should be copied into the "deploy" directory as well. Hope this hopes. X.Chen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925439#3925439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925439 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - association table on a single ended association is not yet s
Caused by: org.hibernate.cfg.NotYetImplementedException: association table on a single ended association is not yet supported What does it mean? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925438#3925438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925438 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB client cannot connect: [SocketServerInvoker] Failed
anonymous wrote : it says somes bla at linux, but the logs sees to come from windows Please read whole thread :) anonymous wrote : You should lookup your bean with $EARNAME/$beanname/local|remote so in you case This type of lookup is proper only if beans are packaged in ear file. My beans are in ordinary jar file. Docs say that I should use "$beanname/local|remote" string for looking up a bean and indeed it works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925436#3925436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925436 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=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: ConnectionFactory and Connection
Perhaps you could explain what this means. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925434#3925434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925434 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: a question about fault tolerance during DIY Jboss JNDI
This does not make sense in general as it breaks the jndi naming scope. Perhaps an unqualified lookup from within a j2ee component could be assumed to start at the java:comp/env context. Still, its not per the spec. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925433#3925433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925433 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: sometimes
Trace level logging of the security layer would be needed around the time of the problem. http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925432#3925432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925432 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Classloading and multiple non-isolated EARs
True. Its automatic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925431#3925431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925431 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Load balancing with JBoss
http://www.jboss.com/products/jbossas/docs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925430#3925430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925430 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: can i know the JBoss Server Started tiem and date from o
http://wiki.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925429#3925429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925429 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: Can I use both
"[EMAIL PROTECTED]" wrote : Yes, both can be used. Details are needed. What kind of information do you need? I paste the entire "ejb-jar.xml" as the follows. If you need more than that, please tell me what parts do you need. == ejb-jar.xml == http://java.sun.com/dtd/ejb-jar_2_0.dtd";> CabinEJB com.titan.cabin.CabinHomeRemote com.titan.cabin.CabinRemote com.titan.cabin.CabinHomeLocal com.titan.cabin.CabinLocal com.titan.cabin.CabinBean Container java.lang.Integer False 2.x Cabin id name deckLevel shipId bedCount id TravelAgentEJB com.titan.travelagent.TravelAgentHomeRemote com.titan.travelagent.TravelAgentRemote com.titan.travelagent.TravelAgentBean Stateless Container ejb/CabinHomeRemote Entity com.titan.cabin.CabinHomeRemote com.titan.cabin.CabinRemote ejb/CabinHomeLocal Entity com.titan.cabin.CabinHomeLocal com.titan.cabin.CabinLocal CabinEJB This role represents everyone who is allowed full access to the beans. everyone everyone CabinEJB * TravelAgentEJB * CabinEJB * TravelAgentEJB * Required titanejb-client.jar And the jboss.xml === CabinEJB CabinHomeRemote CabinHomeLocal TravelAgentEJB TravelAgentHomeRemote And: === jbosscmp-jdbc.xml == http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";> java:/MySqlDS mySQL CabinEJB Cabin id ID name NAME deckLevel DECKLEVEL shipId SHIPID bedCount BEDCOUNT Last, === titandb-ds.xml === MySqlDS jdbc:mysql://localhost:3306/workbook com.mysql.jdbc.Driver username password View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925427#3925427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925427 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - returnQName ignored...
I am not sure what changed with my setup, but I can no longer get the returnQName I specify for the result of my web method: | * @ejb:interface-method view-type="remote" | * @jboss-net.web-method returnQName="job_id" | */ | public int myWebMethod(int inputParam) throws RemoteException | used to produce: | | | | | and now produces: | | | | | Any ideas? Any suggestions would be greatly appreciated! Thanks, Tim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925426#3925426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925426 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: OutOfMemoryError: unable to create new native thread
http://wiki.jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptions View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925425#3925425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925425 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: jboss ws and java 1.5
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925424#3925424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925424 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: Can I use both
Yes, both can be used. Details are needed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925422#3925422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925422 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: CGLIB ERROR: ClassCastExcepion in my Bean
How is it related to Seam ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925420#3925420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925420 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss and NetBeans] - Re: Issues in accessing an EJB web service deployed on JBoss
Hi, i have found the way to solve the issue according to my problem(could not found deserealizer), in properties of my web project, click on web services's category and check rpcliteral. But now i got another problem when i call the method's web service, it says "java.lang.ClassCastException" "at webservice.EmpresaWebServiceImpl.lookupEmpresaFacadeBean(EmpresaWebServiceImpl.java:32)". Here is my code: private ejb.EmpresaFacadeRemote lookupEmpresaFacadeBean() { try { javax.naming.Context c = new javax.naming.InitialContext(); Object remote = c.lookup("java:comp/env/ejb/EmpresaFacadeBean"); ejb.EmpresaFacadeRemoteHome rv = (ejb.EmpresaFacadeRemoteHome) javax.rmi.PortableRemoteObject.narrow(remote, ejb.EmpresaFacadeRemoteHome.class);.} remote gives me back an "EmpresaFacadeBeanHome". Could any one tell wy is this? Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925418#3925418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925418 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - download a zip file since CMS content
Hi everyone! sorry for not to know this.. but i need help in my application.. is very urgent.. I have a html in a CMS portlet for example.. i need to download from that portlet a .zip file like something.zip.. I try many ways but still not work.. can someone give me please the steps to do that? so much thanks for your help. glodo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925416#3925416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925416 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: installation jboss-4.0.4RC1 > Address already in use
Find the process creating the 8080 port and kill it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925415#3925415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925415 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: installation jboss-4.0.4RC1 > Could not create table wit
Ignore DEBUG level messages if you don't like them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925414#3925414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925414 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - mapping with primitive types
I have question concerning mappings in EJB3. I found examples with mappings, where the values are entity beans. I would like to define a mapping with primitive types like java.lang.String. My example is the following: package bean; import java.io.Serializable; import java.util.Map; import javax.persistence.*; import org.hibernate.annotations.CollectionOfElements; @Entity public class Test implements Serializable { private int id; private Map texts; @Id @GeneratedValue(strategy=GenerationType.AUTO) public int getId() { return id; } public void setId(int id) { this.id = id; } @CollectionOfElements @MapKey public Map getTexts() { return texts; } public void setTexts(Map texts) { this.texts = texts; } } and I use jboss-4.0.4RC1 with the "all" configuration. While deploying I get with the mentioned settings the following errors: 19:17:28,812 WARN [ServiceController] Problem starting service persistence.units:unitName=tempdb java.lang.reflect.InvocationTargetException 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) Caused by: org.hibernate.AnnotationException: Associated class not found: java.lang.String at org.hibernate.cfg.annotations.MapBinder.bindKeyFromAssociationTable(MapBinder.java:65) at org.hibernate.cfg.annotations.MapBinder.access$000(MapBinder.java:32) at org.hibernate.cfg.annotations.MapBinder$1.secondPass(MapBinder.java:55) at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35) at org.hibernate.cfg.annotations.CollectionBinder.bind(CollectionBinder.java:331) at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1296) at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:629) ... Please could you tell me how to define a mapping with Strings as values? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925413#3925413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925413 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM
I'm also interested in a working example. Best with DatabaseServerLoginModule. All Help welcome, I'm stuck. Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925412#3925412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925412 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - installation jboss-4.0.4RC1 > Address already in use
Hello, I got the following exceptions : ERROR [org.apache.coyote.http11.Http11BaseProtocol] Error starting endpoint | java.net.BindException: Address already in use: JVM_Bind:8080 | at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297) and WARN [org.jboss.web.tomcat.tc5.Tomcat5] Failed to startConnectors | LifecycleException: Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:8080 | at org.apache.catalina.connector.Connector.start(Connector.java:1091) may it be due to IIS is running on the computer ? How can I solve this exception please ? Thanks in advance Christophe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925409#3925409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925409 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - installation jboss-4.0.4RC1 > Could not create table with SQ
Hello, I got the following exceptions : | 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) and 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) I have not specified any database so could you explain me where this database is created and how I can solve those exceptions please ? It seems JBoss use an Hypersonic database by default but how can I avoid these exceptions. Thanks in advance Christophe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925408#3925408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925408 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - CGLIB ERROR: ClassCastExcepion in my Bean
Hello guys Every time that i need get a BEAN with the Hibernate Session, a ClassCastExcepion ocourr. When I see in my Bean, I get a CGLIB error, like this picture. Anyone have a ideia to help-me?! PS: JBOSS 4.0.3SP1 Hibernate 3 -> migrated of the Hibernate 2.1 (Package in the Jboss Server) Oracle 9. [img]http://www.eltonk.com.br/snapshot2.png[/img] There is my configuration: | package com.bar.sistema.persistence.usuario; | | | import java.io.Serializable; | import java.util.Date; | import java.util.Set; | | import org.apache.commons.lang.builder.ToStringBuilder; | import org.apache.commons.lang.builder.ToStringStyle; | | import com.bar.Sistema.persistence.grupo.GrupoBean; | import com.bar.Sistema.persistence.nivel.NivelBean; | import org.apache.commons.lang.builder.EqualsBuilder; | import org.apache.commons.lang.builder.HashCodeBuilder; | | /** | * | * Copyright © 2005 bar Tecnologia & Serviços SA | * Sistema Eletrônico | * | * | * UsuarioBean.java | * | * Classe usada para persistir um usuario e usada para gerar o hbm para o hibernate | * | * @since Apr 12, 2005 | * @version $$Revision$$ | * $$Id$$ | * @hibernate.class table="USUARIO" dynamic-update="true" lazy="false" | */ | public class UsuarioBean implements Serializable | { | |/** | * SerialVersionUID default | */ |private static final long serialVersionUID = 1L; | |/** Campos */ |private Long cdUsuario; |private StringnmUsuario; |private StringnmLogin; |private StringdsSenha; |private Date dtCadastro; | |/** campos para o controle das alterações de senha */ |private Date dtAlteracaoSenha; |private StringdsEmail; |private Integer flBloqueado; |private Integer flExpirada; |private Integer nuDiasExpira; |private Integer nuTentativas; | |/** chaves estrageiras */ |private Integer cdNivel; |private Integer cdGrupo; | |/** Relacionamento */ |private Set SistemaStatus; |private Set loteStatus; |private Set usuarioPagador; |private Set usuarioFavorecido; |private Set assinaturas; |private GrupoBean grupo; |private NivelBean nivel; | | |/** default constructor */ |public UsuarioBean() |{ |} | |/** | * @hibernate.id generator-class="sequence" unsaved-value="0" column="CD_USUARIO" | * @hibernate.generator-param name = "sequence" value = "SEQ_USUARIO" | * @return Returns the cdUsuario. | */ |public Long getCdUsuario() |{ | return cdUsuario; |} | |/** | * @param cdUsuario | * The cdUsuario to set. | */ |public void setCdUsuario( Long cdUsuario ) |{ | this.cdUsuario = cdUsuario; |} | |/** | * @hibernate.property column="DS_SENHA" | * @return Returns the dsSenha | */ |public String getDsSenha() |{ | return dsSenha; |} | |/** | * @param dsSenha | * The dsSenha to set. | */ |public void setDsSenha( String dsSenha ) |{ | this.dsSenha = dsSenha; |} | |/** | * @hibernate.property column="DT_CADASTRO" | * @return Returns the dtCadastro | */ |public Date getDtCadastro() |{ | return dtCadastro; |} | |/** | * @param dtCadastro | * The dtCadastro to set. | */ |public void setDtCadastro( Date dtCadastro ) |{ | this.dtCadastro = dtCadastro; |} | |/** | * @hibernate.property column="DS_EMAIL" | * @return Returns the dsEmail. | */ |public String getDsEmail() |{ | return dsEmail; |} | |/** | * @param dsEmail | * The dsEmail to set. | */ |public void setDsEmail( String dsEmail ) |{ | this.dsEmail = dsEmail; |} | |/** | * @hibernate.property column="DT_ALTERACAO_SENHA" | * @return Returns the dtAlteracaoSenha. | */ |public Date getDtAlteracaoSenha() |{ | return dtAlteracaoSenha; |} | |/** | * @param dtAlteracaoSenha | * The dtAlteracaoSenha to set. | */ |public void setDtAlteracaoSenha( Date dtAlteracaoSenha ) |{ | this.dtAlteracaoSenha = dtAlteracaoSenha; |} | |/** | * @hibernate.property column="FL_BLOQUEADO" | * @return Returns the flBloqueado. | */ |public Integer getFlBloqueado() |{ | return flBloquea
[JBoss-user] [EJB 3.0] - Re: SLSB Facade in front of Entity?
Brian and I are very interested in thoughts on this. Please weigh in if you've worked with EJB3. I think having an SLSB facade in front of every entity bean, at least the way I've seen it done, is an anti-pattern. Here's my argument: One purpose could be to eliminate the need for passing in an EntityManager when finding or storing entities, letting an EM be injected into each SLSB. However, if you create separate EntityManagers for every entity bean via these SLSB facades, you eliminate transaction atomicity (how can you start a transaction, make several entity-related operations possibly on different entities, and then commit the whole caboodle without passing around a single EntityManager?). And so, if you use this (anti)pattern, when you want to perform complex activities that require atomicity over several entities, you must add parallel find/create operations that take an entity manager. Now you have created more complexity and maintenance headaches for the convenience of omitting EMs in a few cases. (In the final version of JavaEE5, I believe you can inject EntityManagers into Servlets, which makes NOT using SLSB facades even easier.) OK, suppose we agree with the previous paragraph. Let's fix our pattern by passing the entity manager to all these functions in the SLSB. Now we have the question of whether these find/create/remove operations require an SLSB. I think not, because the SLSB doesn't buy us anything. We wanted it before, because of the ability to inject the EntityManager, but now we are passing the EM around instead. No need for SLSB. OK, now let's suppose we agree with the previous two paragraphs. So we turn this facade into a class that has some (static) methods with EntityManager passed in. Well, remove and create are irrelevant now, because the direct call through the EM is simpler: em.remove(entity) and em.persist(entity) versus Fascade.remove(em,entity) and Fascade.persist(em,entity). What remains is complex find operations. I think simpler EJB3 find operations are best coded as annotations with @NamedQuery like this: customers = em.createNamedQuery("findAllCustomersWithName") .setParameter("custName", "Smith") .getResultList(); Sometimes find operations can get complex, requiring loops or conditionals and multiple SQL requests. One can argue, and I think fairly, that simple named queries AND these more complex find operations really ought to be encapsulated in a method like this: static public List findCustomerWithName( EntityManager em, String name) { return em.createNamedQuery("findAllCustomersWithName") .setParameter("custName", "Smith") .getResultList(); } I would put this method in the POJO itself. Brian is thinking it might belong in a fascade class. So this is the jist of this pattern vs. anti-pattern argument: Brian and I both think we SHOULD capture complex find operations either in the POJO itself as a static method, OR we should capture these complex find operations in some separate fascade. I'm mildly opposed to putting complex find operations in a separate fascade, because it bothers me that methods that solely deal with the POJO are put somewhere else, increasing maintenance problems. However I can see an opposing argument maybe. If you have thoughts on this, could you please discuss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925406#3925406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925406 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: installation jboss-4.0.4RC1 > Unsupported major.minor ve
It solved the most of the expections. Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925405#3925405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925405 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Error in last nighty build
No. This error is when source code is generating. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925404#3925404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925404 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?
What a shock, i thought i had an answer... :( We can organize a club... To the other users: PLEASE HELP! My mail (to colaborate) speichre at gmail dot com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925403#3925403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925403 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=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] - Hibernate 2 apps and Hibernate 3 app running on the same JBo
Hello! There is any way to run hibernate 3 and hibernate 2 apps in the same machine running Jboss 4.03SP1? Thanks! Regis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925399#3925399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925399 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: management portlet
Thanks... This worked for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925397#3925397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925397 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?
Hey! I am in too!!! :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925396#3925396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925396 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: NullPointerException in LRUPolicy.nodeAdded
Yes. it's working in single machine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925395#3925395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925395 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Can I use multiple faces-config.xml?
Hi all, I'm developing a large application with Jboss Seam, and a faces-config.xml has becoming a huge file. So I see in Myfaces project the possibility to set many config files for the navigation rules. Using a parameter javax.faces.CONFIG_FILES in web.xml. Like this: | | javax.faces.CONFIG_FILES | | /WEB-INF/faces-config.xml, /WEB-INF/other-file.xml | | So, when I run Jboss the deploy works fine. In a console appears the read of files: | 14:06:36,032 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 14:06:36,360 INFO [FacesConfigurator] Reading config /WEB-INF/murilo.xml | 14:06:36,407 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | Jboss read two times the faces-config.xml, Is Seam reading the second time? But when I open the first page the follow exception raise up: | 14:07:04,063 ERROR [SeamExceptionFilter] uncaught exception handled by Seam | javax.servlet.ServletException | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:125) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:92) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:44) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.ajaxanywhere.AAFilter.doFilter(AAFilter.java:41) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 14:07:04,078 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.NullPointerException | at org.jboss.seam.contexts.PageContext.getCurrentReadableMap(PageContext.java:62) | at org.jboss.seam.contexts.PageContext.get(PageContext.java:52) | at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:125) | at org.jboss.seam.Component.getInstance(Component.java:1026) | at org.jboss.seam.Component.getInstance(Component.java:1016) |
[JBoss-user] [Installation, Configuration & Deployment] - Re: how to send an email with jboss mail service with TLS?
I solved the problem myself ;-) JBoss 4.0.x is coming with JavaMail 1.3.1 which does not support TLS (introduced in JM 1.3.2!) just update mail.jar in the lib directory with the 4 jar of the new JavaMail and all the new features will work seamlessly including TLS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925393#3925393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925393 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Need help understanding contexts
Hi James, from outside of the project there seems to be nothing more than the documentation. I'm quite often pretty lost as well. Until the documentation on that part is better illustrated with examples, try to think of contexts as containers that hold data. E.g. the booking example is able to handle several booking processes in different windows. This means, that there are several data containers in the users httpsession which hold the state of the current window. Those containers are managed by seam. When they are stale for too long, the are removed from memory. You can configure how long that takes. Which container you get per window is handled by Seam. Whenever a request from a web page goes to a method that is annoted with @Begin, a new data container is created for you. All following calls have access to that container and put their data in it. When you reach a method that is annoted with @End, the container is destroyed and memory is freed. You also have the ability to use trees/nested containers when you use @Begin(nested=true). The whole development is more like trying to develop a swing gui. There you would probably also define different containers where to store your business data in. One for global/application wide data, one for every window/MDI window that you can only access per window/process/... Whenever you try to access data from a jsf page, have a look at the server log file where the seam framework tries to get the data from. You see that it looks for it in different contexts. That can be pretty useful on your way when you try to figure out why you can't find your data in the rendered page. Hope that helps a bit, might be a bit confuse, but at least I tried :-) Enjoy, Stefan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925392#3925392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925392 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user