[JBoss-user] [Management, JMX/JBoss] - Re: Starting threads from Scheduler
Almost ;) Transactions from the same origin must be processed in sequence. Transactions from different origins can be processed i parallell. So the threads must be coordinated to avoid working on the same origin at the same time. Anyway, I have solved this now by using one scheduler that populates a java.util.concurrent.BlockingQueue. My worker threads feed of the blockingqueue, and the swchedulerwaits for all threads to die before finishing. Unless starting threads from my scheduler should be avoided, I believe this is a simple solution. -Karl Ivar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913068#3913068 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913068 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: localization/i18n support for page names and page titles
anonymous wrote : Why would you separate the display name and the title ? The display name of a page could be used in the menu and the tab navigation to render a link to that page. The display title could be used to render the title of a webpage in the browser. In this case the display title should be mapped to a html-title element like this: | html |head | title | this is the title of the page | /title | /head | ... | /html | But at least support for localized page names would be a great feature for the next version of JBoss Portal :) Best regards, Alexander View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913070#3913070 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913070 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Changing portlets and pages on a running system?
There are several files I use: *-pages.xml, portlet.xml, portlet-instances.xml When I edit these pages under jboss\server\default\deploy\myportal.war nothing happens. I guess I need to touch the web.xml file so that JBoss recognizes changes? Another problem is that JBP doesn't seem to support sub-pages, right? I was thinking of creating a main portal with pages that can have sub-pages in order to define a site structure. How can I solve this? One thing I thought is to use a javascript menu and several portals, thus each portal would represent the a node in the tree. Is there any easier way? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913071#3913071 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913071 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - servlet run-as role
Hello, I use the 4.0.2 version of JBoss AS and try to solve following issue: I have a public servlet without any security constraints that needs to access secured EJBs. To solve such situation I defined a special security role and added it to the servlet by the run-as tag in the web.xml deployment descriptor: | servlet | servlet-namecatchit/servlet-name | ... | run-as | role-namecatchit/role-name | /run-as | /servlet | | security-role | role-namecatchit/role-name | /security-role | The corresponding jboss-web.xml role definition is: | security-role | role-namecatchit/role-name | principal-namecatchit/principal-name | /security-role | Following call to the HttpServletRequest method within servlet's code results in false so it seemed that run-as does not work: | request.isUserInRole(catchit) == false | request.getUserPrincipal() == null | Ok, I thought that the role is added only to calls from servlet to the other components (in my case, to the EJB) so I tried to call to SessionContext method within my SessionBean code: | sc.isCallerInRole(catchit)==false | sc.getCallerPrincipal() == SimplePrincipal(anonymous) | but with the same result. The principal is not null any more but again does not have the role catchit assigned to the servlet by the run-as tag. The role catchit is defined within the assemby-descriptor of the ejb-jar.xml: | assembly-descriptor | security-role | role-namecatchit/role-name | /security-role | /assembly-descriptor | My questions are: 1. Is this solution applicable to the situation described at the beggining? 2. If so, what I have done wrong? 3. If not, can you point me to the right way? 4. Maybe the trouble is that the secure EJBs are not protected by the method-permissions declarations within the assembly-descriptor, but I use some kind of explicit security checks within the EJBs methods code? Looking forward to your smart advices, Petr View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913072#3913072 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913072 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - EJB Behind Firewall
Hello All, Problem: Rich client needs to call ejb which is behind a firewall. Opening up ports is not an option. Could someone please suggest a reference that explains how this is done using JBoss or alternative tools. Thanks in advance, Raoul View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913074#3913074 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913074 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - migration from 4.0.2 to 4.0.3SP1, HA-JNDI not working anymor
Hi, I just upgraded my server from 4.0.2 to 4.0.3SP1 now HA-JNDI is not working anymore... I can't figure out why because the cluster default partition says it relys on JNDI on port 1100. and HA-JNDI is starting but somewhat stall, maybe because it's depending on defaultpartition. is this crossdependency? however the configuration is the default one... doesn't it work out of the box? I Installed through the installer, enabled all services. and secured everything that was available. Maybe they can't reach each other anymore?... here is the server.log... - 2005-12-16 11:24:26,044 DEBUG [org.jboss.ha.jndi.HANamingService] Created jboss:service=HAJNDI -- which seems to be ok. But port 1100 isn't bind if I check it with lsof or sockstat. and because it's not bind. -- javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1100 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1100 [Root exception is java.net.ConnectException: Connection refused]]] -- any hints about this issue? regards, Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913075#3913075 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913075 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Null Pointer Exception in MyFacesGenericPortlet
Hello Roy, I opened a bug in Jirra: JBPORTAL-530 regards Stfean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913076#3913076 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913076 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Web Services with EJB3
hi, been to http://wiki.jboss.org/wiki/Wiki.jsp?page=WebservicesAndEJB3 ... wish the xtra code was unnecessary-need some careful packaging. it works though :) question: - can someone xplain this statement? anonymous wrote : It is also possible to use a Java Service Endpoint instead of an EJB endpoint. This is especially useful if no other EJB 2.x code is required and a web tier already exists. what does this means? need some light here-is it something like: servlet-web service-java endpoint interface-java impl class-do lookup to ejb3? plus: - how's WS-EJB3 coming? still jboss 5? second quarter 2006? will this possibly include arjunaTS? this will be excellent. I wish the WS-ejb3 can be released sooner. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913077#3913077 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913077 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Design issue - advice
Let's say we have the following UC: User can select a customer from a list for edit. He can change the customer detaiuls and press save to go back to the customer list. Design posibility 1: We make editCustomer action statefull (@Statefull). this action will have two methods: @Begin | String showEdit() { | | } | | @End | String doEdit() { | | } Design posibility 2: We make editCustomer action stateless (@Stateless) as in booking register action or Seam trailBlazer. Pros and cons ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913079#3913079 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913079 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Design issue - advice
Ad seam TrailBlazer i mean http://docs.jboss.com/TrailBlazer/seam-booking/Seam.htm View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913080#3913080 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913080 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - OutOfMemoryError on linux: a workaround
Hi all, This is just to report a workaround we found for an OutOfMemoryError that seems to be quite specific to our environment. Our application runs on windows for development and integration, and linux for preproduction and production, with almost out-of-the-box configuration. The problem appears only on linux. distribution : Debian GNU/Linux 3.1 (sarge) kernel :2.4.27-2-686-smp RAM:4 Go CPU:bi-pro Intel(R) Xeon(TM) CPU 3.60GHz JDK: 1.4.2_08-b03 (Sun Microsystems Inc.) - Java HotSpot(TM) Server VM JBoss: 3.2.7(build: CVSTag=JBoss_3_2_7 date=200501280217) Under stress test, the number of threads shown on the jboss web console is stable on windows, but increases constantly on linux, quickly reaching the limit and causing an OOMError. I don't know why those threads are never disposed, but I know who consumes them all. Before returning a connection out of the pool, the datasource checks if the connection is still alive. Since we use Oracle, this is done by the OracleValidConnectionChecker as suggested. Its pingDatabase method starts a new thread at each invocation (why?). The workaround is to specify a check-valid-connection-sql instead of a valid-connection-checker-class-name : check-valid-connection-sqlselect 'hello' from dual /check-valid-connection-sql This is just a workaround but it solved our problem. Jean-Christian Gagné View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913081#3913081 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913081 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Give bind Exception
Hello i am new in JBoss.i have download JBoss 4.0.3Sp1 .when i tried to start the server on the console its retrun an error Bind exception 8080 (or 8080 already in use) but i not using that port can any body help me. regards Anupam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913082#3913082 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913082 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Where is the release notes and the change log for GPD?
Hi, Finally I find that documentation for it. Just see this url. [url]http://docs.jboss.com/jbpm/v3/gpd/index.html [/url] And follow the instructions. This will help anyone to start working with GPD. Regards, Krishnakumar M View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913083#3913083 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913083 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Need some help for GPD
Hi everyone, I had completed the steps mentioned in the URL: http://docs.jboss.com/jbpm/v3/gpd/index.html After completing all the steps in it what should I do to integrate this with the workflow engine??? Help me out. Regards, Krishnakumar M View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913084#3913084 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913084 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
OK, I have the permission to translate the text. I will work on it the next weeks, but have not so much time :-( If there are volunteers for some paragraphs please send me a mail which paragraph you translate ([EMAIL PROTECTED]). Then I will take the rest and bring it together to one document. If I (we I hope ;-)) are ready I will post a link... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913085#3913085 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913085 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Recommended hardware requirements for JBoss 4.x
I´m trying to find the recommended hardware requirement to run JBoss 4.x on Windows platform. Does anyone have an idea? Cheers, Juliana Balestrero View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913086#3913086 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913086 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Transaction timeout in Embedded EJB 3
Hi... is there any chance to change transaction timeout in Embedded EJB 3 ? I've a method which takes about 5 minutes to done (until then transaction is closed) Regards Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913087#3913087 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913087 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ 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: Can't serialize object due to LoggerPluginWriter(?)
Hello, Something I forgot to mention in the previous post is that (de)serializing the mentioned dialog object works just fine in a stand-alone application using the following code: | ByteArrayOutputStream bs = new ByteArrayOutputStream(); | ObjectOutputStream os = new ObjectOutputStream(bs); | os.writeObject(dialog); | | dialog = null; | | ByteArrayInputStream bi = new ByteArrayInputStream(bs.toByteArray()); | ObjectInputStream is = new ObjectInputStream(bi); | dialog = (Dialog)is.readObject(); | However, if I insert this code into my Bean (not using entity-beans) I still get the same error. So I get the impression this is some kind of bug with JBoss? Kind regards, Bruno View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913088#3913088 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913088 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Trailblazer JMX Service Objects
no idea? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913089#3913089 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913089 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Did not find anything to deploy to a server
Server error. This error apears when I try to run on server my project. What I do wrong? Thanks... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913090#3913090 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913090 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Compound Foreign Primary Key
JBoss: 4.0.3SP1 EJB: 2.1 Hello all, Situation I have 3 EJB (CMP) objects: ItemGroup --- itemGroupId [PK] name CustomerGroup --- customerGroupId [PK] name Item --- itemGroup [PK][FK] customerGroup [PK][FK] type The relation i want between the 3 is as follows: ItemGroup -|- Item -|- CustomerGroup So i have an ItemGroup which holds more than one Items. Each Item is linked to a CustomerGroup (a Customer group can have more than one Items attached to it). Each ItemGroup can contain only one instance of an Item of a certain CustomerGroup. Creating the relations is no biggie. The problem i ran into is getting the two foreign keys in Item (ItemGroup and CustomerGroup) to be the compound primary key of Item. Attempts I've tried to define the foreign key fields with both @ejb.relation and @ejb.persistence (XDoclet). I did this like so: | public abstract class ItemBean implements EntityBean | { |/** | * @ejb.persistence column-name=ITEM_GROUP_ID jdbc-type=INTEGER sql-type=INTEGER | * @ejb.pk-field | * | * @ejb.relation | * name=Item-ItemGroup | * role-name=Item-has-one-ItemGroup | * target-ejb=ItemGroup | * target-role-name=ItemGroup-has-many-Items | * target-multiple=true | * | * @ejb.interface-method view-type=local | * | * @jboss.relation | * related-pk-field=itemGroupId | * fk-column=ITEM_GROUP_ID | * fk-constraint=true | */ | public abstract ItemGroupLocal getItemGroup() | | /** @ejb.interface-method view-type=local */ | public abstract void setItemGroup(ItemGroupLocal itemGroup); | |/** | * @ejb.persistence column-name=CUSTOMER_GROUP_ID jdbc-type=INTEGER sql-type=INTEGER | * @ejb.pk-field | * | * @ejb.relation | * name=Item-CustomerGroup | * role-name=Item-has-one-CustomerGroup | * target-ejb=CustomerGroup | * target-role-name=CustomerGroup-has-many-Items | * target-multiple=true | * | * @ejb.interface-method view-type=local | * | * @jboss.relation | * related-pk-field=itemGroupId | * fk-column=CUSTOMER_GROUP_ID | * fk-constraint=true | */ | public abstract CustomerGroupLocal getCustomerGroup() | | /** @ejb.interface-method view-type=local */ | public abstract void setCustomerGroup(CustomerGroupLocal customerGroup); | | [...] | } | | My ejb-jar.xml (generated by XDoclet): | ejb-jar | entity | ejb-nameItem/ejb-name | | [...] | | persistence-typeContainer/persistence-type | prim-key-classcom.company.ejb.interfaces.ItemPK/prim-key-class | cmp-version2.x/cmp-version | abstract-schema-nameItem/abstract-schema-name | cmp-field | description![CDATA[]]/description | field-nameitemGroup/field-name | /cmp-field | cmp-field | description![CDATA[]]/description | field-namecustomerGroup/field-name | /cmp-field | cmp-field | description![CDATA[]]/description | field-nametype/field-name | /cmp-field | | query | query-method |method-namefindItemGroupIdsByType/method-name |method-params | method-paramjava.lang.Integer/method-param | method-paramjava.lang.Integer/method-param | method-paramjava.lang.Integer/method-param |/method-params | /query-method | ejb-ql![CDATA[SELECT DISTINCT item.itemGroup.itemGroupId FROM Item item WHERE item.type = ?1]]/ejb-ql | /query | /entity | | [...] | | ejb-relation | ejb-relation-nameItem-ItemGroup/ejb-relation-name | | ejb-relationship-role | ejb-relationship-role-nameItem-has-one-ItemGroup/ejb-relationship-role-name | multiplicityMany/multiplicity | relationship-role-source |ejb-nameItem/ejb-name | /relationship-role-source | cmr-field |cmr-field-nameitemGroup/cmr-field-name | /cmr-field | /ejb-relationship-role | | ejb-relationship-role | ejb-relationship-role-nameItemGroup-has-many-Items/ejb-relationship-role-name | multiplicityOne/multiplicity | relationship-role-source |ejb-nameItemGroup/ejb-name | /relationship-role-source |
[JBoss-user] [Management, JMX/JBoss] - Multiple Java versions in JBoss server?
Hi Folks, We're evaluating JBoss, and I'm personally keen on using EJB3. It suits our requirements nicely in terms of development speed. However, we have legacy CORBA which we've enacpsulated in an MBean service, and just discovered that the CORBA implementation requires JDK1.4 - and it may be difficult to get out of this. Can anybody tell me if I've reached the end of the road for EJB3, or is there a way out of it such that I can run both? We already recognise the following options... 1) Run CORBA in its own process. Messy, but will work. 2) Upgrade CORBA to work in Java5. Creates issues with current product and introduces even more risk. 3) Revert to EJB2. Many Thanks for any input Ian Hunter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913092#3913092 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913092 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Did not find anything to deploy to a server
Server error. This error apears when I try to run on server my project. What I do wrong? Thanks... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913093#3913093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913093 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Array of boolean problem
Hi guys, very thanks for the help it works using the wscompile and -keep command line option. But I had one more question If a don't wanna use the wscompile but the wsdl2java instead?!!? How can I handle it... Because at first time I was using the wsdl2java to generate the client side and the wscompile to generate the server wsdl side. The BIG problem here is: My WS interface MUST be invoked by a third part software and this software use the AXIS wsdl2java tool. How can I create all the wrappers using the wsdl2java tool?!?!!? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913094#3913094 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913094 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @Factory ([EMAIL PROTECTED]) method called repeatedly on every req
Ok the last was a dead-end, so I am where I was before... the @Factory method beeing called twice. Any hints are welcome! Wrong configuration? Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913095#3913095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913095 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - replacement for org.apache.axis.monitor.SOAPMonitorService
Hi, Can anyone tell me what is the replacement for the SoapMonitorService Servlet in jboss-ws4ee Thanks Vinay View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913097#3913097 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913097 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - EJB not bound problem
I have been trying to figure out how to deal with an ejb reference: It is my undertanding that: 1. The ejb-jar.xml needs to have ejb-name defined. In my case this is ejb-nameHelloWorld/ejb-name 2. The jboss.xml (and I am not clear if this is necessary, though i want to support clustering in the future and so cannot guarantee that everything will be on the same server). ejb-nameHelloWorld/ejb-name jndi-name/tsm/HelloWorld/jndi-name method-attributes /method-attributes 3. The web.xml entry ejb-ref ejb-ref-nameejb/HelloWorld/ejb-ref-name ejb-ref-typeSession/ejb-ref-type com.aptsi.applications.tsm.ejb.HelloWorldHome com.aptsi.applications.tsm.ejb.HelloWorld ejb-linkHelloWorld/ejb-link /ejb-ref 4. The jboss-web.xml entry ejb-ref ejb-ref-nameejb/HelloWorld/ejb-ref-name jndi-name/tsm/HelloWorld/jndi-name /ejb-ref 5. The code: try { System.out.println(Testing ejb access - before context lookup); Context ctx = new InitialContext(); ctx = (Context)ctx.lookup(java:comp/env/ejb); Object o = ctx.lookup(HelloWorld); System.out.println(Testing ejb access - after context lookup); HelloWorldHome home = (HelloWorldHome) PortableRemoteObject.narrow(o, HelloWorldHome.class); System.out.println(Testing ejb access - jndi op complete); // get the bean remote instance // try { System.out.println(Testing ejb access - before create); HelloWorld h = home.create(); System.out.println(EJB created, Need to test ejb access); System.out.println(h.helloWorld()); } catch (javax.ejb.CreateException e) { System.out.println(e.getMessage()); } catch (java.rmi.RemoteException e) { System.out.println(e.getMessage()); } } catch (javax.naming.NamingException e) { e.printStackTrace() ; } The stack trace is: 06:56:47,937 ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundE xception: tsm not bound] 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:970) 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:613) 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) 06:56:47,937 ERROR [STDERR] at com.aptsi.applications.tsm.web.servlets.frontcontroller.RegLogout.doProcess(Unknown Source) 06:56:47,937 ERROR [STDERR] at com.aptsi.applications.tsm.web.servlets.frontcontroller.RegLogout.doGet(Unknown Source) 06:56:47,937 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 06:56:47,937 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:643) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:643) 06:56:47,953 ERROR [STDERR] at
[JBoss-user] [Installation, Configuration Deployment] - How to create multiple instances of jboss on same server ?
Hi Friends, i want the solutin from you great minds, i think i need to explain things in detail . Please look into this I want to create two instances of jboss on same host. I have created following directories in my JBOSS_HOME e.g. web or business servers in /jboss-4.0.0/server/web and /jboss-4.0.0/server/business i have cpoied all the content from default directory to my default (directory) server to instances web and business. Also created the directory binding in my jboss_home (jboss-4.0.0) and copied the jboss-4.0.0\docs\examples\binding-manager\sample-bindings.xml . After that i have changed it's name to bindings.xml(as jboss-4.0.0\binding\bindings.xml). And uncommented the tag in file jboss-4.0.0\server\business\conf\jboss-service.xml and made some changes as follows ports-02 attribute name=StoreURLfile:/c:/jboss-4.0.0/binding/bindings.xml org.jboss.services.binding.XMLServicesStoreFactory Now when i starts the servers as follows run -c web It starts Ok. But when i start business server i get the gollowing exception C:\jboss-4.0.0\binrun -c business === . JBoss Bootstrap Environment . JBOSS_HOME: C:\jboss-4.0.0\bin\\.. . JAVA: C:\j2sdk1.4.2_06\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH: C:\j2sdk1.4.2_06\lib\tools.jar;C:\jboss-4.0.0\bin\\run.jar . === . 15:35:25,583 INFO [Server] Starting JBoss (MX MicroKernel)... 15:35:25,583 INFO [Server] Release ID: JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418) 15:35:25,598 INFO [Server] Home Dir: C:\jboss-4.0.0 15:35:25,598 INFO [Server] Home URL: file:/C:/jboss-4.0.0/ 15:35:25,598 INFO [Server] Library URL: file:/C:/jboss-4.0.0/lib/ 15:35:25,614 INFO [Server] Patch URL: null 15:35:25,614 INFO [Server] Server Name: business 15:35:25,614 INFO [Server] Server Home Dir: C:\jboss-4.0.0\server\business 15:35:25,630 INFO [Server] Server Home URL: file:/C:/jboss-4.0.0/server/business/ 15:35:25,630 INFO [Server] Server Data Dir: C:\jboss-4.0.0\server\business\data 15:35:25,630 INFO [Server] Server Temp Dir: C:\jboss-4.0.0\server\business\tmp 15:35:25,645 INFO [Server] Server Config URL: file:/C:/jboss-4.0.0/server/business/conf/ 15:35:25,645 INFO [Server] Server Library URL: file:/C:/jboss-4.0.0/server/business/lib/ 15:35:25,645 INFO [Server] Root Deployment Filename: jboss-service.xml 15:35:25,661 INFO [Server] Starting General Purpose Architecture (GPA)... 15:35:26,020 INFO [ServerInfo] Java version: 1.4.2_06,Sun Microsystems Inc. 15:35:26,020 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_06-b03,Sun Microsystems Inc. 15:35:26,036 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 15:35:26,364 INFO [Server] Core system initialized 15:35:28,442 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.0.0/server/business/conf/jboss-service.xm l org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindingManager; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.services.binding.ServiceBinding Manager) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139) at org.jboss.system.ServiceController.install(ServiceController.java:200) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
[JBoss-user] [Clustering/JBoss] - Re: migration from 4.0.2 to 4.0.3SP1, HA-JNDI not working an
HAJNDI should work out of the box. in the default configuration for the all server. There's no cross-dependency between DefaultPartition and HAJNDI as the latter depends on the former, not vice-versa. You can try relocating HAJNDI to a different port to see if the problem persists on the new port. The HAJNDI port is specified by the Port attribute in the HAJNDI configuration, located in ../deploy/cluster-service.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913100#3913100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913100 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - asign swimlanes in execution time
hi again, i need to asign diferents activities to diferents swimlanes in execution time. That is, in some activity i want to do a role assigment of the next activity to some role (swimlane). Thas's posible?? A lot of thanks friends! Rafael. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913101#3913101 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913101 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Programmatic invalidation of EJB cache
Hi, I would like to know how to perform a programmatic invalidation of cached Entity Beans when using the cache invalidation service in JBoss. Is it possible to manually send a message (perhaps a JMSCacheInvalidationMessage) to the service by looking up the appropriate topic and connection factory? /Johan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913102#3913102 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913102 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: How to create multiple instances of jboss on same server
Hi Again, In my last post the changes i have made in jboss-service.xml has not displayed . These are as follows (except sign here i used ^ due to some posting problems) mbean code=org.jboss.services.binding.ServiceBindingManager name=jboss.system:service=ServiceBindingManager^ attribute name=ServerName^ ports-02/attribute^ attribute name=StoreURL ^ file:/c:/jboss- 4.0.0/binding/bindings.xml/attribute^ attribute name=StoreFactoryClassName^ org.jboss.services.binding.XMLServicesStoreFactory /attribute^ /mbean^ Regards, Prashant. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913103#3913103 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913103 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Deleted data remain in database for some minutes
Hello, I have a crazy phenomenon: After deleting some records in 2 different tables in 2 different databases the data remain in the database for some minutes. Reconnect to the database still shows the data, doing nothing and reconnect again after some minutes and the data have vanished. Another problem is that in some cases one record remain in one of the databases whereas the other is deleted, which means our databases are inconsistent. Maybe both phenomenons are connected. Until now I couldn't reproduce it by hand, but if our automatic testscript is running the problem is reproducable so I need to find a solution. The configuration: Jboss 3.2.3, jdk 1.4.2_08 Database Sybase ASA 9 Process flow: GUI (Applet) calls Stateful SessionBean1 which calls Stateful SessionBean2 SessionBean2 deletes data in DB2, after this (if no exception ) SessionBean1 deletes data in DB1 and returns to the GUI. Transaction attributes of the SessionBean methods are set to Reuqired, if an exception occurs it is wrapped into an ApplicationException = no rollback. The TransactionTimeout in jboss-service.xml has been changed from 300 to 3600. the time until the data have vanished out of the database may be the default time of 5 minutes, I'm not sure. All exceptions that occur are logged, but I can't find any stacktrace in the logfile. The Sybase configuration: | | datasources | local-tx-datasource | jndi-nameDatabase1/jndi-name | !-- Sybase jConnect URL for the database. | NOTE: The hostname and port are made up values. The optional | database name is provided, as well as some additinal Driver | parameters. | -- | connection-urljdbc:sybase:Tds:localhost:2638?ServiceName=DB1/connection-url | driver-classcom.sybase.jdbc2.jdbc.SybDataSource/driver-class | user-namexxx/user-name | passwordyyy/password | | !-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -- | min-pool-size1/min-pool-size | | !-- The maximum connections in a pool/sub-pool -- | max-pool-size32000/max-pool-size | | !-- The time before an unused connection is destroyed -- | !-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -- | idle-timeout-minutes15/idle-timeout-minutes | | transaction-isolationTRANSACTION_READ_COMMITTED/transaction-isolation | !-- sql to call on an existing pooled connection when it is obtained from pool -- | check-valid-connection-sqlSELECT Major from T_DatabaseInfo/check-valid-connection-sql | exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter/exception-sorter-class-name | !-- Whether to check all statements are closed when the connection is returned to the pool, | this is a debugging feature that should be turned off in production -- | track-statementstrue/track-statements | | /local-tx-datasource | /datasources | Did anybody have had a similar problem yet ? Any ideas where to look at? Any little hint is welcome. Annegret View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913104#3913104 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913104 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: On conversation usage patterns
i did not find crud example in the hibernate tool cvs? where is it ? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913106#3913106 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913106 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Refresh Policy implementation.
I am revoking this thread. I want to check for the expiry of each key in a node. What is the feasibilty of implementing the process method of EvictionAlgorithm and recursing through data nodes to check for the staleness of the objects? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913107#3913107 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913107 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Timer problems
Men! It works in a standalone teste, but in my project it don't works !!! the JBPM_TIMER was successfully mounted and the JBPM_LOG too ... these was my 2 problems !!! I dont know what else i have to do Let me exlplain ! I work in a CMT Transaction scenario, using Data Source for connections with data base ... a SessionBean that contains methods for my business and this comunicate with my singleton class that comunicate with jbpm. I dont know if it could be a thread problem, or a data base transaction problem !!! i have 3 class loaders working together excluding system class loader ... i do not use begintransaction and/or committransaction and/or close methods for transaction ! couse the container does not allow me to do it, beign a cmttransaction, the container takes care of it !!! i really dont know what i have to do ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913108#3913108 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913108 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - CallByValue in Jboss-3.2.3
Hi, I am using JBoss-3.2.3. My application is packaged as an .ear which contains .war(web module) and a .jar(ejb module). The objects that i pass to the methods of my beans are passed by reference. Is there any setting where i can change the same to call by value. I saw a similar post on the forum which mentioned setting: attribute name=CallByValuetrue/attribute But, this attribute is NOT supported in JBoss-3.2.3. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913110#3913110 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913110 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Is it possible to have jbpm and portal running in the sa
Anyone has tried to run jbpm and portal at the same time, in the same AS? I would like to enter localhost:8080/portal and localhost:8080/jbpm in the same AS. Thanks, Pedro View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913111#3913111 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913111 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - DataModel / Duplicated ID
Is a DataModel reusable / reloadable within a conversation? For example, my main page shows everyone's schedule for a given week, using a @DataModel (List). I have options to basically go forward and back (Next / Previous weeks) and the page bombs with a Duplicated ID in faces tree error. I just wanted to make sure that what I'm doing is conceptually sound. I am going to try a few things on this end (including trying the myFaces 1.0.9 suggestion listed in the previous post again). If this *should* conceptually work, I can post the relevant logs, code, etc. Thanks, Eric View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913112#3913112 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913112 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Timer problems
Wowww !!! It works !!! You will not beliave !!! See previeous code : | | ProcessDefinition pd = getJbpmSession().getGraphSession().findLatestProcessDefinition(name); | ProcessInstance pi = new ProcessInstance(pd); | if(variables!=null){ | pi.getContextInstance().addVariables(variables); | } | pi.signal(); | return new Long(pi.getId()); | See the newer code : | GraphSession session = getJbpmSession().getGraphSession(); | ProcessDefinition pd = session.findLatestProcessDefinition(name); | ProcessInstance pi = new ProcessInstance(pd); | if(variables!=null){ | pi.getContextInstance().addVariables(variables); | } | pi.signal(); | session.saveProcessInstance( pi ); | return new Long(pi.getId()); | I haven't save the process instance, but everything was working in other process, less the log!! i dont believe in this !!! its making me crazy i will do more tests View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913113#3913113 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913113 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Timer problems
Oww, I forgot to thank you !!! You was so cool and saves me !! Thanks a lot ! very very much View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913114#3913114 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913114 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJB Not Bound Problem. Help!
I have been trying to figure out how to deal with an ejb reference: It is my undertanding that: 1. The ejb-jar.xml needs to have ejb-name defined. In my case this is ejb-nameHelloWorld/ejb-name 2. The jboss.xml (and I am not clear if this is necessary, though i want to support clustering in the future and so cannot guarantee that everything will be on the same server). ejb-nameHelloWorld/ejb-name jndi-name/tsm/HelloWorld/jndi-name method-attributes /method-attributes 3. The web.xml entry ejb-ref ejb-ref-nameejb/HelloWorld/ejb-ref-name ejb-ref-typeSession/ejb-ref-type com.aptsi.applications.tsm.ejb.HelloWorldHome com.aptsi.applications.tsm.ejb.HelloWorld ejb-linkHelloWorld/ejb-link /ejb-ref Note that the web-uri setup in application.xml is: web-uritsm.war/web-uri context-root/tsm/web-app/context-root and that has working. Also, I do not see any deployment of the ejb.jar, unlike the war which I see on the console. The console also indicates that the ear has deployed. 4.The jboss-web.xml entry ejb-ref ejb-ref-nameejb/HelloWorld/ejb-ref-name jndi-name/tsm/HelloWorld/jndi-name /ejb-ref 5. The code: try { System.out.println(Testing ejb access - before context lookup); Context ctx = new InitialContext(); ctx = (Context)ctx.lookup(java:comp/env/ejb); Object o = ctx.lookup(HelloWorld); System.out.println(Testing ejb access - after context lookup); HelloWorldHome home = (HelloWorldHome) PortableRemoteObject.narrow(o, HelloWorldHome.class); System.out.println(Testing ejb access - jndi op complete); // get the bean remote instance // try { System.out.println(Testing ejb access - before create); HelloWorld h = home.create(); System.out.println(EJB created, Need to test ejb access); System.out.println(h.helloWorld()); } catch (javax.ejb.CreateException e) { System.out.println(e.getMessage()); } catch (java.rmi.RemoteException e) { System.out.println(e.getMessage()); } } catch (javax.naming.NamingException e) { e.printStackTrace() ; } The stack trace is: 06:56:47,937 ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundE xception: tsm not bound] 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:970) 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:613) 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) 06:56:47,937 ERROR [STDERR] at com.aptsi.applications.tsm.web.servlets.frontcontroller.RegLogout.doProcess(Unknown Source) 06:56:47,937 ERROR [STDERR] at com.aptsi.applications.tsm.web.servlets.frontcontroller.RegLogout.doGet(Unknown Source) 06:56:47,937 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 06:56:47,937 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:643) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:643) 06:56:47,953 ERROR [STDERR] at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:641) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:641) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:641) 06:56:47,953 ERROR [STDERR] at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76) 06:56:47,953 ERROR [STDERR] at
[JBoss-user] [Beginners Corner] - EJB Bound problem. Help!
I have been trying to figure out how to deal with an ejb reference: JBOSS V3.2 It is my undertanding that: 1. The ejb-jar.xml needs to have ejb-name defined. In my case this is ejb-nameHelloWorld/ejb-name 2. The jboss.xml (and I am not clear if this is necessary, though i want to support clustering in the future and so cannot guarantee that everything will be on the same server). ejb-nameHelloWorld/ejb-name jndi-name/tsm/HelloWorld/jndi-name method-attributes /method-attributes 3. The web.xml entry ejb-ref ejb-ref-nameejb/HelloWorld/ejb-ref-name ejb-ref-typeSession/ejb-ref-type com.aptsi.applications.tsm.ejb.HelloWorldHome com.aptsi.applications.tsm.ejb.HelloWorld ejb-linkHelloWorld/ejb-link /ejb-ref Note that the web-uri setup in application.xml is: web-uritsm.war/web-uri context-root/tsm/web-app/context-root and that has working. Also, I do not see any deployment of the ejb.jar, unlike the war which I see on the console. The console also indicates that the ear has deployed. 4.The jboss-web.xml entry ejb-ref ejb-ref-nameejb/HelloWorld/ejb-ref-name jndi-name/tsm/HelloWorld/jndi-name /ejb-ref 5. The code: try { System.out.println(Testing ejb access - before context lookup); Context ctx = new InitialContext(); ctx = (Context)ctx.lookup(java:comp/env/ejb); Object o = ctx.lookup(HelloWorld); System.out.println(Testing ejb access - after context lookup); HelloWorldHome home = (HelloWorldHome) PortableRemoteObject.narrow(o, HelloWorldHome.class); System.out.println(Testing ejb access - jndi op complete); // get the bean remote instance // try { System.out.println(Testing ejb access - before create); HelloWorld h = home.create(); System.out.println(EJB created, Need to test ejb access); System.out.println(h.helloWorld()); } catch (javax.ejb.CreateException e) { System.out.println(e.getMessage()); } catch (java.rmi.RemoteException e) { System.out.println(e.getMessage()); } } catch (javax.naming.NamingException e) { e.printStackTrace() ; } The stack trace is: 06:56:47,937 ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundE xception: tsm not bound] 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:970) 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:613) 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) 06:56:47,937 ERROR [STDERR] at com.aptsi.applications.tsm.web.servlets.frontcontroller.RegLogout.doProcess(Unknown Source) 06:56:47,937 ERROR [STDERR] at com.aptsi.applications.tsm.web.servlets.frontcontroller.RegLogout.doGet(Unknown Source) 06:56:47,937 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 06:56:47,937 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:643) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:643) 06:56:47,953 ERROR [STDERR] at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:641) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:641) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:641) 06:56:47,953 ERROR [STDERR] at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76) 06:56:47,953 ERROR [STDERR] at
[JBoss-user] [Installation, Configuration Deployment] - Re: How to create multiple instances of jboss on same server
To create multiple instance of JBoss all you need to do is copy the default directory and rename according to your wish and put in the JBOSS_HOME/server directory. Then change the http and jnp ports. you can find your http and AJP port in JBOSS_HOME\server\x\deploy\jbossweb-tomcat55.sar\server.xml now change the RMI, JNP, WEB-Service, ServerBindPort and RMIObjectPort port in JBoss_HOME\server\x\conf\jboss-service.xml now change the uil2-service port in JBoss_HOME\server\x\deploy\jms\uil2-service.xml you are done. now you can start your both instances run.bat -c run.bat -c View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913117#3913117 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913117 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Clustering and JBossCache
Hi, I'm using JBoss clustering for HA-JNDI and HA-Singleton. I also use clustered JBossCache. Currently there is a separate JGroups config for JBoss HA and JBossCache. My questions is that how I could use same JGroups config for both and is it even feasible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913118#3913118 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913118 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - How to customize my every task jsp?
hello,all Now I need customize every task jsp,All of You have this requirement? any suggest? Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913119#3913119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913119 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Ejb not bound problem Help!
I have been trying to get to connect to my EJB from a servlet. I have been trying to figure out how to deal with an ejb reference: It is my undertanding that: 1. The ejb-jar.xml needs to have ejb-name defined. In my case this is ejb-nameHelloWorld/ejb-name 2. The jboss.xml (and I am not clear if this is necessary, though i want to support clustering in the future and so cannot guarantee that everything will be on the same server). ejb-nameHelloWorld/ejb-name jndi-name/tsm/HelloWorld/jndi-name method-attributes /method-attributes 3. The web.xml entry ejb-ref ejb-ref-nameejb/HelloWorld/ejb-ref-name ejb-ref-typeSession/ejb-ref-type com.aptsi.applications.tsm.ejb.HelloWorldHome com.aptsi.applications.tsm.ejb.HelloWorld ejb-linkHelloWorld/ejb-link /ejb-ref 4. The jboss-web.xml entry ejb-ref ejb-ref-nameejb/HelloWorld/ejb-ref-name jndi-name/tsm/HelloWorld/jndi-name /ejb-ref 5. The application.xml entry (using this setup I am connecting to web resources (though not the EJB) web-uritsm.war/web-uri context-root/tsm/web-app/context-root 5. The code: try { System.out.println(Testing ejb access - before context lookup); Context ctx = new InitialContext(); ctx = (Context)ctx.lookup(java:comp/env/ejb); Object o = ctx.lookup(HelloWorld); System.out.println(Testing ejb access - after context lookup); HelloWorldHome home = (HelloWorldHome) PortableRemoteObject.narrow(o, HelloWorldHome.class); System.out.println(Testing ejb access - jndi op complete); // get the bean remote instance // try { System.out.println(Testing ejb access - before create); HelloWorld h = home.create(); System.out.println(EJB created, Need to test ejb access); System.out.println(h.helloWorld()); } catch (javax.ejb.CreateException e) { System.out.println(e.getMessage()); } catch (java.rmi.RemoteException e) { System.out.println(e.getMessage()); } } catch (javax.naming.NamingException e) { e.printStackTrace() ; } The stack trace is: 06:56:47,937 ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundE xception: tsm not bound] 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:970) 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:613) 06:56:47,937 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) 06:56:47,937 ERROR [STDERR] at com.aptsi.applications.tsm.web.servlets.frontcontroller.RegLogout.doProcess(Unknown Source) 06:56:47,937 ERROR [STDERR] at com.aptsi.applications.tsm.web.servlets.frontcontroller.RegLogout.doGet(Unknown Source) 06:56:47,937 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 06:56:47,937 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 06:56:47,937 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:643) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:643) 06:56:47,953 ERROR [STDERR] at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:641) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:641) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:641) 06:56:47,953 ERROR [STDERR] at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76) 06:56:47,953 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipelin e.java:641) 06:56:47,953 ERROR
[JBoss-user] [JNDI/Naming/Network] - Re: Ejb not bound problem Help!
Note that I am using JBOSS 3.2.3 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913122#3913122 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913122 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Unable to build Bank application
Finally, I got through this problem with the help of following topic. http://www.jboss.com/index.html?module=bbop=viewtopict=71999 Thanks to all. Mallesh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913124#3913124 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913124 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Ejb not bound problem Help!
JNDI View output for reference. on deployment java: Namespace +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory) +- DefaultJMSProvider (class: org.jboss.jms.jndi.JBossMQProvider) +- mySQL (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) +- comp (class: javax.naming.Context) +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl) +- jaas (class: javax.naming.Context) | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext) | +- ial (class: org.jboss.security.plugins.SecurityDomainContext) +- timedCacheFactory (class: javax.naming.Context) Failed to lookup: timedCacheFactory, errmsg=null +- TransactionPropagationContextExporter (class: org.jboss.tm.TransactionPropagationContextFactory) +- Mail (class: javax.mail.Session) +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory) +- TransactionPropagationContextImporter (class: org.jboss.tm.TransactionPropagationContextImporter) +- TransactionManager (class: org.jboss.tm.TxManager) Global JNDI Namespace +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) +- invokers (class: org.jnp.interfaces.NamingContext) | +- atsi_nikhilkumar (class: org.jnp.interfaces.NamingContext) | | +- jrmp (class: org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy) | | +- http (class: org.jboss.invocation.http.interfaces.HttpInvokerProxy) | +- 0.0.0.0 (class: org.jnp.interfaces.NamingContext) | | +- pooled (class: org.jboss.invocation.pooled.interfaces.PooledInvokerProxy) +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory) +- console (class: org.jnp.interfaces.NamingContext) | +- PluginManager (proxy: $Proxy23 implements interface org.jboss.console.manager.PluginManagerMBean) +- jmx (class: org.jnp.interfaces.NamingContext) | +- invoker (class: org.jnp.interfaces.NamingContext) | | +- RMIAdaptor (proxy: $Proxy22 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor) | +- rmi (class: org.jnp.interfaces.NamingContext) | | +- RMIAdaptor[link - jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef) +- UserTransactionSessionFactory (proxy: $Proxy10 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) +- UILXAConnectionFactory[link - UIL2XAConnectionFactory] (class: javax.naming.LinkRef) +- UILConnectionFactory[link - UIL2ConnectionFactory] (class: javax.naming.LinkRef) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913125#3913125 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913125 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Displaying Portlet of one application in another applica
pages can feature portlets from any portlet app (WAR) deployed to the portal. when you add a portlet window to a page, make sure that the instance it points to references the portlet in the desired context, like: |deployment | if-existskeep/if-exists | instance | instance-nameMyPortletInstance/instance-name | component-refWarContextHere.MyPortlet/component-ref |... | Note: I'm not quite sure what the explanation is, but in some deployment scenarios you'll have to prepend the context name with a '/', in others you don't. I deployed a portlet app contained in an EAR for example. The jbos-app.xml maps the app to a context name, but I have to refere to the context with a preceding '/' in the -object.xml, defining an instance of a portlet from this app. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913126#3913126 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913126 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: How to convert jrmp to pooled
Hi all, is there a way to convert the rmi into a pool at all? I'm able to start the server but from the client, if I try contacting the bean from the server, I'm getting a SocketException (Connection reset): java.lang.reflect.UndeclaredThrowableException at $Proxy57.create(Unknown Source) at org.apache.jsp.Test_jsp._jspService(org.apache.jsp.Test_jsp:79) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2217) at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2230) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750) at java.io.ObjectInputStream.(ObjectInputStream.java:268) at org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:121) at org.jboss.invocation.pooled.interfaces.PooledInvokerProxy$ClientSocket.(PooledInvokerProxy.java:111) at org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.getConnection(PooledInvokerProxy.java:250) at org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.invoke(PooledInvokerProxy.java:322) at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) ... 27 more The previous posts were also stopping at the same point. With the normal jrmp configuration it works fine but not with the pooled configuration. Please help me out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913127#3913127 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913127 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes
[JBoss-user] [JBossCache] - NUmber of threads spawned by JBoss Cache
Hi, I am new user to JBossCache and find the product very exciting. I am able to get the prototype running smoothly in which caches mantained in seperate JVMs are synchronised. My only concern is with the number of threads spwned by JBossCache. Using the default Cluster configuration provided in JBoss Cache I find that it spawns 12 threads in all. From the thread names it seemed to me that the threads are related to network protocol Is there any way in which I can control the number of threads. Also I would like to know the details of the configuration properties. !-- UDP: if you have a multihomed machine, set the bind_addr attribute to the appropriate NIC IP address -- !-- UDP: On Windows machines, because of the media sense feature being broken with multicast (even after disabling media sense) set the loopback attribute to true -- UDP mcast_addr=228.1.2.3 mcast_port=45566 ip_ttl=64 ip_mcast=true mcast_send_buf_size=15 mcast_recv_buf_size=8 ucast_send_buf_size=15 ucast_recv_buf_size=8 loopback=false/ PING timeout=2000 num_initial_members=3 up_thread=false down_thread=false/ MERGE2 min_interval=1 max_interval=2/ !--FD shun=true up_thread=true down_thread=true /-- FD_SOCK/ VERIFY_SUSPECT timeout=1500 up_thread=false down_thread=false/ pbcast.NAKACK gc_lag=50 retransmit_timeout=600,1200,2400,4800 max_xmit_size=8192 up_thread=false down_thread=false/ UNICAST timeout=600,1200,2400 window_size=100 min_threshold=10 down_thread=false/ pbcast.STABLE desired_avg_gossip=2 up_thread=false down_thread=false/ FRAG frag_size=8192 down_thread=false up_thread=false/ pbcast.GMS join_timeout=5000 join_retry_timeout=2000 shun=true print_local_addr=true/ pbcast.STATE_TRANSFER up_thread=true down_thread=true/ Please provide any link which gives details of the different configuration. Thanks in advance. Regards, Santosh Prabhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913128#3913128 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913128 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How to keep Connection/ResultSet open across EJB methods
Did you happend to find the solution for this issue. I am running into something similar to this. I have my EJB's and also some custom class which access the database. Both are using JNDI and are returning the connection back to the pool after creating the ResultSet(by closing the connection). I think that only the ResultSet is closed when we explictly tell it to close by calling rs.close(), or else if we close the statement. But by closing the Connectin object i never thought that it will close the ResultSet. My problem here is the in the custom code where i access the database i do a JNDI lookup from the pool and then use this Connection to query the database (I tried closing and keeping open the Connection object). But when i try to do rs.next() i get an exception saying 'Operation not allowed after ResultSet closed' I am using JBoss 4.0.2 and this code worked perfectly in JBoss 3.2.3 which was my app server and now i am trying to migrate to JBoss 4.0.2. 12:58:36,544 ERROR [ApplicationVersionBean] [select name, version_number from system_components order by name] 12:58:36,700 ERROR [ApplicationVersionBean] java.sql.SQLException: Operation not allowed after ResultSet closed at com.mysql.jdbc.ResultSet.checkClosed(ResultSet.java:639) at com.mysql.jdbc.ResultSet.next(ResultSet.java:6116) at org.jboss.resource.adapter.jdbc.WrappedResultSet.next(WrappedResultSet.java:520) at com.abs.compliancepro.application.utility.ApplicationVersionBean.retrieveDatabaseVersions(ApplicationVersionBean.java:94) at com.abs.compliancepro.application.utility.ApplicationVersionBean.(ApplicationVersionBean.java:39) at com.abs.compliancepro.application.utility.ApplicationVersionBean.getReference(ApplicationVersionBean.java:47) at org.apache.jsp.login_jsp._jspService(org.apache.jsp.login_jsp:75) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:238) Please help, Thanks in advance, Jobby View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913131#3913131 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913131 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Web Service Authentication
You can accomplish something like this by using the replace ant task in your build system. So basically you make two files. One that contains the ejb-ref tags that are in your web.xml, and the other that contains the ones in jboss-web.xml. You then add a comment to both your web.xml and jboss-web.xml that has something like | !-- insert ejb-refs here -- | and then you would have the following in some ant task | loadfile property=ejb-refs-content srcFile=ejb-refs.xml/ | loadfile property=jboss-ejb-refs-content srcfile=jboss-ejb-refs.xml/ | replace file=web.xml | replacefilter token=!-- insert ejb-refs here -- value=${ejb-refs-content}/ | /replace | replace file=jboss-web.xml | replacefilter token=!-- insert ejb-refs here -- value=${jboss-ejb-refs-content}/ | /replace | Hope that helps! -Jason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913132#3913132 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913132 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: localization/i18n support for page names and page titles
Shouldn't internationalization best supported by resource bundle rather than hard coded in the config file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913133#3913133 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913133 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Re-obtaining a reference to an existing stateful EJB3 in
I'm currently having trouble reobtaining a reference to a sfsb, myself. Unfortunately, I've tried every method listed in this thread. :) My initial (perhaps naive) approach was to stick a reference to the bean in the HttpSession, but after approximately 2-5 minutes method invocations via that reference go to a new bean. I tried putting it in JNDI with something like the following: Putting in: | IntitialContext ctx = new InitialConext(); | SFSB bean = (SFSB)ctx.lookup(SFSB.class.getName()); | ctx.bind(httpSession.getId(), bean); | Retrieving: | IntitialContext ctx = new InitialConext(); | SFSB bean = (SFSB)ctx.lookup(httpSession.getId()); | This approach threw no exceptions, but invoking methods against these references always went to different beans. I've also tried putting the reference in a static HashMapSessionID,Bean, but this approach has the same trouble as putting it directly in the session (i.e. after 2-5 minutes method invocations go to a new bean). I even tried using sessionContext.getEJBObject().getHandle(); and storing *that* in the session; unfortunately it was always null. I'm using EJB3 on JBoss 4.0.3SP1. Does anyone have any suggestions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913134#3913134 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913134 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JAX-RPC HELP!!
Instead of using the wscompile generated stubs use a J2EE web service client, which uses the jboss web services stack. http://wiki.jboss.org/wiki/Wiki.jsp?page=WSRPCClientStepByStep -Jason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913135#3913135 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913135 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: DataModel / Duplicated ID
AFAIK, this is a known bug in MyFaces and/or facelets. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913136#3913136 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913136 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: DataModel / Duplicated ID
Thanks, Gavin. I'll give the 1.0.9 MyFaces a shot and see if it helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913138#3913138 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913138 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Changing portlets and pages on a running system?
you are using portal 2.2, right ? there is a new descriptor that replaces the old 2.0 style ones. *-object.xml combines the -pages, -portal , and -instance descriptors. If you are on 2.0 , then you're right: you need to restart to get the changes to be recognized. A touch of the web.xml of the containing war should do the trick as well, since it's a deployer that picks up the descriptors, but I haven't tested that myself to be honest. Subpages: again, you dre correct for 2.0, however 2.2 does have subpages. If you look at the OTB portal, the elements in the tabbed navigation are the top level pages of the default portal, if you pick any of those pages, the menu portlet in the left region shows the subpages of that selected top level page. I think this comes close to what you are describing here View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913139#3913139 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913139 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: NUmber of threads spawned by JBoss Cache
#1 Replace the JGroups config with JGroups/conf/fc-fast-minimalthreads.xml in the JGroups distro #2 The docu is at docs.jboss.com, go to JBoss Application server 4.0.3, and to chapter 17 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913140#3913140 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913140 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Microcontainer] - cluster-service.xml - MBeans or POJOs in JBoss5
I am interested in both singleton and farm deployments, so thanks for the info that Microcontainer support for these capabilities is targeted for JBoss5. Looking at the services declared in cluster-service.xml (i.e. org.jboss.ha.framework.server.ClusterPartition, org.jboss.ha.jndi.HANamingService, etc.), I was wondering if the plan is to have the Microcontainer deploy these as MBeans or whether these services will be refactored to become POJOs. I'm mainly trying to get a feel for when I can start working on an application that leverages the cluster-service.xml services using the Microcontainer outside of JBoss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913141#3913141 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913141 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - recreate DB on deloy fails...
Hi, I followed the JBoss IDE tutorial and I want to recreate my DB (mySql) at every deploy of my ear file. I added the ppty hibernate.hbm2ddl.auto value=create-drop in the persistance.xml file of my .par but it fails. I'm sure the persistance.xml is correctly loaded because my tables are created in My SQL but the tables are not re-created when I redeploy my ear. Any Idea? By the way, Where could I find doc on the parameters of this XML. I looked in the jboss hibernate sites but I found nothing... == my persistance.xml: (I added some extra spaces to have a correct display) entity-manager name sqm_entity_manager /name jta-data-source java:/MySqlSqmDS /jta-data-source properties property name=hibernate.hbm2ddl.auto value=create/ /properties /entity-manager === regards, Guillaume View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913143#3913143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913143 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Using @Service annotation in eclipse; JBoss EJB 3.0 Serv
Kabir, I am unable to deploy the service. When I use the extension .sar, the SARDeployer expects to find jboss-service.xml file. However, if I deploy the file as .ejb3, the service never starts,although it deploys fine. Please, also note that I have renamed the PollingService to PollingServiceMBean, but that didn't help either. I have the lifecycle methods declared in the Management interface. I looked at the tutorial, all that is there is that the Service is packaged in the ejb3 jar, along with other EJB beans etc. So I am not getting any clue as o what to do. Regards Vivek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913148#3913148 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913148 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How to change navigation portlet??
I am trying to do the same thing. The NavigationPortlet does not provide what we need. We need internationalization support, and able to order the tabs not based on their names. Previously, we have the navigation built into the layout. It does not work on 2.2 since some of the methods are not supported. Is it not possible to provide our own navigation portlet? I tried to create one by copying the NavigationPortlet, but it throws exception of not able to locate current JTA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913149#3913149 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913149 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Trailblazer JMX Service Objects
echon wrote : well.. i think a lot of people would have tested this eample.. | | Nobody has a solution?? I've noticed the same thing. I think the annotations for JMX changed EJB Preview 3. I get the same error in Eclipse, but everything compiles fine through an ant script and works once deployed. Sorry I don't have any more insight than that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913150#3913150 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913150 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - randomly get Exception
Very strange thing: from time to time we get a expeception while doing something with jBPM (in this example deploy a process, so this is not more that persist a few objects with hibernate): | 12:21:32,452 WARN [JDBCExceptionReporter] SQL Error: 1, SQLState: 23000 | 12:21:32,452 ERROR [JDBCExceptionReporter] ORA-1: unique constraint (BERND.SYS_C00581420) violated | | 12:21:32,452 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session | org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:69) | The constraint lays on the JBPM_TRANSITION table. As I check the logs everthings looks right: | 2005-12-16 13:48:12,843 INFO [STDOUT] Hibernate: select hibernate_sequence.nextval from dual | [...] | 2005-12-16 13:48:12,843 INFO [STDOUT] Hibernate: select hibernate_sequence.nextval from dual | 2005-12-16 13:48:12,843 INFO [com.camunda.tk-jbpm.services.AdminServicesImpl] deployment sucessfull | 2005-12-16 13:48:12,843 INFO [STDOUT] Hibernate: insert into JBPM_PROCESSDEFINITION (NAME_, VERSION_, ISTERMINATIONIMPLICIT_, STARTSTATE_, ID_) values (?, ?, ?, ?, ?) | 2005-12-16 13:48:12,843 INFO [STDOUT] Hibernate: insert into JBPM_NODE (NAME_, PROCESSDEFINITION_, ACTION_, SUPERSTATE_, CLASS_, ID_) values (?, ?, ?, ?, 'R', ?) | [...] | 2005-12-16 13:48:12,913 INFO [STDOUT] Hibernate: insert into JBPM_TRANSITION (NAME_, PROCESSDEFINITION_, FROM_, TO_, ID_) values (?, ?, ?, ?, ?) | 2005-12-16 13:48:12,913 INFO [STDOUT] Hibernate: insert into JBPM_TRANSITION (NAME_, PROCESSDEFINITION_, FROM_, TO_, ID_) values (?, ?, ?, ?, ?) | But while commiting the exception occurs. I think it is something wrong with the ID-Generating? As I looked into jbpm-sources it is id name=id column=ID_generator class=native //id, should be ok. We use the dialect: org.hibernate.dialect.Oracle9Dialect Then, if I want to deploy the process after the rollback, I get another error: | 2005-12-16 16:10:53,463 INFO [STDOUT] Hibernate: select hibernate_sequence.nextval from dual | 2005-12-16 16:10:53,463 ERROR [org.jbpm.db.GraphSession] org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.jbpm.graph.def.ProcessDefinition#1] | I am sorry, but I am not the hibernate champ (I favour JDO ;-)), so any hints to this? We have seen this exception randomly occur in other contextes (on other jBPM tables) but doesn't have not succesfully written a test, which fails every time... Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913151#3913151 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913151 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Need some help for GPD
This helps you create a process definition and test it. Are you asking how to deploy the process definition into the database? That would deploying the par file. I'm not sure if the GPD comes with a build.xml so you can do it with ant. I've got one, but it's been so long, I'm not sure if I made it from scratch or it came with the GPD. Sean I've included the build.xml for reference. You will need to change it to fit your project, but it is very handy... | ?xml version=1.0? | project name=EJB Creator default=create_par basedir=. | | !-- VARIABLES THAT NEED CUSTOMIZED -- | | property name=jbpm.home value=C:/stuff/installs/jboss_jbpm/jbpm-starters-kit-with-eclipse-3.0/jbpm-starters-kit-with-eclipse-3.0/jbpm / | property name=jboss.home value=C:/stuff/installs/jboss_jbpm/jbpm-starters-kit-with-eclipse-3.0/jbpm-starters-kit-with-eclipse-3.0/jbpm-server / | property name=jboss.deploy.subdir value=server/jbpm/deploy / | property name=shared.lib.location value=../shared_libraries/lib / | property name=cdhps.location value=../cdhps/bin / | property name=cdhps.util.location value=../util/build / | | !-- SETUP ENVIRONMENT VARIABLES FOR THE BUILD = -- | | !-- Version of this project -- | property name=version value=1.0.0 Alpha / | | !-- Various Locations -- | property name=src.dir value=./src/java / | property name=build.dir value=./build/classes / | property name=par.dir value=./par / | property name=xml.dir value=./src/process / | property name=config.dir value=./conf / | property name=javadoc.dir value=./doc/javadoc / | property name=javadoc.overview value=src/doc/overview.html / | property name=db.conn.props value=src/config.files/hibernate.properties / | | !-- Workflow Par Name -- | property name=parname value=Workflow / | | !-- CLASSPATH -- | path id=classpath.config | pathelement path=${build.dir} / | pathelement path=${config.dir} / | pathelement path=${cdhps.location}/ | pathelement path=${cdhps.util.location}/ | fileset dir=${shared.lib.location} includes=**/*.jar / | /path | | !-- CLEAN = -- | | target name=clean description=cleans/removes output directories | delete dir=${build.dir} / | delete dir=${par.dir} / | delete dir=${javadoc.dir} / | /target | | !-- PREPARE === -- | | target name=prepare depends=clean description=creates output directories | !-- Create the time stamp -- | tstamp/ | !-- Create the build directory structure used by compile -- | mkdir dir=${par.dir} / | mkdir dir=${build.dir} / | mkdir dir=${javadoc.dir} / | /target | | !-- COMPILE === -- | | target name=compile depends=prepare description=compiles the actionhandler classes | !-- Compile the java code from ${src.dir} into ${build.dir} -- | echo message=Compiling source code... / | javac srcdir=${src.dir} | destdir=${build.dir} | classpath refid=classpath.config / | include name=**/*.java / | /javac | /target | | !-- CREATE PAR FILE === -- | | target name=create_par depends=compile description=creates the par file | jar jarfile=${par.dir}/${parname}.par | fileset dir=${build.dir}/.. includes=**/*.class/ | fileset dir=${xml.dir}includes=**/*.xml / | /jar | /target | | !-- DEPLOY PAR FILE === -- | | target name=deploy_par depends=create_par,declare.jbpm.tasks description=deploys the par file | deploypar par=${par.dir}/${parname}.par / | /target | | target name=declare.jbpm.tasks description=used by deploy_par to define deploypar ant task | taskdef name=deploypar classname=org.jbpm.ant.DeployParTask | classpath refid=classpath.config / | /taskdef | /target | | !-- JAVADOC === -- | | target name=javadoc depends=compile description=creates the javadocs for this project | javadoc | sourcepath=${src.dir} | destdir=${javadoc.dir} | author=true | version=true | private=false |
[JBoss-user] [JBoss jBPM] - Re: randomly get Exception
What version of jBPM are you running? I am using 3.0 and I've never seen that error and I've been testing the h3ll out of it. Sean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913154#3913154 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913154 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: randomly get Exception
we use jbpm 3.0.2 I have worked on a nother project with mySQL and also does not have seen it before. Very, very strange things happen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913155#3913155 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913155 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: randomly get Exception
Also... be careful with your transactions. Objects are (generally) tied to the hibernate sesion they came from. Always keep that in mind when dealing with the session and objects. If you open two sessions, you could have objects bound to the wrong session. Or if you close a session, fiddle with an object and then open it, you could also have trouble. That may have nothing to do with what you're seeing, but just in case... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913156#3913156 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913156 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: randomly get Exception
Ah OK, should have mentioned it: we run in JBoss and use JTA, so we get our session from there (sessionFactory.getCurrentInstance()). The call which failes is in one SessionBean-call, so this should not be the cause of trouble... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913157#3913157 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913157 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: randomly get Exception
Have you looked at the BERND.SYS_C00581420 constraint to see specifically what it is? is it trying to put the same row in twice? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913158#3913158 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913158 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Page personalisable by the user?
Hi everybody! Let me say first that I am quite new to JBoss Portal and I may be asking a stupid question! Said this, my question is the following: how do I create a page in JBoss Portal that each user can personalise at her\his wish? In other words, can I do something similar to the My Yahoo portal where, as a user, I can decide which Portlet to see in my personal view of the same page? Thanks, Marco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913159#3913159 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913159 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: randomly get Exception
Yes, it is the UNIQUE index constraint on the ID_ column, so jbpm wants to put in two rows in the JBPM_TRANSITION - table with the same ID_ (which was generated over the Oracle sequence when working with native I think). But why? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913160#3913160 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913160 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - org.jboss.mq.SpyJMSException: Could not pong
I am using JBOSS 2.6 and since my server is in a sensitive area I have enabled TCP/IP filtering. But since JBOSS uses certain ports to communicate I have specified, ports for the OIL and UIL service to use. Having done that, when I enable TCP/IP filtering such that I prevent UDP, all protocols, and all ports except for the one that I have specified for the OIL and UIL service, I see the following exception: O,12/15/05 12:59:31 GMT+08:00,OILServerILService Client request resulted in a server exception: org.jboss.mq.SpyJMSException: Could not pong at org.jboss.mq.server.JMSServer.ping(JMSServer.java:602) at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316) at java.lang.Thread.run(Thread.java:536) linked exception is: java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:116) at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:98) at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:156) at org.jboss.mq.server.JMSServer.ping(JMSServer.java:598) at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316) at java.lang.Thread.run(Thread.java:536) N,12/15/05 12:59:31 GMT+08:00,Connection JBossMQ Connection failure: org.jboss.mq.SpyJMSException: Connection Failed at org.jboss.mq.Connection.asynchFailure(Connection.java:475) at org.jboss.mq.Connection$PingTask.run(Connection.java:926) at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364) at java.lang.Thread.run(Thread.java:536) linked exception is: org.jboss.mq.SpyJMSException: Could not pong at org.jboss.mq.server.JMSServer.ping(JMSServer.java:602) at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316) at java.lang.Thread.run(Thread.java:536) linked exception is: java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:116) at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:98) at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:156) at org.jboss.mq.server.JMSServer.ping(JMSServer.java:598) at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316) at java.lang.Thread.run(Thread.java:536) O,12/15/05 12:59:31 GMT+08:00,STDERR org.jboss.mq.SpyJMSException: Connection Failed O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.Connection.asynchFailure(Connection.java:475) O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.Connection$PingTask.run(Connection.java:926) O,12/15/05 12:59:31 GMT+08:00,STDERR at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364) O,12/15/05 12:59:31 GMT+08:00,STDERR at java.lang.Thread.run(Thread.java:536) O,12/15/05 12:59:31 GMT+08:00,STDERR linked exception is: O,12/15/05 12:59:31 GMT+08:00,STDERR org.jboss.mq.SpyJMSException: Could not pong O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.server.JMSServer.ping(JMSServer.java:602) O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316) O,12/15/05 12:59:31 GMT+08:00,STDERR at java.lang.Thread.run(Thread.java:536) O,12/15/05 12:59:31 GMT+08:00,STDERR linked exception is: O,12/15/05 12:59:31 GMT+08:00,STDERR java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:116) O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:98) O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:156) O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.server.JMSServer.ping(JMSServer.java:598) O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316) O,12/15/05 12:59:31 GMT+08:00,STDERR at java.lang.Thread.run(Thread.java:536) O,12/15/05 12:59:31 GMT+08:00,STDERR linked exception is: O,12/15/05 12:59:31 GMT+08:00,STDERR org.jboss.mq.SpyJMSException: Could not pong O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.server.JMSServer.ping(JMSServer.java:602) O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316) O,12/15/05 12:59:31 GMT+08:00,STDERR at java.lang.Thread.run(Thread.java:536) O,12/15/05 12:59:31 GMT+08:00,STDERR linked exception is: O,12/15/05 12:59:31 GMT+08:00,STDERR java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:116) O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:98) O,12/15/05 12:59:31 GMT+08:00,STDERR at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:156) O,12/15/05 12:59:31 GMT+08:00,STDERR at
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Serving large files...
I'm running into problems trying to serve up large files from JBoss -- namely, files that have a file size greater than MAX_INT... JBoss is returning a negative value for the 'content-length' HTTP header, which is causing problems with some of our software on the client side... Has anyone run into this problem before? I haven't looked at the code yet myself, but I wouldn't anticipate that it would be too hard to patch, but if anyone knows of a configuration that I'm missing, or of an upgrade I need to make, it would make my life a lot easier :) I'm currently working with JBoss version 3.2.7, running on Linux Thanks, M View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913162#3913162 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913162 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: asign swimlanes in execution time
I'm not sure that I understand your question; however, if you mean that at runtime you want to determine to which swimlane a task belongs, I would think that that violates the concept of a swimlane. Never the less, what you could do to make things work, is define swimlanes in the process definition but don't associated tasks with them. When you begin execution on an instance, assign actors to the swimlanes and as execution continues, you could: 1. programatically determine which role you need to associated to a given task, 2. read the actor from the appropriate swimlane that represents that role, 3. and assign that actor to the task. While I can't say that this would never be a valid scenario, if I found myself needing to do something like this I would first go back and re-evaluate the way I've concieved of my process before continuing. -Britt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913163#3913163 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913163 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Servlet.service() for servlet jsp threw exception
Looked in to code : in GraphElement.java error is at anonymous wrote : action.execute(ExecutionContext) which traces back to anonymous wrote : actionHandler.execite(executionContext) At this place ActionHandler must be null anonymous wrote : | ActionHandler actionHandler =(ActionHandler) actionDelegation.getInstance(); | that look quite acceptable as actionDelegation is not set yet (???) I still cant understand what is referncedAction ?? I will again go through code. Need to understand it better. Any opinion about * Thu Dec 15, 2005 16:25 PM * error post? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913164#3913164 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913164 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - EJB3 Entity bean clustering
Hello all, I'm a bit confused though about the extent to which ebj3 entity beans are clustered and updated. Scenario. We have 2 JBoss servers in a cluster. An application running as an mbean in server1 gets old of a reference to an entity bean. It calls ref.getMyvalue() which returns original value. A transaction on server2 of the cluster calls setMyvalue(new value) and persists the change. Does calling ref.getMyvalue() on server1 now return new value ? thanks in advance James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913168#3913168 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913168 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Tomohawk sortTable strange error
Hi, I'm quite new to J2EE and Seam, but it seems you use the method: public String selectClassifier(Long classifierId) to populate you orderList. You should call sort(final String column, final boolean ascending) after fetching the data. Maybe u'll need to call sort in some other places, like the setters of the sort parameter. Greetings Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913170#3913170 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913170 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Valid use case?
I work for an organization which is geographically spread. Some locations are large, others are much smaller, but they do the same kind of work. Historically the locations had a high level of autonomy. IT is one of those areas where differences occur. Recently a reorganization of IT has taken place. The technical side was centralized and local IT departments (where I work) had to handle the 'functional' side. As one of the larger locations, my colleages and I tried to standardise and automate our internal processes. We hope that other locations will follow our initiative and (re)use the automated tasks, which are or will be written as Java classes. Although a majority of the individual tasks tend to be 'universal', the details, aggregation and sequence of these tasks in processes will differ in the locations. For instance, some locations will use task a and b, but not c, or maybe c is started before b. Looking at jBPM, I see an opportunity for realizing this scenario. A business analyst can describe a local process, and then a designer/programmer can decorate that process with automated functionality. Eventually a repository of processes will be created and gradually differences can be eliminated and improvements can be added. A positive side effect is that business requirements are not locked up in a monolitic application and that change is relatively ease to implement. What worries me somewhat is that I haven't read about such a use of a BPM product, where application flow is substituted by processes. Is this a valid use case in jBPM, or am I to ambitious? As I have to defend this solution to my management, could you give me your experiences or reasons, why this is not the way to use jBPM. Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913171#3913171 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913171 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How to keep Connection/ResultSet open across EJB methods
I found out the solution. in your -ds.xml add !-- 3.2.6 the default value for track-statements is 'nowarn' which closes Statement's and ResultSet's without any warning, http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources -- track-statementsfalse/track-statements Thanks, Jobby View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913174#3913174 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913174 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
Page 2 is for me. It will be finished sunday evening View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913176#3913176 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913176 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How to keep Connection/ResultSet open across EJB methods
Correction, not in 3.2.6 but in 4.0.2 the default value is 'nowarn' Sorry, Jobby View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913177#3913177 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913177 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Displaying Portlet of one application in another applica
Sounds like a reference to WSRP, which will be available in 2.4 - 2Q 06. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913178#3913178 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913178 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Null Pointer Exception in MyFacesGenericPortlet
Yes. I saw the bug. Now that the release is complete, I will look at the archive you sent. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913179#3913179 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913179 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: org.jboss.mq.SpyJMSException: Could not pong
It seems like there is a system property org.jboss.mq.il.oil.localPort that you may be able to set. Take a look at the source code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913180#3913180 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913180 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Create Account Error?
This was fix in the latest release. http://www.jboss.com/products/jbossportal/downloads View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913181#3913181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913181 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Page personalisable by the user?
This feature will not be available until the 2.4 release - 2Q 2006. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913183#3913183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913183 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: localization/i18n support for page names and page titles
I agree whole-heartedly with danny_hon. In my experience, getting translators to deal with multi-language XML files is impossible! They like single-language files, such as properties files. At Novell, we use XLIFF files, which is an XML dialect that can be styled to ResourceBundle or Properties format. The localization model for portlet preferences would work well for page description and display-name as well, i.e. put a default entry in the deployement descriptor and have the portal container lookup other languages in an associated resource bundle. This would make life much easier for localization engineers! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913184#3913184 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913184 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - How to change rmiPort in JBoss 4.0
I'm using JBoss- 4.0.3SP1. I have the error when starting JBoss: java.rmi.server.ExportException: Port already in use: 1098; nested exception is: I want to change rmiPort. I found two xml containing rmiPort: naming-service.xml in server/default/deploy NamingService-xmbean.xml in server/default/conf/xmdesc Then I change RmiPort in naming-service.xml to a different port other than 1098. But when I start the JBoss, it gives me: 12:58:20,839 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Ser ver [EMAIL PROTECTED] 12:58:21,026 INFO [WebService] Using RMI server codebase: http://CFEngineer31:8083/ 12:58:22,776 INFO [MailService] Mail Service bound to java:/Mail 12:58:22,839 ERROR [MainDeployer] Could not create deployment: file:/E:/Applications/jboss-4.0.3SP1/server/default/deploy/naming-service.xml org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss:service=Naming As you can see, the rmiPort is set to 1098 before processing naming-service.xml. Where is it set? How can I change the port? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913185#3913185 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913185 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Valid use case?
jBPM can do what you are talking about. You could : 1. have multiple processes definitions that map your functionality 2. have one process that has multiple transitions and pass a context variable around to indicate which path to take 3. have the nodes actually route themselves to different places (setNode). There may be other options. Those are the ones that come to mind I think option 1 is best, but option 2 could also do the job. I personally don't like option 3 because I think the process flow should match the process diagram, but you can make jBPM basically do whatever you want. Sean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913186#3913186 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913186 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - JBoss Portal 2.2 Final - Released
The JBoss Portal Team is very proud to provide JBoss Portal 2.2 - Final. It includes some bug fixes and the portal has been certified against the portlet JSR 168 TCK. The files are available on our download page: http://www.jboss.com/products/jbossportal/downloads The documentation is also viewable online: http://www.jboss.com/products/jbossportal/docs Thanks to Boles?aw Dawidowicz, our partners at Novell, our JBoss portal community, and, of course, our project lead Julien Viet for all the hard work put forth on this release! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913190#3913190 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913190 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - LdapLoginModule to ActiveDirectory, could it be a bug?
I configured to the JBoss (4.0.3SP1) LdapLoginModule to authenticate to the active directory and it authenticates fine and but when it is retrieving the memberOf (roles) for the authenticated user, the LdapLoginModule uses the following (sAMAccountName=*) with the filter argument of the {userName} in the ctx.search() method. The search returns all of the roles in the active directory instead of returning the roles that the user is associated with. Should it be (sAMAccountName={0}) and filterArgs? Is it a bug or is my configuration wrong? Should I report this in the JIRA? Thanks /selvan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913191#3913191 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913191 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Correct Syntax for Service Bean
I am having the same problem with my EJB 3.0 Service. 1. When I package my Service classes as .ejb3 and deploy it. There is no error, however the lifecycle methods are never called, so I am not sure if my service is getting deployed at all. 2 . When I package the Service classes as .sar file and deploy it, it expects the jboss-service.xml file and if defined it throws the following exception. Caused by: java.lang.Error: Unresolved compilation problems: Type mismatch: cannot convert from Service to Annotation Management cannot be resolved to a type Don't know what extension to use and how to deploy the EJB 3 Service application. Appreciate any help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913192#3913192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913192 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Inheritance Issues
Hello people I would like to know whether you can help me with the following issue, posted by my application at deployment stage: anonymous wrote : | 15:01:20,578 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=XCellDomain.par | java.lang.NullPointerException | at org.hibernate.util.StringHelper.root(StringHelper.java:150) | at org.hibernate.mapping.PersistentClass.getProperty(PersistentClass.java:348) | at org.hibernate.mapping.PersistentClass.getProperty(PersistentClass.java:357) | at org.hibernate.cfg.annotations.TableBinder.bindFk(TableBinder.java:136) | at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:519) | at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:256) | at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:191) | at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:988) | at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:607) | at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:75) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:473) | at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:202) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:78) | at org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:512) | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:253) | at org.jboss.ejb3.Ejb3JmxDeployment.create(Ejb3JmxDeployment.java:230) | at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228) | at sun.reflect.GeneratedMethodAccessor70.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.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:341) | at org.jboss.system.ServiceController.create(ServiceController.java:284) | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(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 $Proxy10.create(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:208) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy11.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) | at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown
[JBoss-user] [JNDI/Naming/Network] - two jboss servers, one jndi?
I would like to have 2 jboss servers on separate machines, but not in a cluster. Session beans from one server will use session beans from the second one. What is the best approach for this configuration? Can I have one JNDI in which both servers will register session beans' proxies? or should I have seperate JNDIs (how to configure sescond server so that his beans can look up beans from the first one)? thanks Tomasz Lewandowski View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913195#3913195 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913195 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Multiple groups under same rolesCtxDN tag
Hi Here you go with LDIF For privacy and security reason I have replaced original values. I hope it will help you to understand and guide me. dn: CN=ABC,CN=Computers,DC=DEF,DC=XYZ,DC=com | objectClass: top | objectClass: person | objectClass: organizationalPerson | objectClass: user | objectClass: computer | accountExpires: 123 | badPasswordTime: 0 | badPwdCount: 0 | cn: ABC | codePage: 0 | countryCode: 0 | displayName: ABC$ | distinguishedName: CN=ABC,CN=Computers,DC=DEF,DC=XYZ,DC=com | dNSHostName: ABC.DEF.XYZ.com | dSCorePropagationData: 123.OZ | dSCorePropagationData: 123.0Z | dSCorePropagationData: 123.0Z | instanceType: 4 | isCriticalSystemObject: FALSE | lastLogoff: 0 | lastLogon: 123 | lastLogonTimestamp: 123 | localPolicyFlags: 0 | logonCount: 36 | name: ABC | objectCategory: CN=Computer,CN=Schema,CN=Configuration,DC=XYZ,DC=com | objectGUID:: abcdef | objectSid:: abcdef | operatingSystem: Windows XP Professional | operatingSystemServicePack: Service Pack 2 | operatingSystemVersion: 5.1 (2600) | primaryGroupID: 123 | pwdLastSet: 123 | sAMAccountName: ABC$ | sAMAccountType: 123 | servicePrincipalName: ldap/ABC.DEF.XYZ.com | servicePrincipalName: ldap/ABC.DEF.XYZ.com:389 | servicePrincipalName: ldap/ABC | servicePrincipalName: ldap/ABC:389 | servicePrincipalName: 123-ADAM/ABC.DEF.XYZ.com:389 | servicePrincipalName: 123-ADAM/ABC:389 | servicePrincipalName: HOST/ABC | servicePrincipalName: HOST/ABC.DEF.XYZ.com | userAccountControl: 123 | uSNChanged: 123 | uSNCreated: 123 | whenChanged: 123.0Z | whenCreated: 123.0Z | | dn: CN={123-123},CN=ABC,CN=Computers,DC=DEF,DC=XYZ,DC=com | objectClass: top | objectClass: leaf | objectClass: connectionPoint | objectClass: serviceConnectionPoint | cn: {123} | distinguishedName: CN={123-23},CN=ABC,CN=Computers,DC=DEF,DC=XYZ,DC=com | instanceType: 4 | keywords: partition:CN=Configuration,CN={123-123} | keywords: 123 | keywords: fsmo:naming | keywords: fsmo:schema | keywords: instance:instance1 | keywords: site:Default-First-Site-Name | keywords: 1.2.3.4.1.4.6 | keywords: 1.2.3.4.1.4.6 | keywords: 123 | name: {123} | objectCategory: CN=Service-Connection-Point,CN=Schema,CN=Configuration,DC=XYZ,DC=com | objectGUID:: 123 | serviceBindingInformation: ldaps://ABC.DEF.XYZ.com:636 | serviceBindingInformation: ldap://ABC.DEF.XYZ.com:389 | serviceClassName: LDAP | serviceDNSName: ABC.DEF.XYZ.com | serviceDNSNameType: A | showInAdvancedViewOnly: TRUE | uSNChanged: 123 | uSNCreated: 123 | whenChanged: 123.0Z | whenCreated: 123.0Z | Let me know if you have any inputs. Thanks and best regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913197#3913197 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913197 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user