[JBoss-user] [JBoss Seam] - Re: Some thoughts about the conversations
"[EMAIL PROTECTED]" wrote : No, there are instructions in the Seam docs for how to leave a conversation scope. I could not find it, I don't think you mean calling the leave() method, do you? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928965#3928965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928965 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: More portlets
Did you look at portletswap http://www.portletswap.com? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928964#3928964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928964 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem with bijecting
OK. I try to simplify it. Perhaps my description is too complex for my simple problem. I've two classes. The first has a factory method for a DataModel. @Stateful | @Scope(ScopeType.SESSION) | @LoggedIn | @Name("showListForDevelopers") | @Interceptors(SeamInterceptor.class) | public class ShowListForDevelopers implements IShowListForDevelopers, Serializable { | @PersistenceContext(unitName = "aresDatabase", type=PersistenceContextType.EXTENDED) | private EntityManager em; | | @DataModel | private List testactions; | | @DataModelSelection | @Out(required = false) | private Testaction currentTestaction; | | @Factory("testactions") | public void getTestactions() { | //create a list of testactions | } | | public String select() { | //user selects an element | return "selected"; | } | | @Remove @Destroy | public void destroy() { | } | } The DataModel is displayed on the first page as a simple dataTable. As the user selects an item from the dataTable, the items details are displayed on a second page. (simplified it) | | | | | | | | | | | | Now the user enters some additional information or changes something, then he hits a save button. The save button invokes a method of a second class, which should save the chosen element with the changes made. But the element (currentTestaction) is not injected. @Stateful | @Scope(ScopeType.SESSION) | @LoggedIn | @Name("showTestactionForDevelopers") | @Interceptors(SeamInterceptor.class) | public class ShowTestactionForDevelopers implements IShowTestactionForDevelopers{ | @PersistenceContext(unitName = "aresDatabase", type = PersistenceContextType.EXTENDED) | private EntityManager em; | | @In @Out | @Valid | private Testaction currentTestaction; | | public String saveTestaction() { | //do something with the injected currentTestaction | //and return an outcome | } | | @Destroy @Remove |public void destroy() { |} | } After saving the element, the next one should be displayed. This is the reason why I want the currentTestaction and the list of testactions being injected into my second class. I hope I could describe my problem. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928963#3928963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928963 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: initial values
Perhaps this also works for you: @Name("foo") | public class Foo | { | |@In(create=true) Bar bar; | |public String action() |{ | ... |} | | } @Name("bar") | public class Bar{ | | private String string; | | @Create | public void initBar() | { |string = "initial value"; | } | } | @Factory is usually used for creating things that are not Seam components. When you are creating a Seam component, you don't usually need it. Seam automatically creates the component if you have @In(create=true). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928962#3928962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928962 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: initial values
@Create and @Factory are totally different things. Are you sure you have understood what @In(create=true) does? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928961#3928961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928961 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBXB
Not yet, its only included in the jbossas download in the jboss-common.jar but will be seperated soon. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928960#3928960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928960 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: initial values
@Name("foo") | public class Foo | { | |@In(create=true) Bar bar; | |public String action() |{ | ... |} | | } @Name("barFactory") | public class BarFactory | { | | @Out Bar bar; | | @Factory("bar") | public void initBar() |{ | bar = new Bar(); |} | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928959#3928959 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928959 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How to compile a simple portlet
Add JbossPortalHome//deploy/jboss-portal.sar/lib/portlet-api-lib.jar, portal-portlet-lib.jar, portal-core-lib.jar. in classpath. Everything is same except that you will have to write some jboss-specific descriptors. (The JARs I listed is how I do, may be there are some other JARs too). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928955#3928955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928955 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: initial values
sorry again, but still the problem is not solved ! (1) In seam-examples the @Factory method is always used with @DataModel - that works perfect - but there is no example where you want to set values of a injected bean ! (2) Adding a @Create in the bean is possible, but it changes the applications behavior ! If I want to reuse the same bean in several controllers, everywhere the values would be initialized - that is not intended ... At the moment I stuck because of leck of understanding SeamObject-Constructor. Please correct me if I am wrong: There are two different kinds of "constructors" - @Factory and @Create. It seams, that @Factory is pushing the changes immediatelly out for usage in jsf but does not work with injected variables, and @Create won't push the changed variables to be used in jsf. I start asking myself, whether it is really needed to have two different kind of "constructors". Wouldn't it be much easier to have just @Create and do all initializations there at once - instead of calling several @Factory-Methods for each variable that needs to be initialized ? Currently if you have n-DataModel definitions you need to write [EMAIL PROTECTED] for initialization. I would prefer to use the @Create-Method (like in any object oriented language) and have all initializations done there. any thoughts about that are welcome ... thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928954#3928954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928954 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBXB
Is JBoss XML Binding available for download? Thanks Elangovan. S View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928953#3928953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928953 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: what is the best IDE to develop portlets?
Work is currently underway on a plugin for Eclipse which will allow easy creation of portlet projects. see this forum for details: http://www.jboss.com/index.html?module=bb&op=viewforum&f=239 Cheers, KEv. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928952#3928952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928952 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - RMI Invocation Behind Firewall on JBoss 4.0.3
Hi everyone, I'm currently running a JBoss 4.0.3 server behind a firewall. The firewall is configured to allow all the ports used by JBoss 4.0.3 according to this article as below: http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch8.chapter.html#d0e21126 I'm also using all the default ports such as 8080 for Web, 1099 for JNP service and more. For lookup, I use the following as PROVIDER_URL: jnp://xxx.xxx.xxx.xxx:1099 The IP (xxx.xxx.xxx.xxx) is not the issue in this case as I am sure that the client is able to connect to the JBoss Server at this IP. The problem is whenever I invoke RMI, i can see the client is communicating with the JBoss Server at an anonymous port such as 30599 or any ports. There are others connection on port 1098, and 8093 as well but these connections do not face any problem as they are allowed by the firewall. However, the connection on anonymous port would be a BIG PROBLEM because I'm not be able to configure my firewall to allow this traffic on this anonymous port since the anonymous port keeps on changing whenever the JBoss Server is restarted. Anyone has any idea about this? I've spent weeks on this but I don't really see a solution yet. Thanks in advance. Best regards, William View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928951#3928951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928951 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys
Thanks Scott, the workaround wouldn't be a good idea in our software since the structure is used nearly everywhere. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928950#3928950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928950 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Use of interfaces & classes
I hope the message was clear. We design by interfaces, we inject by interfaces. So using a class instead of a defined interface totally breaks this concept. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928949#3928949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928949 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: Deploying Jdeveloper app on Jboss 4
Related advice: why waste time with an inferior product when you can save a bundle and get Net Beans, Eclipse or IntelliJ? My personal experience with JBuilder is that it's horribly designed, buggy as hell and extremely inefficient. It's the bottom of the barrel but ironically the most expensive. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928947#3928947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928947 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - I really need a help on the issue, please.
Hi all, I have a join table Party_member: | table party_member ( | party_id int; | person_id int; | joined_on date; | } then according to a example of CategorizedItem on Hibernate in Action, I created the following entity bean: | | @Entity | @Table(name="Party_members") | public class PartyMember implements Serializable { | private Id id; | private Party party; | private Person member; | private Date joinedOn; | | public PartyMember() {} | | @EmbeddedId | public Id getId() {return id;} | public void setId(Id id) {this.id = id;} | | @Column(name="JOINED_ON") | public Date getJoinedOn() { return joinedOn;} | public void setJoinedOn (Date jointedOn) {this.joinedOn = joinedOn;} | | @ManyToOne | @JoinColumn(name="PARTY_ID") | public Party getParty() {return party;} | public void setParty(Party party) {this.Party = party;} | | @ManyToOne | @JoinColumn(name="PERSON_ID") | public Person getMember() {return member;} | public void setMember(Person member) {this.member = member;} | | @Embeddable | public class Id implements Serializable { | | private long PartyId; | private long personId; | | public Id() {} | | public long getPartyId() {return partyId;} | public void setPartyId(long partyId) {this.partyId = partyId;} | | public long getPersonId() {return personId;} | public void setPersonId(long personId) {this.personId = personId;} | | } | | } | but when I used the EJBQL: public List getPartys(Person person) { | List resultList = em.createQuery("select p from PartyMember p " + | "where p.member.personId = :personId") | .setParameter ("personId", person.getPersonId()) | .getResultList(); | | return resultList; | } I always got the exception:java.sql.SQLException: Unknown column 'partymembe0_.personId' in 'field list' Since I am new on EJB / Hibernate, I really do not know how to solve the problem. Could you please give me some help? I sincerely appreciate it. GUS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928944#3928944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928944 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBOSS Stopped Automatically.
Hi All, Currently our application is deployed on jboss-4.0.1sp1 with jdk1.4.x and also the current heap size setting is using default (128MB). Server and the application works fine for few days and then after sometime it stops responding to the request. We have made the following observations like 1) After execting the "ps -ef | grep java" in the linux command prompt, it still displays the jboss process that is running at the background, but the jboss fails to respond to any of HTTP request ( tried though telnet or browser). 2) Sometimes the entire server goes down with following error message 6-03-08 15:01:44,383 DEBUG [com.ameriquest.quickhelp.dao.CommonDAO] Inside getInstance() 2006-03-08 15:01:44,420 DEBUG [com.ameriquest.quickhelp.helper.ContentHelper] Inside getContentByContentId(58598) 2006-03-08 15:01:44,421 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Content#findByPrimaryKey] Executing SQL: SELECT t0_Content.CONTENT_ID FROM CONTENT t0_Content WHERE t0_Content.CONTENT_ID=? 2006-03-08 15:01:44,432 DEBUG [com.ameriquest.quickhelp.helper.ContentHelper] Got Content (contentId = 58598 2006-03-08 15:01:44,433 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Content] Executing SQL: SELECT NAME, REFERENCE_NAME, CATEGORY_ID, CONTENTTYPE_ID, RESOURCE_ID, createdby, createdon, updatedby, updatedon FROM CONTENT WHERE (CONTENT_ID=?) 2006-03-08 15:01:44,474 DEBUG [com.ameriquest.quickhelp.helper.ContentTypeHelper] Inside getContentTypeName (contentTypeId= 1 2006-03-08 15:01:44,475 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.ContentType#findByPrimaryKey] Executing SQL: SELECT t0_ContentType.CONTENTTYPE_ID FROM CONTENTTYPE t0_ContentType WHERE t0_ContentType.CONTENTTYPE_ID=? 2006-03-08 15:01:44,483 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.ContentType] Executing SQL: SELECT NAME, createdby, createdon, updatedby, updatedon FROM CONTENTTYPE WHERE (CONTENTTYPE_ID=?) 2006-03-08 15:03:15,660 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 45 2006-03-08 15:03:48,722 INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages 2006-03-08 15:03:48,723 DEBUG [org.jboss.deployment.MainDeployer] Undeploying file:/opt/jboss-4.0.1sp1/server/QHViewer_node_prod/farm/quickHelpViewer.ear 2006-03-08 15:03:48,724 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified to shutdown 2006-03-08 15:03:48,725 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified to shutdown 2006-03-08 15:03:48,723 DEBUG [org.jboss.deployment.MainDeployer] Stopping sub deployment: file:/opt/jboss-4.0.1sp1/server/QHViewer_node_prod/tmp/deploy/tmp35568quickHelpViewer.ear-contents/search.war 2006-03-08 15:03:48,725 DEBUG [org.jboss.system.ServiceController] stopping service: jboss.web.deployment:id=-1563047241,war=search.war 2006-03-08 15:03:48,726 DEBUG [org.jboss.system.ServiceController] stopping dependent services for: jboss.web.deployment:id=-1563047241,war=search.war dependent services are: [] Another error message: 2006-03-08 15:03:59,271 DEBUG [org.jboss.mx.util.JBossNotificationBroadcasterSupport] Ignored unhandled throwable from listener java.lang.reflect.UndeclaredThrowableException at $Proxy24.handleNotification(Unknown Source) at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport .java:112) at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.j ava:95) at org.jboss.deployment.SubDeployerSupport.stop(SubDeployerSupport.java:233) at org.jboss.ejb.EJBDeployer.stop(EJBDeployer.java:637) at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:632) at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:605) at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:492) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss-4.0.3SP1 and Hibernate
ok, It's not necessary in JB4.0.3SP1 the SAR jboss-hibernate.deployer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928943#3928943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928943 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Web services client suggestions
Hello - I am new to the JBoss platform (and web services) and wish to build a production quality web service application using JBoss. I'd like to prototype a Java client program that is not a J2EE application or another web service but wishes to invoke the functionality offered by the above JBoss web service application. Is this possible? Is there any reason why this is not recommended? Any useful pointers (articles/documentation, sample code etc.) will be appreciated. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928941#3928941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928941 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Clearing the cache
hmmn... true enough. I had thought about it actually but was undecided. I will turn it into INFO then. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928938#3928938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928938 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: EJB3 to RC5 context lookup confusion
deployment error messages would help, so would any persistence.xml files you are using. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928937#3928937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928937 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 reverse engineering tool
Is it possible not to prefix class name with catalog name? Example: table ce.users result class name CeUsers. Also I've noticed that *EditorBean is not using right method names, which is causing compilation errors. Example: instance.getCeUsers().getCeProfiless().remove(instance); //error | instance.getCeUsers().getCeProfileses().remove(instance); //fixed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928936#3928936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928936 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Configuring the User portlet
Hi all I am using JBoss 4.0.2, JBoss portal 2.0 and Oracle9i. I need to authenticate users that have been created in a separate Oracle database server. I have already created User and User_roles databases. Can somebody tell me how to configure to authenticate users and add users usin that DB other than FS.. Thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928935#3928935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928935 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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] - Re: Jboss-4.0.3SP1 and Hibernate
Hello, I have the same problem: nested throwable: (javax.management.AttributeNotFoundException: A ttribute 'HarUrl' is not writable) Why this attribute is read-only? How can I change this property? Anybody can help me? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928934#3928934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928934 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB not bound Exception
After adding some client jars my code is running fine. Thanks for your support View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928933#3928933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928933 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 reverse engineering tool
Thomas, Thank you a lot! Now it works after conversion to InnoDB. I think it will be helpful to warn users in case if database is not 100% compatible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928932#3928932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928932 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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] - Re: store string and Timestamp data into oracle ,error?
It seem to be a oracle bug. I tested on mysql 4.1,it is correct. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928931#3928931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928931 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Incompatible object argument for function call
I ran some tests and was getting the same error as you. I believe that the problem lies in the fact that new Integer() expects a String or an int. When you use your original line: return new Integer((($2.get("Quantity")!= null) ? $2.get("Quantity") : "1").toString()); you leave the possibility of returning $2.get("Quantity"), which returns an Object (as opposed to a String or an int). If I change the return statement to: return new Integer((($2.get("Quantity")!= null) ? $2.get("Quantity").toString() : "1").toString()); then the error went away. For reference, here is example code that compiles without errors: package quicktest; | | import javassist.*; | import java.lang.reflect.*; | import java.util.*; | | public class Main { | | public Main() { | } | | public static void main(String[] args) { | ClassPool pool = ClassPool.getDefault(); | CtClass newCtClass = pool.makeClass( "TestClass" ); | String body = "public Object translate(java.util.Map m, java.util.Map v) {" + | "return new Integer((($2.get(\"Quantity\").equals(null)) ? $2.get(\"Quantity\").toString() : \"1\").toString());}"; | | try | { | CtMethod testCtMethod = CtNewMethod.make( body, newCtClass ); | newCtClass.addMethod( testCtMethod ); | | Class newCreatedClass = newCtClass.toClass(); | | Method testMethod = newCreatedClass.getDeclaredMethod( "translate", new Class[] { Map.class, Map.class } ); | Object testObject = newCreatedClass.newInstance(); | | | }catch( Exception e ) | { | e.printStackTrace( System.err ); | } | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928930#3928930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928930 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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] - store string and Timestamp data into oracle ,error?
I writen an entity bean,it have a Long key field,a String field,a Timestamp field... In my session bean ,I create a entity in a interface function createBug,update the String filed value and Timestamp field value in other function updateBug. I found the String field value is error,I update the value to "a_yyb", but the value in oracle database is not "a_yyb"!!! Then I change the Timestamp field type to java.sql.Date ,I found String value is correct. It is a jboss bug? or oracle bug? or jdk bug? evironment: os: debian-sarge,kernel:2.6.14.3 java: jrockit-j2sdk1.4.2_05,jboss-3.2.7 or jboss-3.2.8.SP1,oracle jdbc driver:ojdbc14.jar database: oracle8.1.7 entity bean code: package ydxt.ejb.entity; /** * This class is part of Middlegen airlines, and it is * a CMP EJB accessing the TESTBUG table. * * @ejb:permission role-name="PUBLIC" * @jboss:create-table create="true" * @jboss:remove-table remove="false" * @ejb:transaction type="Required" * @ejb.persistence table-name="TESTBUG" * @jboss.table-name table-name="TESTBUG" * @jboss.container-configuration name="custom container" * @comment TESTBUG have pk column * @ejb.value-object * @author Middlegen * * @ejb.bean *type="CMP" *cmp-version="2.x" *name="TestBug" *local-jndi-name="ejb/bug/TestBugLocalHome" *view-type="local" * * @ejb.finder *signature="java.util.Collection findAll()" *result-type-mapping="Local" *method-intf="LocalHome" *query="SELECT OBJECT(o) FROM TestBug o" *description="Find all entities." * * @ejb.persistence table-name="TESTBUG" * @ejb.transaction type="Required" * * */ public abstract class TestBugBean implements javax.ejb.EntityBean { /** * Returns the pkid * * @return the pkid * * @ejb.pk-field * @ejb.interface-method view-type="local" * @ejb.persistent-field * @ejb.persistence column-name="PKID" */ public abstract java.lang.Long getPkid(); /** * Sets the pkid * * @param pkid the new pkid value */ public abstract void setPkid(java.lang.Long pkid); /** * Returns the sqr * * @return the sqr * * @ejb.interface-method view-type="local" * @ejb.persistent-field * @ejb.persistence column-name="SQR" */ public abstract java.lang.String getSqr(); /** * Sets the sqr * * @param sqr the new sqr value * @ejb.interface-method view-type="local" */ public abstract void setSqr(java.lang.String sqr); /** * Returns the sqsl * * @return the sqsl * * @ejb.interface-method view-type="local" * @ejb.persistent-field * @ejb.persistence column-name="SQSL" */ public abstract java.lang.Long getSqsl(); /** * Sets the sqsl * * @param sqsl the new sqsl value * @ejb.interface-method view-type="local" */ public abstract void setSqsl(java.lang.Long sqsl); /** * Returns the sqk * * @return the sqk * * @ejb.interface-method view-type="local" * @ejb.persistent-field * @ejb.persistence column-name="SQK" */ public abstract java.lang.Long getSqk(); /** * Sets the sqk * * @param sqk the new sqk value * @ejb.interface-method view-type="local" */ public abstract void setSqk(java.lang.Long sqk); /** * Returns the spr * * @return the spr * * @ejb.interface-method view-type="local" * @ejb.persistent-field * @ejb.persistence column-name="SPR" */ public abstract java.lang.String getSpr(); /** * Sets the spr * * @param spr the new spr value * @ejb.interface-method view-type="local" */ public abstract void setSpr(java.lang.String spr); /** * Returns the spsl * * @return the spsl * * @ejb.interface-method view-type="local" * @ejb.persistent-field * @ejb.persistence column-name="SPSL" */ public abstract java.lang.Long getSpsl(); /** * Sets the spsl * * @param spsl the new spsl value * @ejb.interface-method view-type="local" */ public abstract void setSpsl(java.lang.Long spsl); /** * Returns the fylx * * @return the fylx * * @ejb.interface-method view-type="local" * @ejb.persistent-field * @ejb.persistence column-name="FYLX" */ public abstract java.lang.Long getFylx(); /** * Sets the fylx * * @param fylx the new fylx value * @ejb.interface-method view-type="local" */ public abstract void setFylx(java.lang.Long fylx); /** * Returns the spsj * * @return the spsj * * @ejb.interface-method view-type="local" * @ejb.persistent-field * @ejb.persistence column-name="SPSJ" */ public abstract java.sql.Timestamp getSpsj(); /** * Sets the spsj * * @param spsj the new spsj value * @ejb.interface-method view-type="local" */ public abstract void setSpsj(java.sql.Timestamp spsj); /** *
[JBoss-user] [EJB 3.0] - Re: EJB3 to RC5 context lookup confusion
Thanks for trying Bill, but still can't get it to work. The changes in the Wiki are for EJB3 RC4, and the jboss4.0.4rc1 bundle installs EJB3 RC5 (I wasn't prompted to choose a different EJB version). I have tried the changes mentioned on the Wiki, and the spec mentions annotations that are unrecognised (eg @LocalBinding, @Service). Google just lands me on older version info. I am not sure what steps to take to advance. A simple implementation of context lookup (interface with one method, a SLSB, and a servlet is all I need) right now. Thanks. ps ... why can't I see these new annotations, am I missing libraries? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928928#3928928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928928 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope
Yes, Java caches ResourceBundles, so you don't need to worry about caching them yourself. I have reworked the resourceBundle component as a SESSION scoped component, that uses the client locale, instead of letting you to set the locale in seam.properties. This is of course the correct way to do it. duh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928925#3928925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928925 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys
Never mind, I created the Jira JBCACHE-496 for this problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928923#3928923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928923 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: EJB3 to RC5 context lookup confusion
In addition, you also need to change persistence.xml to the new struture: | | java:/DatabaseDS | | | | | | | | | | | | and it is better to change xxx.ejb3 to xxx.jar Details please see http://wiki.jboss.org/wiki/Wiki.jsp?page=FromJBossEJB3.0RC3ToRC4PFD Good luck! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928922#3928922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928922 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - How to rollback failed timer.execute
Dear All, How do we rollback a transaction just in case a timer execute method fails in the scheduler session? We do not want to rollback the entire scheduler session, just the failed timer. I was thinking of creating two sessions, one to lookup the timers and another to do the execution persistence, however there is no method to lookup a timer based on its id. If somebody has already a solution for this, I'd appreciate if you can share your expertise or if this has already been discussed, kindly point me to that post. Thanks a lot. Regards, Elmo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928921#3928921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928921 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Proxy Server and EJBs - confused.
I'm still pretty confused about how to get JBOSS ejbs to talk through a http proxy and so on. I understand about setting these properties, that's fine: ava.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=http://myhost.com:80/invoker/JNDIFactory But surely there must be somewhere to tell the JBOSS client where to find the proxy server. The java.naming.provider.url contains the internet address of the jboss server, but surely we need to tell it where the proxy server and port number is that it needs to talk through to access the server. The other thing I don't understand is if there is something else that needs to be changed to get the actual EJBs to talk http protocol. The above config makes JNDI talk http, but is there another change to make the EJBs talk it as well, or does the above achieve the whole thing? I'm finding the JBOSS documentation lacking in this area. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928920#3928920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928920 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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] - Re: Batching, Hibernate Stateless Session & JBoss...
Turns out that this is not really a JBoss issue, but a Hibernate issue. It looks like the 'AbstractBatcher' class in Hibernate is not quite set up correctly to handle batch updates. We changed the following method in this class to fix this issue: public boolean hasOpenResources() { | | //return resultSetsToClose.size() > 0 || statementsToClose.size() > 0; | return resultSetsToClose.size() > 0 || statementsToClose.size() > 0 || (batchUpdate != null); | } | When a connection is closed, this method is used to check if there are any open resources. In batch update mode, Hibernate doesn't use the 'resultSetsToClose' & 'statementsToClose' variables; but uses the 'batchUpdate' variable. As such, this method needs to return 'true' if batch update is in process. As for, why this worked in Weblogic and not in JBoss, my only explanation is that JBoss does a better job of cleaning resources after the connection is closed than Weblogic does. It seems like, when a connection is closed, JBoss closes all the associated PreparedStatements; but Weblogic keeps them open. In this particular case, it seems like, Weblogic was re-attaching a connection to the old PreparedStatement. Hope this all makes sense. In any case, I will post this reply to the Hibernate mailing list; but I thought I should let everyone know that this isn't a JBoss issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928919#3928919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928919 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss AOP] - DynamicAOP not working with Examples
I'm using the injboss example to try out DynamicAOP. I startup JBoss with the jboss-aop.xml file in the /server/all/deploy dir. I then drop in the aopexample.ear that was built from the example. The ear deploys and I can see the interceptors print to the console like they are supposed to. I remove the jboss-aop.xml file and the interceptors no longer print (so far, so good). When I drop the jboss-aop.xml file back into the deploy dir I get the following stack dump: | 2006-03-08 16:28:19,113 INFO [STDOUT] [error] java.lang.RuntimeException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.injbossaop.lib.SimpleInterceptor file:/C:/jboss-4.0.3SP1/server/all/tmp/deploy/tmp4259jboss-aop.xml | 2006-03-08 16:28:19,113 INFO [STDOUT] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.injbossaop.lib.SimpleInterceptor | 2006-03-08 16:28:19,113 INFO [STDOUT] at org.jboss.aop.AspectXmlLoader.deployXML(AspectXmlLoader.java:832) | 2006-03-08 16:28:19,113 INFO [STDOUT] at org.jboss.aop.AspectXmlLoader.deploy(AspectXmlLoader.java:1139) | 2006-03-08 16:28:19,113 INFO [STDOUT] at org.jboss.aop.AspectXmlLoader.deployXML(AspectXmlLoader.java:1159) | 2006-03-08 16:28:19,113 INFO [STDOUT] at org.jboss.aop.deployment.AspectDeployer.create(AspectDeployer.java:163) | 2006-03-08 16:28:19,113 INFO [STDOUT] at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935) | 2006-03-08 16:28:19,113 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789) | SimpleInterceptor is in the ear file, if it weren't the original deployment would not have worked. I made sure to build the ear that did not include the jboss-aop.xml file in it as well. I'm using JBoss 4.0.3SP1 and AOP 1.3.5. Any ideas? Thanks, Tim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928917#3928917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928917 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession
... just to complement, we've already tried this http://wiki.jboss.org/wiki/Wiki.jsp?page=DistributedPortletSession with no success. There is a reference to a " Portal Session " ... does this mean regular " HttpSession " ? or is there another session besides PortletSession and HttpSession View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928916#3928916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928916 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: PortletSession vs HttpSession
--- Are your filter and your portlet deployed in the same WAR context ? --- Rembember: each context has its own distinct session! --- There is a config option to share the portal's session across all contexts though. Check the docs for how to activate that. What do you mean by that ? We've deployed several portlets from diferent WARs, and each keeps it's own HTTP session wich is in turn wrapped by PortalSession thru that prefix thing, will this configuration merge session from different portlets from different applications ? or just this prefix-domain thing ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928915#3928915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928915 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - emtpy argument becomes null?
One thing I've noticed is that the method I'm trying to call on my endpoint takes two parameters the second of which is a String[]. The client code I'm using passes an empty array for the second parameter. However, by the time it gets to the endpoint, the array is null. Is that an expected behavior? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928914#3928914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928914 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem with bijecting
Sorry, your example code is simply too complicated. Try and massively simplify it down to the bare concepts, and if it is not then obvious what the problem is, post the simplified code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928913#3928913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928913 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam
I've rebuilt it on Java 5. I wonder if it's possible to overwrite the wiki attachments. Sandbox keeps asking me to log in, else I'd check. Am travel tired, so will test etc tomorrow. Cheers Gavin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928912#3928912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928912 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: RessourceBundle for all Locals in APP-Scope
Doesn't the JVM cache loaded resource bundles?! You have a great point about the Seam resourceBundle component. I should certainly make this a session-scoped component and use the browser locale, not a global locale. I suck at i18n stuff :-) Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928911#3928911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928911 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Exception: java.lang.IllegalArgumentException: could not
What stacktrace? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928910#3928910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928910 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Class org.jboss.seam.jsf.SeamVariableResolver is no java
The classloading problem is that you are somehow loading the myfaces-api.jar from two different classloaders, so you have two different classes named "org.jboss.seam.jsf.SeamVariableResolver". Make sure you are not deploying the myfaces jars along with your application. JBoss already has them built in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928909#3928909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928909 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Method not found: isJndiName
Should the JBoss IDE 1.5.1.GA solve the problem or will only the nightly builds? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928908#3928908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928908 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: EJB3 to RC5 context lookup confusion
the spec is your friend too it has a revision history View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928907#3928907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928907 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: EJB3 to RC5 context lookup confusion
Google is your friend The wiki is your friend http://wiki.jboss.org/wiki/Wiki.jsp?page=EJB3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928906#3928906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928906 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @NotNull ignored in booking demo
@Length (min = 1, max = 500, message = "Email address is required and must be at most 500 characters long.") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928905#3928905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928905 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: datasource not found ...
Thx to everyone for help -> it's highly apreciated :) Finally got it working, basicly via RTFM (more carefully) ;) Overead the J2SE-example-persistence.xml in HEM "doco" -> which helped solving this problem very quickly ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928904#3928904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928904 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam
Um. I don't seem to be able to figure out how to do that... Thomas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928903#3928903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928903 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam
Bottom of http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamWithJSF1.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928902#3928902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928902 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @NotNull ignored in booking demo
Can't you do: @Length (min = 1, max = 500, message = "Email address must be between 1 and 500 characters long.") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928898#3928898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928898 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam
Remove which attachment from where? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928897#3928897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928897 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: annoying
Yeah, I've also been frustrated by this one. I *think* it is a bug in JBoss AS. I actually havn't seen it for a while and had thought it was fixed in 4.0.4RC1. If you can create any kind of reproducable testcase, report it in JBoss AS JIRA. I was never able to reproduce it reliably. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928896#3928896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928896 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Request: fine-grained control over Server vs Client stat
... sounds a bit over-complex... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928895#3928895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928895 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: myfaces sandbox and seam/facelet
You would need to wrap SeamServletFilter around whatever servlet they use to process the AJAX request. As described here: http://docs.jboss.com/seam/reference/en/html/conversations.html#d0e2481 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928894#3928894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928894 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Some thoughts about the conversations
I think what you guys may be grasping for is a concept of "conversation group", perhaps analogous to ThreadGroup. Do you think? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928893#3928893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928893 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @NotNull ignored in booking demo
It is VERY easy to extend Hibernate Validator and add your own annotations :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928892#3928892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928892 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: EJB3 to RC5 context lookup confusion
"gus888" wrote : TheInterface generateInt = (TheInterface) context.lookup("XXX/TheInterface/local"); | it seems the "XXX/TheInterface/local" should be "XXX/TheInterfaceBean/local". Nope, does not work. Seems like my My Beans are "not Bound" to JNDI. thanks for suggestion though. Is there a place to get all the changes we have to make when migrating? This would truely make this process easier for devleopers/architects. ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928891#3928891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928891 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Questions about stateless session bean life cycle from clien
I have a bunch of stateless session beans running in JBoss 4.0.1sp1 which are being called by a Swing client via RMI. I would like the application to scale to hundreds of clients, and I'm beginning to look at performance tuning. So far, the results are encouraging; I've used Grinder 3 (incidentally a great tool: http://grinder.sourceforge.net) to simulate as many as 500 clients and things seem to hum along nicely. But I noticed a couple of things along the way. When load is heavy, a significant amount of time is spent in the home.create() methods of the session beans. It turns out this is because I am calling create() before each individual call to each bean. This certainly doesn't seem right, but I am afraid to change it because I don't understand the behavior of the remote proxy with concurrency. Furthermore, changing this behavior in testing doesn't seem to reduce the load on the server in a detectable way. So, my questions: 1) What is the exact overhead of create() from a remote client? Is it always a socket connection? Is there any persistent cost to the server in terms of objects on the heap to manage the connection? 2) Is it safe to make multiple calls through the same proxy on multiple threads? Do I have to think about managing pools of them to save on create() calls, or can I just get one and use it freely? 3) More open-ended: what is the right pattern for implementing a multi-threaded client against stateless session beans? I'd like to comply with the anticipated EJB programming model, if only I could figure out what it is! I hope someone finds this sort of thing interesting enough to comment. Thanks, - moss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928890#3928890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928890 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - what is the best IDE to develop portlets?
what is the best IDE to develop portlets? I use Eclipse, (run packaging with Jboss IDE Eclipse) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928889#3928889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928889 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 development, just getting startet!
Oh!! Thanks. It's perfect to start View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=392#392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=392 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Error creating new directory on CMS
JBoss Portal 2.2 on jboss-4.0.4RC1 with possgress 8.1 (using admin count) Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928887#3928887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928887 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - HA-JMS and MDB question
I'm currently running JBoss version 4.0.1 on Suse 8.0 with java version 1.4.2_10. I'm posting this to the clustering forum as we recently moved to a clustered deployment using HA_JMS with JBoss 4.0.1 from JBoss 4.0.0 and had not seen this problem at that point. To simplify our deployment, we always run in clustered mode, whether it be a cluster of one node or many nodes. In this instance we are running with one node. I've got several MDB's deployed that are called from a stateless session bean which opens and closes its connection with each published message. These are used on a very limited basis based on specific business scenarios. We ran into a scenario where we were getting out of memory errors due a too many open files error. To start to track this down, I added the trace logging described in the JBossMQ forum to see what was going on there as when we ran a thread dump from the ServerInfo MBean and saw quite a few threads listed for JBossMQ. After a restart, without any invocation of any of the MDB's by our EJB's, I am seeing the following error in the server log. It appears the on of the managed socket connections is failing trying to execute the read task. At that point, unless I'm reading it incorrectly, it tell me the connection with token=ConnectionToken:ID:26 was disconnected. At that point I assumed the socket was removed. 2006-03-08 14:34:45,900 DEBUG [org.jboss.mq.il.uil2.SocketManager] Exiting on unexpected error in read task | java.lang.OutOfMemoryError: unable to create new native thread | at java.lang.Thread.start(Native Method) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:520) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:880) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:301) | at java.lang.Thread.run(Thread.java:534) | 2006-03-08 14:34:45,906 TRACE [org.jboss.mq.Connection] Notified of failure reason=Exiting on unexpected error in read task [EMAIL PROTECTED]:ID:26/b60caf67496db034de2bcf4325367cb0 rcvstate=STARTED] | java.lang.reflect.UndeclaredThrowableException | at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:147) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:405) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:347) | at java.lang.Thread.run(Thread.java:534) | Caused by: java.lang.OutOfMemoryError: unable to create new native thread | at java.lang.Thread.start(Native Method) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:520) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:880) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:301) | ... 1 more | 2006-03-08 14:34:45,913 WARN [org.jboss.mq.Connection] Connection failure: | org.jboss.mq.SpyJMSException: Exiting on unexpected error in read task; - nested throwable: (java.lang.reflect.UndeclaredThrowableException) | at org.jboss.mq.Connection.asynchFailure(Connection.java:436) | at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:147) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:405) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:347) | at java.lang.Thread.run(Thread.java:534) | Caused by: java.lang.reflect.UndeclaredThrowableException | ... 4 more | Caused by: java.lang.OutOfMemoryError: unable to create new native thread | at java.lang.Thread.start(Native Method) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:520) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:880) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:301) | ... 1 more | 2006-03-08 14:34:45,914 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run | 2006-03-08 14:34:45,914 TRACE [org.jboss.mq.il.uil2.SocketManager] WriteTask was interrupted | java.lang.InterruptedException | at java.lang.Object.wait(Native Method) | at java.lang.Object.wait(Object.java:429) | at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.take(LinkedQueue.java:122) | at org.jboss.mq.il.uil2.SocketManager$WriteTask.run(SocketManager.java:484) | at java.lang.Thread.run(Thread.java:534) | 2006-03-08 14:34:45,914 TRACE [org.jboss.mq.il.uil2.SocketManager] Exiting on IOE | java.io.EOFException | at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603) | at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:284) | at java.lang.Thread.run(Thread.java:534) |
[JBoss-user] [EJB 3.0] - Re: EJB3 to RC5 context lookup confusion
TheInterface generateInt = (TheInterface) context.lookup("XXX/TheInterface/local"); it seems the "XXX/TheInterface/local" should be "XXX/TheInterfaceBean/local". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928885#3928885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928885 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: EJB3 to RC5 context lookup confusion
BTW, the error I'm getting at start up of Jboss is: ObjectName: jboss.j2ee:service=EJB3,ear=XXX.ear,jar=XXX-beans.ejb3,name=TheInterfaceBean State: NOTYETINSTALLED Why? I don't know. and when trying to use the context.lookup in the servlet, I get: javax.naming.NameNotFoundException: TheInterface is not Bound. please help, thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928884#3928884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928884 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - More portlets
where I can find more example of portles? (with source code and without source code)? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928883#3928883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928883 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Deploying Jdeveloper app on Jboss 4
I have an application that is up and running on JBoss 3.2.3. For an IDE, I use JDeveloper 10g. to deploy to jboss. I need to deploy on Jboss 4. However when I deploy on JBoss 4 the depoyment fails and gives this error. 17:08:18,875 ERROR [URLDeploymentScanner] Incomplete Deployment listing: Incompletely deployed packages: [EMAIL PROTECTED] { url=file:/C:/jboss-4.0.0/server/default/deploy/ASICS_APP.ear } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages. state: FAILED watch: file:/C:/jboss-4.0.0/server/default/deploy/ASICS_APP.ear altDD: null lastDeployed: 1141855697859 lastModified: 1141855604890 mbeans: Can somebody out there help me??? [ March 08, 2006: Message edited by: Caliph Herald ] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928882#3928882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928882 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - EJB3 to RC5 context lookup confusion
I am trying to migrate from jbossSP1 and ejb 3.0, to jboss4.0.4RC1 and EJB3.0RC5 for an enterprise application I'm launching in a couple of months. Loved the jbosssp1/ejb3 bundle, but this migration is driving me looney. I am currently stuck at trying to get the context lookup to work. I have heard that this is the right syntax: TheInterface generateInt = (TheInterface) context.lookup("XXX/TheInterface/local"); Where TheInterface is the Interface class (that has an @Local annotation in it). XXX is the .ear package (which in my case contains a .war package and a .ejb3 package). Questions: 1) I still can't get this to work. Has anyone else been successful? 2) I am using eclipse. Am I supposed to change the packaging of the project? 3) My API's are missing annotations that are mentioned in some examples, am I supposed to change eclipse during this migration? ps @RemoteBinding does not exist in my API. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928880#3928880 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928880 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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 problem
Change it to this and it works: ProcessDefinition definition = ProcessDefinition.parseXmlResource ("hello.par/processdefinition.xml"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928879#3928879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928879 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam
I'm not ;-) I'm sure the problem was that I was trying out Mustang amongst other things. Gavin, can you or another JBoss representative remove the attachment from the wiki page? I'll build a Java 5 version, but don't want to cause confusion with multiple attachments up there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928878#3928878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928878 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Persistence Best Practices?
I've recently run into a situation where I've got a transaction that spans multiple requests and I receive a LazyInitializationException when I attempt to save and commit the changes to the object on the final request. Specifically, I load a TaskInstance in one request, and then (potentially several requests later) I set the actorId on the TaskInstance and save it. The concept is that a user loads a group queue in one request and then "claims" a task by assigning it to himself in another request. There are a number of ways I can handle this, but I wanted some advice as to which method is preferred. First, I could iterate over the list of tasks as I load them and invoke property accessor methods to force lazy properties to initialized during the same session. I believe this is straightforward and within the intended use of jBPM, but is wasteful if the user never "claims" the task. Or, I could re-load a fresh copy of the task instance just prior to updating it. This would ensure that the working copy is associated with the current session, but this is equally wasteful as it involves an unnecessary extra query (potentially more, if lazy initialization is involved). A preferred approach would be to implement the session-per-request with detached objects pattern and simply re-attach the TaskInstance objects to the session prior to accessing lazy properties. Since JbpmContext exposes the Hibernate session this is technically possible, but I am not sure if this is the intended use. Since jBPM wraps and manages the Hibernate session and transactions, it might make more sense to manage this process inside of JbpmContext. For example, a call to JbpmContext.save(TaskInstance task) would first call session.contains(task) to determine if the task is in the Hibernate session. If not, it would then call session.lock(task, LockMode.NONE) to re-associate the task to the session prior to accessing lazy properties. This would only be necessary for operations that access lazy properties, and could be made more sophisticated by using Hibernate.isInitialized(). (Note: this would not work in every case as there is a potential for a NonUniqueObjectException if an operation is attempted on another instance with the same ID.) Is using the Hibernate session to re-attach objects in our code appropriate? Has it been tested? Are there potential conflicts with the jBPM code that manages the Hibernate session? Or should I try to initialize everything up front and/or re-load objects prior to modifying them? Thanks, - Jesse View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928876#3928876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928876 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: initial values
Try populating your @Factory method, or adding a @Create method to your myBean. There are example in the Seam distro that show working @Factory used to populate initial values. -Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928875#3928875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928875 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - How to compile a simple portlet
Hi I want to compile a simple portlet from scratch. I have written a Porlet Java class, a JSP and I would like to compile the Java class,create the Jar file, write the portlet descriptors (or modify the descriptors available), set up the War file directory structure, package and deploy the portlet. I would like to know what Jars to include in the CLASSPATH, etc. Any assistance in this regard is welcomed. If this question is repeated in the forums I do apologize. I have a general idea of doing things. But I would like to know if there is a JBoss Portal specific way of doing this!! thanks to all ilango View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928871#3928871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928871 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Spring + jBPM 3.1 + Single Hibernate Session
Also, You want to make sure your application context create an individual jbpmContext and not a singleton. So the new application context would be this: | | | | | | | | | classpath:jbpm-3.1.jar | | | ... | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928870#3928870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928870 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Spring + jBPM 3.1 + Single Hibernate Session
icyjamie, No if you call JbpmConfiguration.getInstance() you will get a cofiguration instance other than that in Spring. Therefore, you want to use the application context with Spring. Here is an example of using Spring and jBPM: | | public class MyTest extends TestCase { | | private JbpmConfiguration jbpmConfiguration; | | protected void setUp() throws Exception { | super.setUp(); | | jbpmConfiguration = (JbpmConfiguration) ctx | .getBean("jbpmConfiguration"); | | } | | public void testSaveProcessInstance() { | | JbpmContext jbpmContext = null; | | jbpmContext = jbpmConfiguration.createJbpmContext(); | | ProcessInstance processInstance = jbpmContext | .newProcessInstance("Proposal"); | | Token token = processInstance.getRootToken(); | assertEquals("start", token.getNode().getName()); | | token.signal(); | // Now the process is in the 'draft' state. | assertEquals("Draft", token.getNode().getName()); | | // And close the jbpmSession. | jbpmContext.close(); | | } | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928868#3928868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928868 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys
Nice find! If you create a Jira for this, I'll fix it for the JBoss Cache 1.3 release. Assign it to me for release 1.3. This needs to be done today. The workaround is: System.out.println(guidMap2.containsKey(new Long("8225676592564383").toString())). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928867#3928867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928867 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - annoying
I'm in the process of learning + developing my Seam enabled web app and I find myself needing to redeploy all the time. Since I'm also new to JSF, I sometimes need to redeploy because of a stupid JSF bug in my .xhtml files. Some of the time the error will occur right after a make a call to a @Begin method. When I go ahead and redeploy, I will often times get this exception: | Caused by: javax.transaction.NotSupportedException: Transaction already active, cannot nest transactions. | at org.jboss.tm.TxManager.begin(TxManager.java:208) | at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:124) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.begin(SeamExtendedManagedPersistencePhaseListener.java:61) | ... 27 more | Now I'm guessing that this is because my previous deployment still had a transaction open. Is there a way to FLUSH all of the transactions on a redeploy? I've added the following to my faces config file to get the Seam managed transactions: | | org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener | | and this to my web.xml file for Seam to handle exceptions, (which I thought would take care of this problem) | | Seam Exception Filter | org.jboss.seam.servlet.SeamExceptionFilter | | | Seam Exception Filter | *.xhtml | | The only way I've found to really get JBoss not to give me the transaction errors is to restart it, which is *very* painful to do for small JSF syntax errors. Any help is appreciated. Thanks, - Cory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928866#3928866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928866 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: @Embedded objects require @AttributeOverrides? WTF!?
i wouldn't know. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928862#3928862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928862 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: initial values
No - that won't work ! (1) I need the injection of myBean, because it holds the values of the form. If I remove the @In-annotation I have no access to the beanValues filled from the jsf-form within my controller ! (2) Assume you have a @Valid annotation for your bean for childvalidation. If you remove the @In statement it will throw a nullpointerexception, because its now impossible for seam to identify which child to use for validation (it needs @Name-annotation-reference to identify which child to validate) any further ideas ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928853#3928853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928853 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: EJB3 remoting - RMI (good), HTTP (bad)
Was a little fast on the submit - The problem with JNDI was 'authorization' not authentication. The test was done on CVS-snapshot of jboss-4.0.x on 3/7/2006. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928846#3928846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928846 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - EJB3 remoting - RMI (good), HTTP (bad)
Hey all, I have had great success with EJB3 test-application and using the remoting support for socket-based RMI with great success! Now I have moved on to test support for RMI-over-HTTP, and having some issues. Two problems specifically: * Using the servlet or EJB invoker over HTTP. * The JNDI call for the initial context. I have a java client that is using the EJB3-socket talking to a secured EJB3class and all works fine is: | Properties env = new Properties(); | env.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | env.setProperty(Context.SECURITY_PRINCIPAL, username); | env.setProperty(Context.SECURITY_CREDENTIALS, password); | | env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory"); | env.setProperty(Context.PROVIDER_URL,"jnp://localhost:1099"); | | //then, get appropriate EJB3class (remote or remoteSSL) and make a method call | This works great, and all the EJB3class have the following bindings: | @RemoteBindings({ | @RemoteBinding(clientBindUrl="sslsocket://0.0.0.0:3843", jndiBinding="MyClassBean/remoteSSL"), | @RemoteBinding(clientBindUrl="socket://0.0.0.0:3873", jndiBinding="MyClassBean/remote"), | @RemoteBinding(clientBindUrl="http://0.0.0.0:8080/invoker/EJBInvokerServlet";, jndiBinding="MyClassBean/remoteHttp") |}) | | /* | * Security annotations | */ | @PermitAll | @SecurityDomain("testRealm") | Problem 1: When I use the above configuration and make a call to the remote Binding for remoteHttp, I get the following error: | Exception in thread "main" java.lang.ClassCastException: java.lang.String | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:65) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102) | Problem 2: When I change the context factory and provider url for HTTP access, I get various errors. The JNDIFactory gives a 'not authenticiated, incorrect username/password' - even though it works fine with the socket approach. | //env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.HttpNamingContextFactory"); | //env.setProperty(Context.PROVIDER_URL,"http://localhost:8080/invoker/JNDIFactory";); | //env.setProperty(Context.PROVIDER_URL,"http://localhost:8080/invoker/JMXInvokerServlet";); | The JMXInvoker gives this error: | javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is java.io.IOException: Invalid reply content seen: class org.jboss.invocation.InvocationException] | at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:84) | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.init(Unknown Source) | at javax.naming.InitialContext.(Unknown Source) | [snip - my client test class] | Caused by: java.io.IOException: Invalid reply content seen: class org.jboss.invocation.InvocationException | at org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:153) | at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:80) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928845#3928845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928845 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: @Embedded objects require @AttributeOverrides? WTF!?
http://opensource2.atlassian.com/projects/hibernate/browse/ANN-279 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928844#3928844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928844 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Request: fine-grained control over Server vs Client state sa
I would like to to have a more fine grained control over what is saved on the client vs server, something like: |@Scope(SESSION, state=server) | I really like to keep, for example, the id of the loggedin user on the server for security reasons. Other state data can be saved on the client without any security problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928843#3928843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928843 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - success stories to sell to management
I'm becoming a big fan of jbpm, but it can be difficult to sell to management without some success stories. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928842#3928842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928842 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: @Embedded objects require @AttributeOverrides? WTF!?
Give me a general direction to look in the code and I'll try to patch it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928841#3928841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928841 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Exception while generation code...
use 3.1beta4 or the just releasted jbosside 1.5.1 GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928840#3928840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928840 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: initial values
I suggest you remove the @In annotation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928839#3928839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928839 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Tools & Documentation
Have you chekked the "use ejb3/annotations" checkbox in the console configuration ? (btw. would actually be nice if we autodetected this need depending on the contents of the hibernate.cfg.xml ...please put that in jira if you want it) ...and you should *not* add any hibernate related jars to the console configuration. Delete a config : select a config and press Delete Edit a config : select a config and dblclick or rightclick and select "Edit" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928838#3928838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928838 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: @Embedded objects require @AttributeOverrides? WTF!?
you have a very valid point. Add a feature request here: http://opensource2.atlassian.com/projects/hibernate/browse/ANN View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928837#3928837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928837 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: myfaces sandbox and seam/facelet
just tried inputSuggestAjax - nearly-works, but get nullpointerexception when calling remote-method. I believe it is because seam manages its objects invisible for jsf - thus the ControllerBean bean is not found by the ajax-implementation. somewhere in the forum there is a tip from Gavin how to access seam-objects directly but I can't remember ;-) conclusion: this needs further investigation and does not work out of the box may be the new remoting of seam can help, but currently I don't know how ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928836#3928836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928836 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - @Embedded objects require @AttributeOverrides? WTF!?
JDK 1.5.0_06 JBoss 4.0.4RC1 @Embeddable | class Vector3f | { | double getX() | double getY() | double getZ() | } | | @Entity | class Foo | { | @Embedded | Vector3f getVelocity(); | @Embedded | Vector3f getOrientation(); | } I get some errors from Hibernate about multiple columns in the Foo table. The only way it works is if I add @AttributeOverrides and specify unique columns for each embedded object. @Entity | class Foo | { | @Embedded | @AttributeOverrides( | { | @AttributeOverride(name="x", [EMAIL PROTECTED](name="velocity_x")), | @AttributeOverride(name="x", [EMAIL PROTECTED](name="velocity_y")), | @AttributeOverride(name="x", [EMAIL PROTECTED](name="velocity_z")) | } | Vector3f getVelocity(); | | @Embedded | @AttributeOverrides( | { | @AttributeOverride(name="x", [EMAIL PROTECTED](name="orientation_x")), | @AttributeOverride(name="x", [EMAIL PROTECTED](name="orientation_y")), | @AttributeOverride(name="x", [EMAIL PROTECTED](name="orientation_z")) | } | Vector3f getOrientation(); | } This is, IMHO, incredibly stupid. We are embedding the structure of the embedded class... WTF good is the embedded class? What happens when I want to add a member? Or change the names? Now, in older JBoss versions, the CMP container added the field name of the embedded class as a prefix to the fields in the embedded class. Much like the above: velocity_x | velocity_y | velocity_z | orientation_x | orientation_y | orientation_z Am I doing something wrong? Thanks, Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928835#3928835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928835 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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: How can I limit ANSI joins (resulting column #) in queri
I couldn't find this before, but I guess posting a question always raises the possibility of finding it in the doc. hibernate.max_fetch_depth - Set a maximum "depth" for the outer join fetch tree for single-ended associations (one-to-one, many-to-one). A 0 disables default outer join fetching. eg. recommended values between 0 and 3. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928834#3928834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928834 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Exception while generation code...
I have having the same problem. Did you ever figure out what the problem was? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928833#3928833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928833 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Spring is in the air
"icyjamie" wrote : Of course. There was some glitches in the configuration for the session factory. It must depend on jbpmConfiguration, so: | | | - depends-on="jbpmConfiguration" for the sessionFactory (believe me, it is necessary :-)) | | - The addition of my favorite directories:-)/hibernate.queries.hbm.xml (the original has still errors (maybe other hibernate version), so I've made some changes) | | | Maybe this could be a starting point of a subproject (or module). I have no "template" or the like. | | ObjectFactoryBeanFactoryAware | | | package myFavoritePackage; | | import java.util.Map; | | import org.jbpm.configuration.ObjectFactory; | | import org.springframework.beans.BeansException; | | import org.springframework.beans.factory.BeanFactory; | | import org.springframework.beans.factory.BeanFactoryAware; | | | | public class ObjectFactoryBeanFactoryAware implements ObjectFactory, BeanFactoryAware { | | | | private BeanFactory beanFactory = null; | | | | private Map resources = null; | | | | public void setResources(Map resources) { | | this.resources = resources; | | } | | | | private Object getResource(String name) { | | return resources.get(name); | | } | | | | private boolean hasResource(String name) { | | return resources.containsKey(name); | | } | | | | public Object createObject(String name) { | | Object bean = getResource(name); | | if (bean == null) { | | bean = beanFactory.getBean(name); | | } | | return bean; | | } | | | | public boolean hasObject(String name) { | | boolean found = hasResource(name); | | if (!found) { | | found = beanFactory.containsBean(name); | | } | | return found; | | } | | | | public void setBeanFactory(BeanFactory beanFactory) throws BeansException { | | this.beanFactory = beanFactory; | | | | } | | | | } | | | SpringDbPersistenceService | We did not care about transaction management in the close method, because we use transaction demarcation on another level | If you really want to do this, it is easily extended | | | package myFavoritePackage; | | | | import java.lang.reflect.Constructor; | | | | import org.hibernate.Session; | | import org.jbpm.db.ContextSession; | | import org.jbpm.db.GraphSession; | | import org.jbpm.db.LoggingSession; | | import org.jbpm.db.MessagingSession; | | import org.jbpm.db.SchedulerSession; | | import org.jbpm.db.TaskMgmtSession; | | import org.jbpm.persistence.db.DbPersistenceService; | | import org.jbpm.persistence.db.DbPersistenceServiceFactory; | | import org.springframework.orm.hibernate3.SessionFactoryUtils; | | | | public class SpringDbPersistenceService extends DbPersistenceService { | | | | private boolean isClosed = false; | | private Class graphSessionClass = null; | | private Class contextSessionClass = null; | | private Class loggingSessionClass = null; | | private Class messagingSessionClass = null; | | private Class schedulerSessionClass = null; | | private Class taskMgmtSessionClass = null; | | | | public void setContextSessionClass(String contextSessionClass) throws Exception { | | this.contextSessionClass = Class.forName(contextSessionClass); | | } | | | | public void setLoggingSessionClass(String loggingSessionClass) throws Exception { | | this.loggingSessionClass = Class.forName(loggingSessionClass); | | } | | public void setMessagingSessionClass(String messagingSessionClass) throws Exception { | | this.messagingSessionClass = Class.forName(messagingSessionClass); | | } | | public void setSchedulerSessionClass(String schedulerSessionClass) throws Exception { | | this.schedulerSessionClass = Class.forName(schedulerSessionClass); | | } | | public void setTaskMgmtSessionClass(String taskMgmtSessionClass) throws Exception { | | this.taskMgmtSessionClass = Class.forName(taskMgmtSessionClass); | | } | | public void setGraphSessionClass(String graphSessionClass) throws Exception { | | this.graphSessionClass = Class.forName(graphSessionClass); | | } | | | | | | | |
[JBoss-user] [JBossCache] - Re: Clearing the cache
One comment though, could it be made into a debug or info message rather than a warning? I have my logs configured to show warnings and would rather not see such log messages at all, since it is not really a problem. I am not sure why it deserves a level of warn. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928828#3928828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928828 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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] - org.jboss.hibernate.jmx.Hibernate seems redundent with Hiber
It seems that org.jboss.hibernate.jmx.Hibernate is now redundant with Hibernate 3.0 and later. Hibernate includes an MBean for the session factory, and so shouldn't JBoss AS try to use org.hibernate.jmx.HibernateService, or possibly extend that class to add the functionality it needs? It seems semi confusing since someone trying to deploy Hibernate as an MBean on JBoss AS could possibly use either org.jboss.hibernate.jmx.Hibernate or org.hibernate.jmx.HibernateService. Just a suggestion. Feel free to flame away! :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928826#3928826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928826 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message propagation form Oracle 10g AQ to JBoss MQ
hi i am trying to implement the Patch set provided by P0six i am using 10gR2 data base and JBoss 4.0.3SP1 and i am getting the following error when i start JBoss, also similar errors apper for other Providers service, i have checked the classpaths in the deploy.xml for the patchset it seems to be correct, am i missing something Starting failed jboss.mq:service=JMSProviderLoader,name=OAQJMSProvider java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.jndi.JBossMQProvider at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:292) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377) at java.lang.ClassLoader.loadClass(Unknown Source) at org.jboss.jms.jndi.JMSProviderLoader.startService(JMSProviderLoader.java:195) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy25.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:185) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.inv
[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys
any ideas on this one anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928823#3928823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928823 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user