[jboss-user] [JBoss jBPM] - Re: Is this a bug/weird coding/am I reading this wrong?

2007-04-15 Thread wjm
pjodev wrote : | Now it looks like it attempts to build the entire configuration from the default.jbpm.cfg.xml file which is giving me that Message.hbm.xml error What the hell is Message.hbm.xml? WHERE DO I USE IT? (see my other post!!!) | It appears the Message, TextMessage, and some

[jboss-user] [JNDI/Naming/Network] - Re: Accessing EJB through HTTPS Invoker

2007-04-15 Thread eeldor
Hi slevy, I've already solved this a while ago, but in any case - you're right. the configuration of RMI over HTTP can be done in the client side by setting the following properties: java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

[jboss-user] [EJB 3.0] - Re: EJB3 MDB One Implementation Multiple Deployments

2007-04-15 Thread jlowcock
So obvious when you take a step back from the problem. The deployment via the incomplete annotations is the problem. Thanks for the pointer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037352#4037352 Reply to the post :

[jboss-user] [JBoss Portal] - Re: I can't instantiate the InstanceImpl class.

2007-04-15 Thread [EMAIL PROTECTED]
It is not a public API and it is therefore subject to changes (improvements). Nevertheless instances are container managed object managed by the InstanceContainer. You need to inject it in your PortletContext. View the original post :

[jboss-user] [JBoss jBPM] - Re: Weird startup error when testing - orgm.jbpm.msg.Message

2007-04-15 Thread janvl76
Could it be that you're running jbpm-3.2 with a hibernate.cfg.xml from jbpm-3.1. The mapping file org/jbpm/msg/Message.hbm.xml isn't specified in the hibernate.cfg.xml distributed with jbpm-3.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037354#4037354

[jboss-user] [EJB 3.0] - EJB Timer service

2007-04-15 Thread mrchit_2000
Hello, I want to set a timer and a method to be invoked when timer expires periodically. When I have a session bean's method annotated with @Timeout, that method keeps being invoked repeatedly when Jboss starts up, even before the code create a Timer using TimerService. Is there a default

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-15 Thread dajevtic
chane, I'm glad you got it sorted out. However, you might want to consider not using bindings at all. To me they are actually the most useless feature of JSF... I actually didn't quite figure out why you are using the bindings at all?! View the original post :

[jboss-user] [EJB 3.0] - Re: Lazy byte array gets loaded on query

2007-04-15 Thread DGuralnik
Hello, I've got the same problem. But switching to a Blob attribute didn't help: it is still loading BLOB column in a query! I played with hibernate.bytecode.use_reflection_optimizer but got the same result. Another idea was calling hibernate's javassist instrument task during building the

[jboss-user] [Installation, Configuration Deployment] - JBoss 4.0.4 GA with EJB 3.0_RC-8-FD

2007-04-15 Thread dobpilot
Subject. Anybody, can help me. When i can deployment my ejb application jboss log this: at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

[jboss-user] [JBoss jBPM] - How to run a timer

2007-04-15 Thread s_aliakbary
Hi All I want to use timer for a task but I'm not sure about the way. I have added a timer to my task node(avan-task-node is extended from task-node), but it does not work. I expect that after 30seconds the node is leaved to someTransition | avan-task-node name=Review label=review |

[jboss-user] [JBoss Seam] - Re: Form submit using javascript and how to send to a handle

2007-04-15 Thread [EMAIL PROTECTED]
As no one could aswer this I totally re-designed the site. Not its broken down into lots of steps so that that there are lots of button presses that allow me to configure the next step. Seems a real issue that you cant just force a page submit because I want to redisplaythe page. I suppose

[jboss-user] [JBoss Seam] - Factory.. not being called when I first use the bean?

2007-04-15 Thread [EMAIL PROTECTED]
Is this correct as initCategories is not being called! I can call another routine in the bean and categoriesSet is empty. (I have run this with breakpoints and it is really not being called) | | @CacheConfig(idleTimeoutSeconds=1800) // This keep the object alive longer than the session.

[jboss-user] [JBoss Seam] - Re: Form submit using javascript and how to send to a handle

2007-04-15 Thread [EMAIL PROTECTED]
I did at one point just add a button called update to force a page re-fresh. When in immediate=false mode did not pass back the changes I made to the radio buttons (seems sensible) When in immedaite=true mode caused problems with s:convertEnum / complaining that it could not convert an Enum to

[jboss-user] [JBoss Seam] - Re: Factory.. not being called when I first use the bean?

2007-04-15 Thread [EMAIL PROTECTED]
anonymous wrote : | @Factory(categoriesSet) // Is run whenever this bean is created. | This is not what factory methods do. Check the docs, factories are used when a contextual variable needs to be resolved and it is null. You probably want @Create. View the original post :

[jboss-user] [JBoss jBPM] - Error deploying jpbm-console 3.2

2007-04-15 Thread chip_schoch
I downloaded jbpm 3.2 and ran the new mssql scripts to create the new schema. When I tried to deploy the jbpm-console.war in my JBossAs.4.0.5.GA (ejb3) installed server I get the following exception: | 2007-04-15 09:17:38,268 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC

[jboss-user] [Security JAAS/JBoss] - SSO between 2 JBoss instances

2007-04-15 Thread gmeroz
I'm running 2 JBoss instances on the same host. i tried to use SSO between them (by setting the Tomcat Valve parameter. the 2 isntances are configured exatcly the same (only ports are different). The SSO doesn't work - what am i missing here? View the original post :

[jboss-user] [JBoss jBPM] - Re: How to run a timer

2007-04-15 Thread s_aliakbary
Hi again According to some posts on this forum, I added these lines to my web.xml : | servlet | servlet-nameJbpmThreadsServlet/servlet-name | servlet-classorg.jbpm.web.JbpmThreadsServlet/servlet-class | load-on-startup1/load-on-startup |

[jboss-user] [EJB 3.0] - Many-to-Many and cascade pronlem ?

2007-04-15 Thread ericmacau
Hello, In the following code, User and Role. When I tried to remove User, it will remove all the roles in the ROLE that the user has and also all the related records in the USER_ROLE_LINK. For example, User u = new User(); Role a = new Role(A); Role b = new Role(B); // persist a and b

[jboss-user] [JNDI/Naming/Network] - jboss 4.2.0 JCA jndi error

2007-04-15 Thread alecsandru.chirosca
Hi all, I set up an application on Jboss AS 4.2.0 and encountered the following error : javax.persistence.PersistenceException: org.hibernate.cache.CacheException: javax.management.MalformedObjectNameException: Invalid character ':' in key part of propert The datasource is registered as:

[jboss-user] [JBossWS] - Re: SOAP Message with Body of any type

2007-04-15 Thread ltenmatay
Thanks! got it to work cause of your suggestion. Btw, my previous wasn't really clear. I wanted to create a soap service in which the body is dynamic. I have no choice since the wsdl I got defined it that way. Problem is that the classes i generated using wsconsume expected the first child

[jboss-user] [JBoss Seam] - Re: Large Data Tables in Seam - feedback welcome

2007-04-15 Thread chubby
This looks cool. I'm new to seam and have been mucking around with paging data models as well. Question: you said you use conversational scope. Do you create a long running conversation or do you just use the temporary one created for you? If long running, how do you end it when the user

[jboss-user] [JBossWS] - Soap with attachments

2007-04-15 Thread ltenmatay
Would like to know how to support soap message with attachments in jbossws 1.2.0 SP1. Do I need to define multipart section in my wsdl? The wsdl i got didn't specify any mime sections. I created my own provider. Whenever I send a soap with attachment, the jboss will throw a timeout error

[jboss-user] [JBoss Seam] - Re: Large Data Tables in Seam - feedback welcome

2007-04-15 Thread chubby
Well, I think I solved my own problem. I was able to use the temporary conversation after all. My problem was that I was using s:link for my row level commands instead commandLink. I read in another post that s:link does submit the form, etc. None the less, I am curious as to how you went

[jboss-user] [JBoss Seam] - Re: Having problems looking up a Seam component in the JNDI

2007-04-15 Thread c_inconnu
8 wrote : I asked the same question in the EJB3 forum a while back and I didn't get a reply there either. I did not make any progress on this issue (and abandoned it). So unfortunately, I can't offer much help... Thanks... Anyone from the Seam team ? Please ? View the original post :

[jboss-user] [Security JAAS/JBoss] - AccessControlException when looking up TopicConnectionFactor

2007-04-15 Thread ossah
Jboss-4.0.5.GA Hi there, I'm trying to subscribe to to a topic with a client (not running in jboss). However, a lookup results in a: AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve) I can lookup the remote interfaces, so I suspect that this is

[jboss-user] [JBoss Seam] - Can't use FacesMessages.addToControl from Drools within Page

2007-04-15 Thread knave_kilork
Hi First, sorry for my bad english. I'm getting some troubles with adding message to particular control on ajax4jsf-using page. It looks like this. I click button on page, it use pageflow to run some drools, each of them can add messages to control (like validation), but messages appears as

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Container uses different table name

2007-04-15 Thread jocky4
Hi JBoss, I'm trying to deploy an old ear (developped 5 years ago) on a JBOSS 4.2.0-CR1. After updating few jars (mysql driver, xerces, ...) my deployment succeed. So I tried to use my application but it doesn't want to work : I can't log on my web site even if user I used was well present in

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-15 Thread chane
I was using the bindings more because that was the example of how to use the dialogs with the Trinidad documentation. If I didn't want to use bindings (which I don't really have a preference), how can I update the field on the calling page from the dialog selection. How do you use dialogs?

[jboss-user] [JBoss Portal] - New Portal User. So Many Options. Which to use?

2007-04-15 Thread [EMAIL PROTECTED]
I am a new Developer starting to work with JBoss Portal. There seem to be so many different options and combinations. Can someone with a little exprience with portal please advise. Here is a little background. Test OS is Windows but production (3 months from now) will Sun or Linux. Database

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-15 Thread dajevtic
Mainly I use the following class for consistent dialog handling for trinidad: package de.livemediagroup.dialog; | | import java.util.Hashtable; | import java.util.Map; | | import org.apache.myfaces.trinidad.context.RequestContext; | import

[jboss-user] [EJB 3.0] - I need a hello world example

2007-04-15 Thread cs02rm0
I'm just looking for the most simple example - perhaps a single hello world method in a stateless session bean with an ant script to build it and preferably an example of how to call it, but I just can't find one anywhere - any suggestions? Thanks. View the original post :

[jboss-user] [EJB 3.0] - Re: I need a hello world example

2007-04-15 Thread cs02rm0
http://docs.jboss.org/ejb3/app-server/tutorial/stateless/stateless.html looks good, but where's the build script it mentions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037391#4037391 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag

2007-04-15 Thread alexg79
Ok, I've been busy trying to figure out WTF is wrong with this. According to my research, Ajax4JSF + Facelets = bust. I created a very simple page with one managed bean, no Seam involved. a4j:commandLink causes an error message if Facelets is involved, but works fine on the corresponding JSP

[jboss-user] [JBoss Seam] - Re: Having problems looking up a Seam component in the JNDI

2007-04-15 Thread [EMAIL PROTECTED]
anonymous wrote : | java:comp/env/ejb/TestConnectionBean/local | This just not the right JNDI lookup to get a remote EJB handle. I'm not sure what the right lookup is (definitely not with an ENC prefix) and if the old E-EJB3 container even supports remote JNDI/remote EJBs. I don't think

[jboss-user] [JBoss Seam] - Re: Having problems looking up a Seam component in the JNDI

2007-04-15 Thread [EMAIL PROTECTED]
The newer Embedded JBoss5 container supports remote EJB/JNDI by the way, check the wiki. Now we only need a release of this and someone who will update all the Seam examples and the testing framework :) View the original post :

[jboss-user] [JBoss Seam] - Scope and Best Practices

2007-04-15 Thread chubby
Hello, I'm very new to Seam and have been searching around the documentation and forums for some guidelines and best practices with regard to component scope. The documentation mentions in several places that SESSION scope is frowned upon and/or used sparingly. Yet, nearly all the examples

[jboss-user] [EJB 3.0] - Re: I need a hello world example

2007-04-15 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=StarterSkeletonEclipseProject View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037401#4037401 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037401

[jboss-user] [JBoss Seam] - Re: Scope and Best Practices

2007-04-15 Thread fhh
anonymous wrote : | I can see how its not scalable to keep a large data model in memory for the duration of a user's session, but it seems equally non-scalable to query the database each time the user interacts with the page it supports. | I consider both bad practice. You should only

[jboss-user] [EJB 3.0] - Re: Many-to-Many and cascade pronlem ?

2007-04-15 Thread fhh
anonymous wrote : When I tried to remove User, it will remove all the roles in the ROLE that the user has and also all the related records in the USER_ROLE_LINK. | I would say this is the expected behavoiour. You asked to remove the user and all of his roles. anonymous wrote : | And how

[jboss-user] [Messaging, JMS JBossMQ] - Re: Using CsIL

2007-04-15 Thread fawce
Hi Markus, The sample application has been added to cvs, along with some instructions for use. I also added a new binary download that includes the new samples and instructions. You should be able to use the sample application to validate your jboss configuration. I tried to put everything

[jboss-user] [JBoss Seam] - Re: Scope and Best Practices

2007-04-15 Thread petemuir
I used your questions to create a wiki entry - http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamScopeFAQ and merged in Felix's answers as well View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037405#4037405 Reply to the post :

[jboss-user] [JBoss Seam] - Need help on deploying seam-mail example!

2007-04-15 Thread gus888
Hi there, I tried to deploy the mail example of Seam-CVS20070414 into JBoss4.0.5GA, but I always got the following exceptions. Any guidance will be very appreciative. Thank you very much in advance. org.jboss.deployment.DeploymentException: url

[jboss-user] [JBoss Seam] - Re: Scope and Best Practices

2007-04-15 Thread chubby
Thank you for the prompt response and for the Wiki! I've been working on a paging and sortable datatable view, but kept fumbling around with parameters (firstRow, noRows, sort column, etc) and how best to pass them around/scope them. I landed on a temporary conversation and using page

[jboss-user] [JBoss Seam] - Re: Need help on deploying seam-mail example!

2007-04-15 Thread petemuir
Seam CVS is now running on JBoss 4.2.0.CR1. The snapshot you mention should be fine, but take todays to be on the safe side. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037408#4037408 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Need help on deploying seam-mail example!

2007-04-15 Thread gus888
Hi Peter, Thank you so much for the quick reply. I will try it on JBoss4.2.0CR1. Thanks again. Best regards, Gus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037410#4037410 Reply to the post :

[jboss-user] [EJB 3.0] - Many-to-Many problem

2007-04-15 Thread ericmacau
Hi, I tried to use CascadeType.REMOVE, but it got the same result. I just want to remove the USER and its relationship when removing a user. Please help, I tried many ways but also failed. Best regards, Eric View the original post :

[jboss-user] [EJB 3.0] - Re: Many-to-Many problem

2007-04-15 Thread ericmacau
SORRY, SEND A WRONG MESSAGE ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037412#4037412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037412 ___ jboss-user mailing list

[jboss-user] [EJB 3.0] - Re: Many-to-Many and cascade pronlem ?

2007-04-15 Thread ericmacau
Hi, I tried to use CascadeType.REMOVE, but it got the same result. I just want to remove the USER and its relationship when removing a user. Please help, I tried many ways but also failed. Best regards, Eric View the original post :

[jboss-user] [EJB 3.0] - Re: Where does stateful session bean's state kept?

2007-04-15 Thread thejavafreak
So it doesn't use HttpSession on the underlayer? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037414#4037414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037414 ___ jboss-user

[jboss-user] [JBoss jBPM] - Re: questions about GPD

2007-04-15 Thread fanacylife
good,thank you very much View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037415#4037415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037415 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Problems with extended EL syntax.

2007-04-15 Thread Delphi's Ghost
Here's my take on it, I'm not a seam expert, but I have had my fair share of these types of problems. However, trying some or all of these ideas may help you out. I believe that the standard JSF way of accessing a list (i.e. MyBean.myList) isn't good enough for the enhanced EL syntax, nor for

[jboss-user] [Security JAAS/JBoss] - Re: AccessControlException when looking up TopicConnectionFa

2007-04-15 Thread ossah
Ok, I figured it out. The solution for those facing the same problem: Make sure jboss-client.jar and jbossmq-client.jar are in your classpath and DO NOT set a security manager. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037417#4037417 Reply to the post

[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag

2007-04-15 Thread fernando_jmt
alexg79 wrote : According to my research, Ajax4JSF + Facelets = bust. I disagree with you here. Facelets is a great technology to build the view on JSF applications, And Ajax4JSF is another one to AJAXify a JSF application. I know sometimes when something does not work like we want, we look

[jboss-user] [Installation, Configuration Deployment] - Re: Jboss install

2007-04-15 Thread jgayathri
/* * SessionTestServlet.java * */ package test.session; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import javax.naming.*; import javax.rmi.PortableRemoteObject; /** * @author Deepak Kumar * @Web http://www.roseindia.net * @Email [EMAIL

[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag

2007-04-15 Thread fernando_jmt
Oops, typo, the problem not only was an 's' it was namespace URL at all (https://). This sometimes happen ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037420#4037420 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Unable to locate NamespaceHandler for namespace [http://

2007-04-15 Thread tiwaryamit
No Mike. Not happening. And then, I am not able to run the Spring Example on jboss-4.0.5.GA. Please help sir. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037421#4037421 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Re: Jboss install

2007-04-15 Thread jgayathri
I have found the problem. i don't know how to resolve it. The JDK which i have installed is jdk1.0.5_11 In this rt.jar has 2 Portable object classes at 1.at com.sun.corba.se.impl.javax.rmi.PortableRemot eobject.narrow(PortableRemoteObject.java:229) 2.at

[jboss-user] [EJB 3.0] - Re: Where does stateful session bean's state kept?

2007-04-15 Thread bakr.awad
Well it is kept at server side by the container, and it managed by the client through sessions. As the user the user request a stateful session bean a unique id is created for him at the server side and when he request it again he uses this id. that's all!!! View the original post :

[jboss-user] [JBossWS] - java.sql.SQLException: File input/output error: Unexpected

2007-04-15 Thread bittu.arvind
Hi all, i am new in this area. i have installed netbeans ide 5.5 daily bundled with jboss-4.0.4, when i am strting the jboss server using netbeans run time tab, i am geeting following error. === . JBoss Bootstrap