[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ejb Persistence prolem

2006-09-15 Thread gsoberai
hi forum, i am using two systems running jboss3.2.5 with two diferent applications namely admin and student running on them with a common database. in both the applications i am using BMP entity beans,now the problem is that when one entity bean modifies some data in the database then that

[jboss-user] [JBoss jBPM] - Re: CommandExecutorThread not started in Jbpm3.1, Jboss4.0.3

2006-09-15 Thread jits_1998
The command executor thread is expected to be running for any signal processing to happen in async environment. There is no configuration required to run it. AFAIK. Can you specify which version of jbpm are you using? cheers! View the original post :

[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P

2006-09-15 Thread mzeijen
Thanxs :D View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971845#3971845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971845 ___ jboss-user mailing list

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-15 Thread jits_1998
hi Meeru77, There is an WIP class called org.jbpm.db.ContextSession . The purpose of that class is to take care of issues like searching for a process instance based on variable instances. You can update that class with thi query, that IMO will be an approach more in line with jbpm line of

[jboss-user] [JBoss jBPM] - Re: jBPM notification of process instance completion (w/o ha

2006-09-15 Thread jits_1998
Hi Brad, How about using your own custom end-state node? It can have an action that will do the notify bit and anyone configuring the app will just need to specify the end-state as usual. cheers! View the original post :

[jboss-user] [JBoss Seam] - Re: Seam example, hotel-booking, does not work

2006-09-15 Thread raja05
Can you use the jems installer as indicated in http://labs.jboss.com/portal/jbossseam/gettingstarted for getting jboss-4.0.4. I believe you dont have the latest EJB3 jars as the method call from InvocationContext.getTarget() was introduced only later( in EJB3-RC8)

[jboss-user] [JCA/JBoss] - [JBossManagedConnectionPool] Destroying connection

2006-09-15 Thread MarcReis
I have been using AS 4.0.4.GA for a while and never seen the following warning. I updated the JBossCache lately from 1.4.0GA to 1.4.0.SP1, that is the only thing that I can thing of at the moment that could be related. I am not sure if this is the cause or if this is the correct place to ask

[jboss-user] [JBoss jBPM] - Re: How logging me in as a user in JBPM (swimlane)

2006-09-15 Thread jits_1998
okay got it. Process instance id is generated after the process instance is stored in the db. So to start using the process instance id you need to use: | Step 1: org.jbpm.JbpmContext.save(ProcessInstance) | Step 2: org.jbpm.JbpmContext.loadProcessInstanceForUpdate(long) | hope it

[jboss-user] [Microcontainer] - Re: How to use Microcontainer with tomcat (not jboss)

2006-09-15 Thread vickyk
Oh what I can understand after rereading the post is that you are going to inject the properties in the Servlet . What you should do is have a set of dependent beans getting configured though the servlet and make them available though the session/page/application scope depending on your

[jboss-user] [Microcontainer] - Re: Getting Kernel as null ......

2006-09-15 Thread vickyk
Well I got this working; I need to make the following call iocHook.bootstrap(); rathar than the iocHook.main(ar); I think I need to go through the code details to understand why this is happening Why I was making the main() call was because it was documented Vicky View the original

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-15 Thread the_dude
meeru777 wrote : i got it to work, | | is this the right approach to do it? | | | | String q = select pi from org.jbpm.graph.exe.ProcessInstance as pi, | | org.jbpm.context.exe.VariableInstance as vi | | + where pi.id = vi.processInstance and pi.rootToken.node.name = ' +

[jboss-user] [Clustering/JBoss] - Re: Correct way to deploy ear in a cluster

2006-09-15 Thread MarcReis
It has been quite a while that I had a similar problem. I belive it was due to packing the ear/jar wrong. I dont know how exactly your archives are structured, but double check to see that it is the way it should be. I belive I had a misstake in my ant file that also packaged up a bit more

[jboss-user] [JBoss/Spring Integration] - Re: does spring deployer _require_ ejb?

2006-09-15 Thread alesj
Sure. Simply do a JNDI lookup. Use the same jndi name as you use in @Spring annotation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971861#3971861 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971861

[jboss-user] [JBoss Seam] - Re: Multiple roles and accessing the DataModel

2006-09-15 Thread denis-karpov
In this case you can use: yourBean.getYourModel.getRowData(); | yourBean.getYourModel.getRowIndex(); | But you should not create DataModel each time in a getter. I use it something like this: private DataModel dm = null; | | public DataModel getDetails() { |

[jboss-user] [JBoss jBPM] - Re: How logging me in as a user in JBPM (swimlane)

2006-09-15 Thread antitrust1982
thank you I do this but at the end of my task instance execution, so it desnt work correctly. now I put the save just after the creation and work well. But does it existe a methode like unfinishedtaskinstance for the process intances unfinished.. I tried to find it in the javadoc, but I don't

[jboss-user] [JBoss jBPM] - Re: How logging me in as a user in JBPM (swimlane)

2006-09-15 Thread jits_1998
You can do this just after creating the processinstance so that the process instance id is filled and hence allows you to differentiate between process instances. AFAIK there is no method to search for unfinished process instances. But this does/should not stop you from writing one of your own

[jboss-user] [Clustering/JBoss] - cluster license

2006-09-15 Thread Tomasz1982
Hello! I wont to use cluster with JBoss. I heard that I need a license. Is it true??? Thanks for help ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971865#3971865 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971865

[jboss-user] [Installation, Configuration Deployment] - Re: Rolling over JBoss console log

2006-09-15 Thread kaobe
Hi Ramdas, the configuration is not different from the server.log at all. What messages are given out on the console that do not appear in the server.log (if you have the same threshold defined)? I haven't noticed anything different yet. Peter View the original post :

[jboss-user] [JBoss Seam] - Re: Step-by-step localization guide

2006-09-15 Thread nhpvti
nhpvti wrote : | I've tried custom navigation handler for adding language suffix at the end of an action, for example: register_en, register_de | My custom view handler works seamless with JSF navigation and Seam pageflow and forces templates names in the form of name_loc.xhtml, for

[jboss-user] [EJB 3.0] - Re: Stateless Session Beans - when to have remove

2006-09-15 Thread stephan.opitz
addition: i remove with @remove annotation and it seems to me stateless will not be remove, but is it neccessary at all? how long live the ejbs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971870#3971870 Reply to the post :

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Cannot get JBossIDE deploying...

2006-09-15 Thread WarEagle
Hey, Sorry for the late response, I was without computer for some days. thank you all for the posts, it really helped :) After removing the distributable-tag everything works fine. And I also found how to hotdeploy during development (simply run the server in debug-mode instead of normal-mode).

[jboss-user] [EJB 3.0] - Re: ManyToMany problem

2006-09-15 Thread andydale
I have decided to always annotate the getters of each class variable as this seems to work, and in all the examples i have managed to find this seems to be the done thing View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971872#3971872 Reply to the post :

[jboss-user] [JBossWS] - Endpoint Operation metadata error

2006-09-15 Thread Duffcase
Hi. I'm gettng this when trying to consume a webservice. Anyone know what it is? | 10:06:10,810 ERROR [SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://typo.no/trim/ws/}MainControllerInterfacePort does not contain operation meta

[jboss-user] [EJB 3.0] - Re: @Basic(optional=true) vs @Column(nullable=true)

2006-09-15 Thread sbublava
Thanks, that helps a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971876#3971876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971876 ___ jboss-user mailing list

[jboss-user] [Clustering/JBoss] - Re: cluster license

2006-09-15 Thread gcoleman
No. JBoss is free, open source software. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971879#3971879 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971879 ___ jboss-user mailing

[jboss-user] [EJB 3.0] - Re: Stateless Session Beans - when to have remove

2006-09-15 Thread wolfc
No, it is not necessary to remove a stateless session bean. One stateless session bean instance will be kept alive during the entire lifecyle of your deployment. Others might be instantiated and removed as necessary. View the original post :

[jboss-user] [EJB 3.0] - Re: RC9 is out

2006-09-15 Thread Juergen.Zimmermann
Is RC9 only for 4.0.4, but also for 4.0.5RC1? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971881#3971881 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971881 ___ jboss-user

[jboss-user] [Clustering/JBoss] - Re: cluster license

2006-09-15 Thread Tomasz1982
Clustering too?? Do you know maybe where can I read about this?? I found many license's informations, but there were not about clustering View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971883#3971883 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: How logging me in as a user in JBPM (swimlane)

2006-09-15 Thread antitrust1982
Hi, So in order to create this methode, I must to put in the jbpmsession or context i don't know for now a list of the id which are currently instanciate. But I don't know where I can put this list in order to find anywhere in all of instances of my jbpm, and how. after I think to just use

[jboss-user] [JBoss Messaging] - Remote JMS server

2006-09-15 Thread mskonda
I have a JBossAS(4.0.3SP1) (lets call this appserver) running on a machine and a JMS Server (essentially a JBossAS)(lets call this jms server) running on the same machine but with a different port (obviously). Both servers startup successfully. I deploy a *ds.xml file on appserver for creating

[jboss-user] [JBoss jBPM] - Re: Oracle exception deploying process

2006-09-15 Thread mteira
anonymous wrote : did you specify the dialect correctly ? do you know there is a different dialect for oracle 9 ? I thought I was using the Oracle9 dialect, but it seems that, in some way, that is not what JBoss is thinking, as I'm seeing the log: 2006-09-13 14:38:56,698 DEBUG

[jboss-user] [EJB 3.0] - Re: Stateless Session Beans - when to have remove

2006-09-15 Thread stephan.opitz
so there alive until i close my browser or teh specific tab? whats up with stateful session beans... how long live they... if i forgot to @Remove them View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971888#3971888 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 4.0.4.GA and logging

2006-09-15 Thread jan_bar
I found my way to http://wiki.jboss.org/wiki/Wiki.jsp?page=ScopedLoggingConfig, it worsk fine. However one annoying problem stil persists. When my application logs to console, the ouputs are catched and wraped by JBoss console logger: | 11:39:15,368 INFO [STDOUT] 2006-09-15 11:39:15,368

[jboss-user] [JBoss Portal] - Re: Is the header a portlet?

2006-09-15 Thread rutfield
All I am trying to do is put an HTML frame into the header. I can create a new theme and put the frame in a portlet, but that really seems to overcomplicate what sounds like a straightforward task. 12.6.1 in the reference guide describes using JSP tags for header content injection. Is that a

[jboss-user] [EJB/JBoss] - Re: Pool size for my Stateless Beans?

2006-09-15 Thread sumedh_inamdar
I put this in standardjboss.xml's Standard Message Driven Bean container-configuration node... container-pool-conf 2 true /container-pool-conf But that is not working...my MDB is happily accepting 4 simultaneous requests and 4 instances are getting created...(I printed

[jboss-user] [JBossWS] - Re: Endpoint Operation metadata error

2006-09-15 Thread Duffcase
Turns out I was using version 1.0.2 of wstools on a server running 1.0.3 and that didn't work too well.. No problems when switching to the right wstools. :P View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971893#3971893 Reply to the post :

[jboss-user] [JBoss Portal] - Sending attachments in Jboss 4.0.4

2006-09-15 Thread DivyaMan0j
Our application presently, uses Jboss 3.2.0 with EJB 2.0. we are planning to migrate Jboss version to 4.0.4 and EJB 2.1. Wanted to know if sending attachments over DIME is supported by 4.0.4 ? If not supported, how do we send attachmenst using MTOM (could you please provide us with sample

[jboss-user] [JBoss AOP] - Re: run aopc anttask error: ...was pruned

2006-09-15 Thread [EMAIL PROTECTED]
Clean out your class files and do a full recompile before running aopc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971895#3971895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971895

[jboss-user] [JCA/JBoss] - Re: [JBossManagedConnectionPool] Destroying connection

2006-09-15 Thread [EMAIL PROTECTED]
Typically this message can be explained by: http://wiki.jboss.org/wiki/Wiki.jsp?page=StrangePoolingConnectionsDestroyed However, connections failing validation could also produce this condtion. Could you post your *-ds.xml file? View the original post :

[jboss-user] [JBossCache] - Re: Implementing the treecache (ClusteredCacheLoader)

2006-09-15 Thread [EMAIL PROTECTED]
This might help http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClusteringPatternsLibrary View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971897#3971897 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971897

[jboss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2006-09-15 Thread knizamudeen
Does this scheduling activity deals anything with configuration of scheduler-service.xml , and can anyone get me the file structure of the sar/jar or whatever,like where the jboss-service.xml ll come n where the mbean, etc,etc. Thanks a lot in advance. View the original post :

[jboss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2006-09-15 Thread knizamudeen
Does this scheduling activity deals anything with configuration of scheduler-service.xml , and can anyone get me the file structure of the sar/jar or whatever,like where the jboss-service.xml ll come n where the mbean, etc,etc. Thanks a lot in advance. View the original post :

[jboss-user] [JBoss jBPM] - CLASS_ relationships in the jbpm_log table

2006-09-15 Thread jacobo
Hi there, I have got a problem that i am sure it will easy for you but I can't still solve. You see: in the jbpm_log, you may see that JBPM keeps a log of nodes, variables updates, and other concepts. What it puzzles me is that, if I do want to retrieve the variable values updated for each

[jboss-user] [JBoss Portal] - Re: Portal Login

2006-09-15 Thread damchy
I have the same problem as jkoek and I have one question!? Is it possible to make own login portlet on the same way as originally login.jsp? I try this http://wiki.jboss.org/wiki/Wiki.jsp?page=PortletLogin , but POST method doesn't work. No username and password are POSTED to originally

[jboss-user] [JBoss jBPM] - Re: Oracle exception deploying process

2006-09-15 Thread jits_1998
There will be a hibernate.properties file in the jbpm core download. We need to update that, as during the build the properties for the datasource are picked from there and updated into hibernate.cfg.xml. I have messed around too much with my core to guide you to exact solution. But I was able

[jboss-user] [JBoss jBPM] - newbie questions

2006-09-15 Thread kate.fr
Hello folks, I 've just discovered jBPM so please don't blame me for my stupid questions. I need to coordonate a complex workflow of tasks for our application (not human tasks), each task having some not trivial dependencies on others or on some resources (files, databases...), not all tasks

[jboss-user] [JBoss jBPM] - Re: newbie questions

2006-09-15 Thread jits_1998
Heyi, Welcome to the world of jbpm :-). We can store the process defitions directly in the db, which is essentially the content of PAR file. So you do not need to put the PAR file (I don't do it). There is a set of extensible services that will help you query database for everything related

[jboss-user] [JBoss Portal] - ClassCastException: org.jboss.portal.cms.impl.jcr.JCRCommand

2006-09-15 Thread pavlikus
Hi! It's jboss portal 2.4 final. I am getting classcast exception while trying to access jcr repository in my portlet: CMS CMSService = (CMS) getPortletContext().getAttribute(CMS); | System.out.println(CMSService.getDefaultLocale()); //= works fine!!! | org.jboss.portal.cms.CommandFactory

[jboss-user] [Clustering/JBoss] - Re: ejb proxies only contain nodes at deploy time

2006-09-15 Thread bugumala
Ok, we're continuing with our configuration problem. unifiedha was new to us, sorry for not doing our homework. We've manage to set up it together with a connector for ejb3 and it deploys fine. Instead we're getting an exception at runtime. This is our configs and debug log:

[jboss-user] [EJB 3.0] - EJb access - jndi works - injection doesn't know why not

2006-09-15 Thread stephan.opitz
in jsf i want access to ejb public class DataFactory { @EJB private CategoriesLangFacade categoriesLangFacade; public CategoriesLangFacade getCategoriesLangFacade() { return categoriesLangFacade; } } solves categoriesLangFacade as null; without

[jboss-user] [JBoss jBPM] - Multiinstances of the same process

2006-09-15 Thread antitrust1982
Hello all, As I said in an other article, I have create a portlet, and I want to know all the instance of my process in all my portlets instance. In order to do this I want to put in a list (for exemple) the processinstance Id, permit me to recall it if I want continu the execution of my

[jboss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ using Derby instead of Hypersonic

2006-09-15 Thread filipiz
I'm just having the same problem. Does anybody know where can I find the jar file where I can get the implementation of that class (org.jboss.jdbc.DerbyDatabase) ? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971912#3971912 Reply to the post :

[jboss-user] [EJB 3.0] - annotate parameter description when using @management

2006-09-15 Thread kapilanand
hi I am trying to use the service extention of ejb3. I can see the management interface from the jmx console, but the description of operation parameters is missing. Is there a way to specify these using annotations or via jboss.xml? thanks for the help. View the original post :

[jboss-user] [JBoss Messaging] - Re: Remote JMS server

2006-09-15 Thread mskonda
Okay, I have isolated lots of things and tested with clean version of JBoss4.0.3SP1 with Messaging and without messaging (that is, with MQ) All is fine with MQ. However, I am unsuccessful if I run the same setup with messaging(just to be sure, I have downloaded a clean version of CR4 as I

[jboss-user] [JBoss Seam] - Re: Glaring Security Hole?

2006-09-15 Thread bfagan
Is the documentation completely wrong then? In section 7.2.2 Seam.Component, the example shows an entity bean that implements serializable with @Name('customer') which is later called through: var customer = Seam.Component.newInstance(customer); customer.setFirstName(John); // Or you can set

[jboss-user] [Installation, Configuration Deployment] - JBoss 4.0.4.GA log level

2006-09-15 Thread JustinAshworth
Despite cranking down the log level in server/default/conf/log4j.xml, the JBoss server is still logging at DEBUG level. Is there some new log configuration file in this release that wasn't in 4.0.3? Thanks, Justin View the original post :

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Any Tutorial for developing EJB3.0 application JBoss Ecl

2006-09-15 Thread forumer
Thanks for your reply. TrailBlazer is a very good application to learn EJB3.0. But I am looking for a tutorial to learn how to develop an EJB3.0 application on JBoss IDE1.5 - an easy way to develop classes and package them. I'd appreciate any suggestions. View the original post :

[jboss-user] [Clustering/JBoss] - Re: cluster license

2006-09-15 Thread [EMAIL PROTECTED]
There are no special licensing requirements for running clustering. All clustering components are distributed under the LGPL, same as the rest of the AS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971920#3971920 Reply to the post :

[jboss-user] [JBoss/Spring Integration] - Re: does spring deployer _require_ ejb?

2006-09-15 Thread ddouglass
Thanks for the reply Ales, and for Jboss Spring deployer ;) That's what I've been trying to do via unit test -- the JNDI lookup gets me back a Reference object that refers to the NamedXmlApplicationContext, but any attempt to use the object (casting to ApplicationContext or BeanFactory) fails

[jboss-user] [JBoss Eclipse IDE (users)] - JBoss 4.0.4-GA won't start in Debug mode?

2006-09-15 Thread dbs
Using Eclipse Callisto with JBoss 4.0.4-GA and JBoss-IDE 2.0.0-beta under Linux, with JDK 1.5.0_06. I'd like to be able to set breakpoints and do hotspot code swapping, but this requires JBoss to be running in Debug mode. If I rightclick on my EAR file and say Debug-Debug on Server I get a

[jboss-user] [JBoss Seam] - Re: Task assignment via pooled actor

2006-09-15 Thread appendix
Hi Gavin, thanks again for trying to clearify this issue. I've read in the documentation that a pooled task is assigned to an actorId as well, but I've tried it with the very plain example (my initial post). Also the DVD store example is using a groupId [1] to get the task on the

[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P

2006-09-15 Thread chuaky
here we go ... 1. If you haven't install JBoss Portal 2.4GA with EJB3, see portal installation instruction at http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html_single/#install_installer I use the JEMS installer, and then override the JBoss portal with the latest. 2. Install

[jboss-user] [Security JAAS/JBoss] - Re: writing new LoginModul - unable to replace Principal ??

2006-09-15 Thread rsoika
hi, yes I have changed this. I also implememented a new version with extended functionality. Documentation and also source is available at: http://www.imixs.org/websites/imixs-org.nsf/chapter/0300.0100.0020.?OpenDocument This Modul works perfect with an IBM Lotus Domino LDAP and is able to

[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P

2006-09-15 Thread chuaky
4a. Delete .\booking\resources\META-INF\jboss-app.xml 4b. Create .\booking\resources\WEB-INF\jboss-app.xml with this content: | jboss-app |app-nameseam-booking/app-name | /jboss-app | 5. Edit .\booking\resources\META-INF\application.xml, to remove the context-root tags. The

[jboss-user] [EJB 3.0] - EJB 2.1 beans without mappedName

2006-09-15 Thread sosopk
Hello In my .ear file I have two jar files. one contains ejb3 beans. Another only ejb2.1 beans. My problem is that when i want to inject EJB 2.1 beans in my EJB3 beans with @EJB(name=ejb/myejb21, beanInterface=myejb21home.class) or with @EJB(name=ejb/myejb21,

[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P

2006-09-15 Thread chuaky
7. Edit .\booking\resources\WEB-INF\web.xml with this content: | ?xml version=1.0 encoding=UTF-8? | web-app version=2.4 | xmlns=http://java.sun.com/xml/ns/j2ee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; |

[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P

2006-09-15 Thread chuaky
8. Add the facelets support in .\booking\resources\WEB-INF\faces-config.xml, see below: | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE faces-config | PUBLIC -//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN | http://java.sun.com/dtd/web-facesconfig_1_0.dtd; |

[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P

2006-09-15 Thread chuaky
9. Create .\booking\resources\WEB-INF\seam-booking-object.xml, as follows: | ?xml version=1.0 encoding=UTF-8? | deployments |deployment | if-existsoverwrite/if-exists | parent-refdefault/parent-ref | page | page-nameSeamBooking/page-name |

[jboss-user] [JBossCache] - Re: Jboss 4 startup error: jgroup or Tree cache?

2006-09-15 Thread dpabhay
We get the same error. And this started out of the blue. It has been no problem for 3 months. The only solution is to either change the mcast IP or port. This is very severe - mostly because we don't know what is causing it. And not sure if the current production environment will be affected

[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P

2006-09-15 Thread chuaky
12. Edit .\booking\build.xml, as follows: | ?xml version=1.0? | | project name=Booking default=deploy basedir=. | | !-- Naming -- | property name=Name value=Seam on JBoss Booking Example/ | property name=example.name

[jboss-user] [Clustering/JBoss] - Re: Farm deployement problem

2006-09-15 Thread [EMAIL PROTECTED]
Glad that helped. :) But, when I read your response a potential cause of your problem occurred to me. So here's something else to try for those who have issues sending files using farming but still want to use UDP: In cluster-service.xml, bump up the buffer sizes in the UDP protocol: | UDP

[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P

2006-09-15 Thread andyd
Fantastic! Many thanks for your help - busy evening later giving it a go. Andy. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971943#3971943 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971943

[jboss-user] [JBoss Seam] - Re: Any experiences with the Tomahawk components?

2006-09-15 Thread patrick.antivackis
In fact the taglib is already in the jar file. So for me the installation was quite painless : App server : JBOSS 4.0.4 GA JEMS 1) place tomahawk-1.1.3.jar, tomahawk-sandbox-xxx-SNAPSHOT.jar, commons-lang-2.1.jar and commons-fileupload-1.1.1.jar in your project resources\WEB-INF\lib directory

[jboss-user] [JBoss Seam] - Re: JBoss IDE and conent assist

2006-09-15 Thread [EMAIL PROTECTED]
JSF support is not implemented in jbosside. we hope that the JSF initiative in WTP would be able to provide foundation for it but its moving a bit slow :( and will probably only get mature enough for WTP 2. View the original post :

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 4.0.4.GA log level

2006-09-15 Thread PeterJ
There is still only the one log4j.xml file. I have been able to successfully limit what gets logged in 4.0.4. Exactly what change(s) did you make? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971952#3971952 Reply to the post :

[jboss-user] [JBoss Portal] - Re: ClassCastException: org.jboss.portal.cms.impl.jcr.JCRCom

2006-09-15 Thread PeterJ
Try this: Object obj = CMSService.getCommandFactory(); System.out.println(cmd factory is a + obj.getClass()); Then you will know what to cast it to. Or we can discuss why the object rerturned by getCommandFactory is what it is. View the original post :

[jboss-user] [JBoss Seam] - devs dependency

2006-09-15 Thread abrain
Hi forum, I'm trying to install jboss-3.2.5-3.1.i586.rpm and have resolved several dependencies except for devs. I downloaded and installed the devs-10.0-1.i586.rpm package but the dependency is still there. I'm new to linux in general so kind of at a stand still until I resolve this. thanks

[jboss-user] [JBoss Portal] - WANTED: Input from administrators developers

2006-09-15 Thread [EMAIL PROTECTED]
I hate to cross-post but this is important. If you have any interest in administration and monitoring of JBoss Portal, please follow and participate to the following thread: http://jboss.org/index.html?module=bbop=viewtopict=90764 View the original post :

[jboss-user] [JBoss Portal] - Re: How to predifine a portlet window state?

2006-09-15 Thread Shlyannikov
Ok, I've found a way to do this myself. I have a JSF portlet with several pages. When accesing a page, I put it's name into HttpServletSession. Then in class org.jboss.portal.core.command.InvokeWindowRenderCommand.java I get this parameter from session and so choose a window state in which the

[jboss-user] [JBoss Portal] - Re: How to predifine a portlet window state?

2006-09-15 Thread [EMAIL PROTECTED]
Shlyannikov- Insetad of changing the behavior of InvokeWindowRenderCommand in portal which could lead to unpredictable behavior for some usecases that you may not test here is a couple of things you might want to try- 1) Specify in your portlet.xml that only MAXIMIZED state is needed for this

[jboss-user] [JBoss Seam] - Re: Any experiences with the Tomahawk components?

2006-09-15 Thread bfo81
Sorry, but if you use JSP this might be correct. But for Facelets you do defintely need an extra *.taglib.xml file plus an entry in the web.xml referencing that file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971972#3971972 Reply to the post :

[jboss-user] [Clustering/JBoss] - Re: ClusterFileTransferException

2006-09-15 Thread [EMAIL PROTECTED]
When the new node tried to retrieve the file from the coordinator, it didn't get a response. You need to check the logs for both servers to see if there is any indication why it didn't get a response. The ClusterFileTransfer code was disguising the non-response as an

[jboss-user] [JBoss Seam] - Re: Stateful Session Bean Instances and Conversations

2006-09-15 Thread bfo81
@Stateful | @Scope(ScopeType.CONVERSATION) //I think this is the default scope so you might leave it out | @Name(...) | public class WhateverBean implements Whatever, Serializable { | | @In(required=false) //should be initially created in here | @Out | private AnEntity

[jboss-user] [JBoss/Spring Integration] - Re: does spring deployer _require_ ejb?

2006-09-15 Thread ddouglass
Never mind...for my in-container tests the problem was class loader related -- I had duplicate jars in both my .spring and .war. Removing the duplicates fixed my problems. Cheers, Doug View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971975#3971975 Reply to

[jboss-user] [JBossCache] - how to support custom CacheLoader callbacks to register addi

2006-09-15 Thread wcooper
I have a custom cacheloader impl that is used to fetch data on cache misses. When I fetch the data, and return my Map via the CacheLoader.get(Fqn name) interface method call, I also wish to create and register additional Fqn/DataNode pairs in the cache store. Is this possible? ex: assume a

[jboss-user] [Installation, Configuration Deployment] - Re: Rolling over JBoss console log

2006-09-15 Thread ramdas
The output thrown to JBOSS_CONSOLE is quite different and we have noticed that when we have had JVM crashes, the JVM messages are dumped in the console output and not in server.log. If you redirect JBOSS_CONSOLE to a file instead of /dev/null, you will see the differences. Thanks Ramdas

[jboss-user] [JCA/JBoss] - Re: [JBossManagedConnectionPool] Destroying connection

2006-09-15 Thread MarcReis
Sure ! | ?xml version=1.0 encoding=UTF-8? | | datasources | !-- = -- | !-- -- | !-- ORADB

[jboss-user] [JBoss/Spring Integration] - Re: does spring deployer _require_ ejb?

2006-09-15 Thread alesj
ddouglass wrote : | That's what I've been trying to do via unit test -- the JNDI lookup gets me back a Reference object that refers to the NamedXmlApplicationContext, but any attempt to use the object (casting to ApplicationContext or BeanFactory) fails down in the Spring AOP layers with

[jboss-user] [JBossWS] - Unable to create JavaBean of type org.w3c.dom.Element

2006-09-15 Thread amit_sri
Hi, I have developed a webservice with JWSDP-2.0 (jax-rpc wscompile tool) deployed it on JBoss 4.0.2 AS. I have taken bottom-up approach starting with Service interface which takes org.w3c.dom.Element and return the same. Everything happened smoothly until I invoked the deployed WS using

[jboss-user] [JBossWS] - Re: How to generate mapping.xml webservices.xml from WSDL?

2006-09-15 Thread amit_sri
Thanks... Infact wscompile tool which comes with JWSDP 2.0, generated all the required artifacts. For details please refer to http://java.sun.com/webservices/docs/1.6/jaxrpc/jaxrpc-tools.html Thanks again, Amit Srivastava.. View the original post :

[jboss-user] [JBossCache] - Re: Implementing the treecache (ClusteredCacheLoader)

2006-09-15 Thread sudarshanra
Hi Manik, Thanks for sending the URL. In which XML file of JBoss server, I need to put the sample configuraiton content (i.e. configuring cache). OR do I need to create new XML file and to be deployed in JBoss server. If so in which directory I need to be placed. And also In which directory I

[jboss-user] [Installation, Configuration Deployment] - Re: java.lang.LinkageError: loader constraints violated when

2006-09-15 Thread master_yoda
Atlast I am able to resolve the issue. And on weblogic the behaviour is same don't be confused. The cause of error I found is that: I have one class in shared lib(i.e. JBOSS_HOME/server/default/lib) which is trying to use a class from the deployed war file.An I have two war file deployed which

[jboss-user] [JBoss Seam] - Does injection perform standard JSF conversion?

2006-09-15 Thread adambrod
Hi- I have a property in my managed bean that is injected from the request parameters. Will Seam perform standard conversions like regular JSF managed properties? This property fails: @In(#{param.managedFileId}) | protected Long managedFileId; with the exception below. From what I can

[jboss-user] [JBoss Seam] - Re: Does injection perform standard JSF conversion?

2006-09-15 Thread adambrod
Actually, I found the solution. Instead of using standard @In injection, I needed to use @RequestParameter. @RequestParameter will perform the correct type conversion, whereas @In won't. Here is the corrected code: @RequestParameter(#{managedFileId}) | protected Long managedFileId; View

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - TransactionRolledBackLocalException accessing entity bean re

2006-09-15 Thread jaysperk
I am getting an exception TransactionRolledBackLocalException caused by NoSuchObjectLocalException: Entity not found under the following scenario: Using BMT. Commit Option A. Entities Customer Account Customer has one to many relationship with accounts. Sequence of events: Start

[jboss-user] [JBoss Portal] - Re: I can't see the tabs in my new portal.

2006-09-15 Thread PeterJ
The page layout for Ajax and PringMVC appear to be the same. I don't know why the tabs are disappearing. Did you look in the source of the displayed html page (the browser will show this to you)? Perhaps they are there but just hidden for some reason. Or is there anything in the log that

[jboss-user] [EJB 3.0] - Re: Exception handling

2006-09-15 Thread jc7442
First, I'm not an expert that's just my way to manage exception ! I do not manage my exception in the same way as yours. First, if you want log exception and throw another exception, you may perhaps consider to use JBoss AOP interceptor in order not to make your source code more complex. Now

[jboss-user] [JBoss Portal] - Re: I can't see the tabs in my new portal.

2006-09-15 Thread mmontoni
Hi Peter, thank you very much for your promptly response. I will take a look on the things you mention. In the console nothing appears to be wrong. Also, I have another question I forgot to bring up in the previous email. The tabs are being organized by alphabetical order. I don't want that. I

[jboss-user] [JBoss Seam] - Re: Does injection perform standard JSF conversion?

2006-09-15 Thread adambrod
Doh! One more correction: @RequestParameter(managedFileId) | protected Long managedFileId; Not supposed to use regular JSF expressions if I'm using RequestParameter injection... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3972009#3972009 Reply to the

[jboss-user] [JBoss Portal] - Re: I can't see the tabs in my new portal.

2006-09-15 Thread mmontoni
Hi, this is very weird. I looked in the source of the html and the div id=navigation .. is not being displayed. Is not there. I wonder why this is happening...It hapens also if I deploy on jboss-portal.sar...Do you think it could be a bug in the SpringMVC portlet? Thanks, Mariella. View the

  1   2   >