[JBoss-user] [JBossWS] - addHeaderElement and simple names

2006-03-25 Thread andrewtv
Should addHeaderElement in SOAPHeader in latest CVS head allow for simple local named items (i.e. soapEnvelope.createName("name") instead of the 3 parameter one)? It seems to mandate a URI and prefix, and there are some web services out there that use simple named header entries (if you give it

[JBoss-user] [EJB 3.0] - Re: compiling

2006-03-25 Thread asack
Your default CLASSPATH and obviously the ejb3 jars from the EJB3 deployer (under your deploy directory). Have you looked at the JBoss IDE for Eclipse? I've used that with a lot of success (great project) and provides already configured EJB3/AOP libraries for you to use to include in your proje

[JBoss-user] [EJB 3.0] - Re: JMX and EJB3 compatibility

2006-03-25 Thread asack
"[EMAIL PROTECTED]" wrote : No, they have no relation. You can create an mbean that interacts with an ejb3 component and visa-versa, but it makes no sense to expose an ejb3 bean via jmx because the lifecycles do not match. Scott, first off, thanks for the response. I would like to explore this

[JBoss-user] [EJB 3.0] - Re: Are EJB3 Stateless Session beans as boneheaded as they l

2006-03-25 Thread treespace
They were going to use Foo and Bar as the defaut binding names but a preliminary study exposed the strategy as sub-optimal for implementations that were neither single nor dual-bean in nature. The class name seemed like a suitable, portable, default. Reasonable or not, I was also visibly upset

[JBoss-user] [EJB 3.0] - Re: Default JoinColumn name

2006-03-25 Thread treespace
Thanks Emmanual. I found the specification sections you are referring to: 2.1.8.4.0 2.1.8.5.1 2.1.8.5.2 BTW, nice introduction here for anybody else wading (plunging in fact) in to EJB 3.0 as I am: http://www.ejb3workshop.com/presentation/EJB3Introduction.pdf View the original post : http:/

[JBoss-user] [JBoss Seam] - Re: Seam reverse engineering tool

2006-03-25 Thread aristide
Gavin, I try all day but I can´t to do it. How I upgrade nightly build of Hibernate Tools at JBoss Ide 1.5. Sorry if the question is so basic. Thanks or your support. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932650#3932650 Reply to the post : http://w

[JBoss-user] [EJB 3.0] - Re: Are EJB3 Stateless Session beans as boneheaded as they l

2006-03-25 Thread [EMAIL PROTECTED]
While you deserved the thrashing that Gavin and Bill just gave you :-), I'll be a little more diplomatic. The example you gave only relies on the classname of the bean because that's the default naming convention (if you don't name it yourself). If you can come up with a more rational, common-

[JBoss-user] [JBoss Portal] - Re: [HELP] File Upload Question

2006-03-25 Thread andytsoy
I have fixed the problem. In JBoss Portal 2.2 . It has implement the commons-fileupload.jar. The only thing is to call u . In the jsp, Use ActionURL In the portlet core, it will call processAction method. You can take a reference of the code in JBoss portal 2.2 cms portlet. Thx! View the ori

[JBoss-user] [JBoss Seam] - Re: redirection problem

2006-03-25 Thread SunFire
hm, what is that thing actually good for? ok well besides redirecting stuff. ;) Whats the impact if I'd turn it off? Is it just appending the conversationId to all kinds of URLs? btw: can't tell you guys how much I appreciate your extremly fast responses all the time! Big big thanks for that! :

[JBoss-user] [JBoss Seam] - Re: problems with jboss-seam-booking example

2006-03-25 Thread vlad_oz
Hi.. sorry for the late reply. Yes, the application compiles and deployes with no errors. The database wasn't configured, so I've done that. Getting a different error now (any idea what that could mean?): Thanks for your help, much appreciated javax.faces.FacesException: Error calling action meth

[JBoss-user] [Performance Tuning] - Linux or Window for JBoss web application?

2006-03-25 Thread javatwo
Hi, For running a web application deployed on JBoss/J2EE using Hibernate, JSF and MySQL, which platform should I choose for better performance? Linux or Windows XP? MySQL will be running on the same machine as JBoss. What is minimum memory requirement for reasonal performance for 10,000 reques

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error trying to deploy a .ear file

2006-03-25 Thread green-cat-fed
hi i am getting the same error message..i tried to follow the same way as it is told in the getting started guide.. iam just using ant as described..but i got deployment problem. i am using jboss-4.0.4RC2...is this server has any problem?? 01:20:42,288 WARN [verifier] EJB spec violation: Bean

[JBoss-user] [Beginners Corner] - where can newbies start?

2006-03-25 Thread rbg
Hi, first and foremost i would like to state that i have absolutely no experience programming other than an introduction to visual basic course that i took years ago. I would like to get into the programming field, and have a friend who once advised that i learn jboss, or websphere and weblogi

[JBoss-user] [EJB 3.0] - Re: persistence.xml

2006-03-25 Thread elkner
For test environment OK. But for production (i.e. when I'm sure, everything is fine), I do not want to have a ... fetching something from somewhere (even if it is a schema, only) and slowing down the things by validating already validated stuff ... View the original post : http://www.jboss.com

[JBoss-user] [JBoss Seam] - redirection problem

2006-03-25 Thread SunFire
hi there, I have a little issue with dynamic redirection from within my component. In my component I construct the following URL https://some.site.somewhere/index.php?param1=value1¶m2=value2 and try to redirect the client like this ... | HttpServletResponse response = (HttpServletResponse)face

[JBoss-user] [JBoss Seam] - Re: redirection problem

2006-03-25 Thread [EMAIL PROTECTED]
Heh, funnily enough I fixed the ? -> & problem earlier today and already committed it to CVS. Right now there is no way to get rid of the conversationId parameter except by removing the SeamRedirectFilter from web.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[JBoss-user] [EJB 3.0] - Re: how to auto-bind to a session after the entity becomes u

2006-03-25 Thread epbernard
managedObject = em.merge(detachedObject); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932640#3932640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932640 --- Th

[JBoss-user] [EJB 3.0] - compiling

2006-03-25 Thread kaoslecek
hello i'm a new bie? anyone can help me how to compile ejb3 file what classpath that i need to compile source ejb3: the source like this import javax.ejb.Stateless; @Stateless public class HelloWorldEJB3 implements HelloWorld { public void greeting( String pName ) { System.out.println( "Hello " + p

[JBoss-user] [EJB 3.0] - Re: DOS issue - DefaultUncaughtExceptionHandler needs to be

2006-03-25 Thread elkner
Hmm, already fixed that stuff and have no ex. handy anymore. If I'm remember correctly, I created a Thread (more or less long running task) from within a bean and within the thread I got an NPE ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932637#39326

[JBoss-user] [JBoss Seam] - Using seam with myfaces ajax components.

2006-03-25 Thread grig77cristi
Hi all, I have tried to use myfaces inputSuggestAjax componet and is not working. Is working fine without seam. Please help me. Thanks very much, Cristi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932641#3932641 Reply to the post : http://www.jboss.co

[JBoss-user] [EJB/JBoss] - Re: Pooling and caching stateful session bean

2006-03-25 Thread KBillewicz
One more thing. When I'm deleting tags responsible for container configuration ( and ) everything works great (but I don't have control over pooling). Best regards, Konrad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932634#3932634 Reply to the post : h

[JBoss-user] [JBoss Seam] - Re: I get Exception : No active application scope , how to r

2006-03-25 Thread [EMAIL PROTECTED]
cheers . Seam is one first framework after Struts that i am very eager to learn and use. Thank you guy for this great product. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932633#3932633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.2.1RC3 with JBoss AS 4.0.4RC1

2006-03-25 Thread christophe.laumond
Thanks for your help Roy. I got your comments anonymous wrote : Notes on creating a dev env: | | After installing AS404rc1 w/ ejb3 mod. You need to add the following to the default config for portal to deploy: | | 1. mail jars. mail-service.xml | 2. bsh jars, bsh service | 3. b

[JBoss-user] [JBoss Seam] - Re: I get Exception : No active application scope , how to r

2006-03-25 Thread [EMAIL PROTECTED]
I did not originally plan a beta3, but my inclination is now to do one sometime in the next week or so. Let's see how we go... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932631#3932631 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[JBoss-user] [EJB/JBoss] - Pooling and caching stateful session bean

2006-03-25 Thread KBillewicz
I would like to turn on pooling for my stateful session bean. When I'm trying to configure with pooling but without cache I'm getting during bean deployment on server an error that is required. Whem I'm configuring cache, getting an exception (on the standalone client) during executing crea

[JBoss-user] [EJB/JBoss] - Re: Using external EJB reference

2006-03-25 Thread [EMAIL PROTECTED]
An ejb-ref with a ref-name of "ejb/myBean" should be looked up using | new InitialContext().lookup("java:comp/env/ejb/myBean"); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932629#3932629 Reply to the post : http://www.jboss.com/index.html?module=

[JBoss-user] [Installation, Configuration & Deployment] - Re: share library between jboss lib folder and tomcat war li

2006-03-25 Thread [EMAIL PROTECTED]
jar in the server lib dir are shared by all applications. The exception is most likely due to an application not handling this correctly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932628#3932628 Reply to the post : http://www.jboss.com/index.html?module

[JBoss-user] [EJB 3.0] - Re: persistence.xml

2006-03-25 Thread epbernard
Switching the validation off is dangerous actually cause the way HEM and JBoss EJB3 parse the file makes the schema errors transparent and very hard to track down View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932627#3932627 Reply to the post : http://www.j

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: #include virtual comand not working in JBoss

2006-03-25 Thread [EMAIL PROTECTED]
Servlet filter that parses the page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932626#3932626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932626 --- This SF.

[JBoss-user] [Beginners Corner] - Re: UDP Server

2006-03-25 Thread [EMAIL PROTECTED]
You can leverage a jboss supplied thread pool: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigBasicThreadPool Or go crazy and create a JCA rar. See the resources section here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCA View the original post : http://www.jboss.com/index.html?module=bb&op

[JBoss-user] [JBoss Seam] - Re: I get Exception : No active application scope , how to r

2006-03-25 Thread [EMAIL PROTECTED]
Thank you very much. I am fetching files from CVS right now. btw , will you release another beta or next step is seam final version? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932624#3932624 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[JBoss-user] [EJB 3.0] - Re: DOS issue - DefaultUncaughtExceptionHandler needs to be

2006-03-25 Thread [EMAIL PROTECTED]
An NPE should not result in an uncaught exception. Create a jira issue describing how this occurs. http://jira.jboss.com/jira/browse/EJBTHREE View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932622#3932622 Reply to the post : http://www.jboss.com/index.html?mo

[JBoss-user] [EJB 3.0] - Re: JMX and EJB3 compatibility

2006-03-25 Thread [EMAIL PROTECTED]
No, they have no relation. You can create an mbean that interacts with an ejb3 component and visa-versa, but it makes no sense to expose an ejb3 bean via jmx because the lifecycles do not match. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932621#3932621 R

[JBoss-user] [EJB/JBoss] - Re: HttpClient 3.0

2006-03-25 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932620#3932620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932620 ---

[JBoss-user] [Installation, Configuration & Deployment] - Re: Access from internal network only, how?

2006-03-25 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=VirtualHosts is one way View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932619#3932619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932619

[JBoss-user] [Security & JAAS/JBoss] - Re: Digest Authentication with JBOSS

2006-03-25 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=DIGESTAuth View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932618#3932618 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932618 -

[JBoss-user] [EJB/JBoss] - Re: Error Jboss 4.0.2

2006-03-25 Thread [EMAIL PROTECTED]
The client has out of date libraries View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932617#3932617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932617 --- This SF.

[JBoss-user] [Security & JAAS/JBoss] - Re: @SecurityDomain Annotation clarification.

2006-03-25 Thread [EMAIL PROTECTED]
That is like asking why java.util.ArrayList does not the same as com.acme.ArrayList. There are two completely different types even if they happen to look the same. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932616#3932616 Reply to the post : http://www.

[JBoss-user] [EJB/JBoss] - Re: Questions about stateless session bean life cycle from c

2006-03-25 Thread [EMAIL PROTECTED]
That description only applies to stateful beans. stateless beans have no such restriction. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932615#3932615 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932615 -

[JBoss-user] [EJB/JBoss] - Re: setEntityContext method in EntityBean EJBs.

2006-03-25 Thread [EMAIL PROTECTED]
There is no implementation of EJBContext.getEnvironment in ejb1.1 and latter. You need to obtain environment entries by looking them up from the java:comp/env JNDI context. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932614#3932614 Reply to the post : h

[JBoss-user] [JBoss Eclipse IDE (users)] - Cant see XDoclet Configurations in my eclipse

2006-03-25 Thread aliasdar777
Hi, I am developing an Struts EJB application using Eclipse and Jboss following this tutorial. http://www.devx.com/Java/Article/21065/0/page/4 When i Right click on your project StrutsEJBTutorial in the package explorer, click properties, i dont see XDoclet Configurations. why is it so? View the

[JBoss-user] [Installation, Configuration & Deployment] - Re: tomcat55 port conflict using ServiceBindingManager to un

2006-03-25 Thread [EMAIL PROTECTED]
The installer version does not start the binding service early enough in 4.0.3SP1. Use the zip version or move the binding-service.xml mbean into the server conf/jboss-service.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932612#3932612 Reply to the pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: confused by the configure of SecurityManager Topic.

2006-03-25 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQSecurity View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932611#3932611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932611 --

[JBoss-user] [EJB 3.0] - Two persistence-unit ...

2006-03-25 Thread [EMAIL PROTECTED]
Hello, I try to have two use two different DB in my EJB Tier. I have my persistence.xml : | | http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml

[JBoss-user] [JBoss Seam] - Re: I get Exception : No active application scope , how to r

2006-03-25 Thread [EMAIL PROTECTED]
You *must* use current Seam CVS if you want to run with the JSF RI. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932609#3932609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932609

[JBoss-user] [EJB 3.0] - Re: How to pass object of web tier to slsb in ejb tier

2006-03-25 Thread gus888
Thank you so much Scott! GUS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932608#3932608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932608 --- This SF.Net e

[JBoss-user] [Beginners Corner] - IMP:deploy error

2006-03-25 Thread fundoo2
i have created a servlet,compiled it and put the class file in C:\jboss-4.0.4RC1\server\default\deploy in the following hierarchy. basic\bin\com\myapp and put the .xml file in basic\build\classes\WEB-INF when i'm trying to run it in the browser error occurs. please help. thanks View the ori

[JBoss-user] [Installation, Configuration & Deployment] - Re: Jboss server on suse under vmware

2006-03-25 Thread [EMAIL PROTECTED]
No idea. Use google or ask someone with experience with the jdk/os combo. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932606#3932606 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932606 ---

[JBoss-user] [Beginners Corner] - Re: JBoss 3.2.3

2006-03-25 Thread [EMAIL PROTECTED]
You need jboss-4.0.x View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932605#3932605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932605 --- This SF.Net email is spo

[JBoss-user] [EJB 3.0] - Re: persistence.xml

2006-03-25 Thread elkner
Or just to switch validation off ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932603#3932603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932603 --- This SF.Ne

[JBoss-user] [Beginners Corner] - Re: Javadocs

2006-03-25 Thread [EMAIL PROTECTED]
Use the all target. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932604#3932604 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932604 --- This SF.Net email is spon

[JBoss-user] [Beginners Corner] - Re: can I use a dom structure in the servlet and an EJB wit

2006-03-25 Thread [EMAIL PROTECTED]
Yes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932602#3932602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932602 --- This SF.Net email is sponsored by xPML,

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: NPE when closing connection

2006-03-25 Thread [EMAIL PROTECTED]
When the 4.0.4.CR2 roadmap issues are resolved it will be released. There are no plans for a 3.2.8SP2 in the near future currently. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932601#3932601 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[JBoss-user] [Installation, Configuration & Deployment] - Re: Jboss server on suse under vmware

2006-03-25 Thread grypho0
Thanks for you answer but what jdk that I will used to solve that problem for suse 10 on vmware? Because we test the possibility to mount a virtualisation server with Jboss server and Suse. Thanks Alex View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932600#3

[JBoss-user] [JCA/JBoss] - Re: Throwable while attempting to get a new connection: nul

2006-03-25 Thread [EMAIL PROTECTED]
The exception indicates the problem is at the database server/driver level as the connection is refused. Its not a jboss issue based on that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932599#3932599 Reply to the post : http://www.jboss.com/index.html?mo

[JBoss-user] [EJB 3.0] - Re: How to pass object of web tier to slsb in ejb tier

2006-03-25 Thread [EMAIL PROTECTED]
Just put the shared classes in the ejb jar or a jar it references. http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932598#3932598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[JBoss-user] [EJB 3.0] - Re: simple stateful session bean classcast exception

2006-03-25 Thread [EMAIL PROTECTED]
The war should not have the interfaces when using the default war first class loading mode as this results in inconsistent types. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932596#3932596 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: can not catch exception thrown by EJB in a servlet

2006-03-25 Thread [EMAIL PROTECTED]
Start here: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932595#3932595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932595 ---

[JBoss-user] [EJB 3.0] - Re: java.lang.RuntimeException with deploy (setting of persi

2006-03-25 Thread epbernard
there should b some error printed before this stack trace. something related to the failing of the EMF deployment View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932593#3932593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [EJB 3.0] - Re: Configuring SEAM test with junit

2006-03-25 Thread epbernard
I can't remember when we switched to the nexw persistence.xml version. Wich one works when you deploy it in your app? (Not in junit) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932592#3932592 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[JBoss-user] [EJB 3.0] - Re: EJB 3.0 Default Naming Strategy

2006-03-25 Thread epbernard
you can use hibernate.ejb.naming_strategy to provide your implementation the default one is org.hibernate.cfg.EJB3NamingStrategy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932591#3932591 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[JBoss-user] [EJB 3.0] - Re: Default JoinColumn name

2006-03-25 Thread epbernard
right this is category_id This is written in the EJB3 spec (the pdf named persistence). Ask the expert group if you want a colored version ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932590#3932590 Reply to the post : http://www.jboss.com/index.html?m

[JBoss-user] [EJB 3.0] - Re: one-to-many unidirectional persistence does not create p

2006-03-25 Thread epbernard
JBoss code does update the FK column. there is probably something wrong in your code/annotations View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932589#3932589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932589 ---

[JBoss-user] [EJB 3.0] - Re: @PrimaryKeyJoinColumns is disallowed annotation

2006-03-25 Thread epbernard
I've added FIELD and METHOD ot the annotation target in SVN trunk View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932588#3932588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932588 ---

[JBoss-user] [EJB 3.0] - Re: The pk value from TableGenerator

2006-03-25 Thread epbernard
I don't really understand your problem, can you rephrase it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932587#3932587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932587 -

[JBoss-user] [EJB 3.0] - Re: Runtime change of @Where clause

2006-03-25 Thread epbernard
ah, I'm going to give it to you anyway ;-) So use an Hibernate Filter, this is some kind of additional where clause that you can enable or disable at runtime. you also can use more than one filter at a given time View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[JBoss-user] [EJB 3.0] - Re: Runtime change of @Where clause

2006-03-25 Thread epbernard
Will you pay me a beer if I give you the feature you want? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932585#3932585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932585 --

[JBoss-user] [EJB 3.0] - Re: EntityManager injection is thread safe?

2006-03-25 Thread epbernard
session beans are pooled, so you set the number of SLSB instances available in it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932584#3932584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932584 --

[JBoss-user] [EJB 3.0] - Re: @JoinTable - table contents being cleared when a new obj

2006-03-25 Thread epbernard
show us the code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932583#3932583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932583 --- This SF.Net email is sponsor

[JBoss-user] [EJB 3.0] - Re: SLSB Facade in front of Entity?

2006-03-25 Thread epbernard
these are wrappers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932582#3932582 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932582 --- This SF.Net email is spons

[JBoss-user] [EJB 3.0] - Re: Mass Data Association Mapping / Finding

2006-03-25 Thread epbernard
you should rather map it bidirectional otherwise "select stock from Warehouse w join w.stocks stock where stock.whatever > :whatever and w = :currentWarehouse" em.createNamedQuery("myquery").setParameter("whatever", whatever).setParameter("currentWarehouse", myWarehouse).getResultList(); View

[JBoss-user] [JBoss jBPM] - Re: jBPM deployment in JBoss ALL config (web services includ

2006-03-25 Thread ken1
Great! It works, thank you! Ken View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932580#3932580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932580 --- This SF.Net e

[JBoss-user] [EJB 3.0] - Re: encapsulate entity beans?

2006-03-25 Thread epbernard
DTO are no longer useful except for specific cases where for eg you don't want only a small subset fo the object information (like a search screen showing only a summary of the object proeprties). If you use JSF and EJB3, I strongly encourage you to check JBoss Seam, you'll have more time to sp

[JBoss-user] [EJB 3.0] - Re: URGENT: My SubQuery not working in JBoss 4.0.3SP1 & JBos

2006-03-25 Thread epbernard
wrong forum, go to the CMP forum, EJB3 does not use the CMP engine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932578#3932578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932578 --

[JBoss-user] [EJB 3.0] - Re: Looking for Best Practices on relation cascading options

2006-03-25 Thread epbernard
might be slower esp on reattachment does not always make sense to cascade an association form a business perspective. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932576#3932576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[JBoss-user] [EJB 3.0] - Re: persistence.xml

2006-03-25 Thread epbernard
The proper fix though is to use a schema def http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; version="1.0"> View the

[JBoss-user] [JBoss Portal] - Re: localization

2006-03-25 Thread gedel
thomas, is right? :http://jira.jboss.org/jira/browse/JBPORTAL-768?page=all View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932573#3932573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932573 --

[JBoss-user] [JBoss AOP] - Re: targetObject and typedTargetObject?

2006-03-25 Thread [EMAIL PROTECTED]
The AWT actions happen in another thread so you end up with two call stacks. Consider chainging to something like: |public Object authenticationAdvice(Invocation inv) throws Throwable |{ | this.invocation = inv; | System.out.print("authentication advice: "); |

[JBoss-user] [EJB 3.0] - Re: Let @PrimaryKeyJoinColumns can annotated method and fiel

2006-03-25 Thread epbernard
This is fixed in SVN already but not really property implemented View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932571#3932571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932571

[JBoss-user] [EJB 3.0] - Re: Error deploying ejb3.0 test

2006-03-25 Thread [EMAIL PROTECTED]
I don't think META-INF is scanned. Put your ds file at the top level of the jar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932570#3932570 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932570 --

[JBoss-user] [EJB 3.0] - Re: Are EJB3 Stateless Session beans as boneheaded as they l

2006-03-25 Thread [EMAIL PROTECTED]
@Stateless(name="ImAnIdiotCauseICantSpell") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932569#3932569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932569 --- T

[JBoss-user] [EJB 3.0] - Re: Are EJB3 Stateless Session beans as boneheaded as they l

2006-03-25 Thread [EMAIL PROTECTED]
@Stateless(name="YourAnIdiot") public class MyBean implement My {...} // remote client My my = (My)jndi.lookup("YourAnIdiot/remote"); // Refereneced @EJB My my; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932568#3932568 Reply to the post : http://w

[JBoss-user] [EJB 3.0] - Re: Exception is thrown when large number of records is retu

2006-03-25 Thread epbernard
set hibernate.cglib.use_reflection_optimizer=false for more info you need to do it through a java property though java -D hibernate.cglib.use_reflection_optimizer=false View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932566#3932566 Reply to the post : http:/

[JBoss-user] [JBoss Seam] - Re: Modifying Hibernate validator msgs

2006-03-25 Thread epbernard
I did have a bug regarding the way ValidatorMessages was loaded. This will be fixed in the next release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932565#3932565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39325

[JBoss-user] [EJB/JBoss] - Re: Implementing Deployment Bootstrap

2006-03-25 Thread dsteinwe
Sorry for my inaccurate problem description. My problem isn't to write a client authentication. You can find a lot of examples for this topic. I'm very interessed in the point to make a client authentication without storing any informations of it together with the other authentication data in th

[JBoss-user] [EJB/JBoss] - Re: Implementing Deployment Bootstrap

2006-03-25 Thread [EMAIL PROTECTED]
The same as any client trying to access a secured ejb. Do a jaas login to set the caller identity. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932558#3932558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932558 -

[JBoss-user] [Installation, Configuration & Deployment] - Re: Security: avoid a user to navigate through JBoss directo

2006-03-25 Thread [EMAIL PROTECTED]
Disable directory listings by setting the jbossweb-tomcat55.sar/conf/web.xml default servlet listings param to false: | | default | org.apache.catalina.servlets.DefaultServlet | | debug | 0 | | | listings |

[JBoss-user] [Security & JAAS/JBoss] - Re: My LoginModule needs more than just j_username and j_pas

2006-03-25 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=CustomizingSecurityUsingValves still applies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932556#3932556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932556 -

[JBoss-user] [Installation, Configuration & Deployment] - Re: Jboss server on suse under vmware

2006-03-25 Thread [EMAIL PROTECTED]
The jdk java.net.InetAddress.getLocalHost call is broken on this os/jdk combination then. This is a java jdk issue that needs to be resolved independent of jboss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932555#3932555 Reply to the post : http://www.j

[JBoss-user] [EJB 3.0] - Re: EJB3 installation errors

2006-03-25 Thread [EMAIL PROTECTED]
Use jdk5 as has been stated in this thread. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932554#3932554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932554 --- T

[JBoss-user] [JBoss Seam] - Re: I get Exception : No active application scope , how to r

2006-03-25 Thread [EMAIL PROTECTED]
so far , i find this issue https://glassfish.dev.java.net/issues/show_bug.cgi?id=290 in glassfish issuzilla . i am following to find the solution to deploy seam on glassfish :-) is there any plan for another beta build of seam ? Thanks View the original post : http://www.jboss.com/index.html?mo

[JBoss-user] [JBoss Seam] - Re: I get Exception : No active application scope , how to r

2006-03-25 Thread [EMAIL PROTECTED]
HI , I am using seam 1.0 beta 2 I am trying to deploy it on Glassfish. GlassFish has jsf-ri builtin to itself , but i bundled myfaces that come with seam distrobution with my application. i still can not resolve what is going wrong . i am trying to find something in glassFish forum , and if i fi

[JBoss-user] [JBoss Portal] - CMS Portlet

2006-03-25 Thread patrickdalla
Is the CMS Portlet of 2.2 JSR-168 compliant? Can I deploy him in portal 2.0? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932544#3932544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932544 ---

[JBoss-user] [Security & JAAS/JBoss] - Digest Authentication with JBOSS

2006-03-25 Thread ushakv
Hi all, I am learning to use JBOSS for deploying secured web application. I was able to successfully do with basic authentication by providing a users.properties and roles.properties file. I do want to try out how to use DIGEST authentication. Can anyone tell me the steps to achieve this using

[JBoss-user] [J2EE Design Patterns] - how to run WAR files in JBoss

2006-03-25 Thread planet123
Hi all, We had deployed WAR & JAR Files in JBoss .but now how to run in JBoss 4.0.1?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932540#3932540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932540 --

[JBoss-user] [EJB 3.0] - Re: Are EJB3 Stateless Session beans as boneheaded as they l

2006-03-25 Thread [EMAIL PROTECTED]
Have you heard of the concept of the ENC, existing since EJB 2.0? If not, please go and learn EJB properly before ranting, TIA :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932539#3932539 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[JBoss-user] [JBoss jBPM] - Help!Cannot open the Process Definition Editor

2006-03-25 Thread JavaBee
Hello! I'm a beginner. I downloaded the starters-kit from this site, and installed the GPD on my Eclipse with the "Find and Install" feature. As the "JBoss JBPM Process Getting Started" descripted, I successfully created a jBPM project. But after I finished creating the an empty process definiti

[JBoss-user] [Installation, Configuration & Deployment] - JBOSS console stuck/hang, unless i press Ctrl+C (on windows)

2006-03-25 Thread asifsh7
Hello, When JBOSS is running and i hot-deploy some WAR, JAR applications, it is not picked by JBOSS at the same time. Infect its console get struck, unless i press Ctrl+C. After i press Ctrl+C, it is deployed in JBoss. I cant afford every time pressing Ctrl+C whenever i deploy applications.

[JBoss-user] [Messaging, JMS & JBossMQ] - Jms Messages to Topic don't arrive

2006-03-25 Thread gioelante
Hi, I use Jboss 4.0.3 SP1 as Jms provider and java 5 to send to a queue a text message and a object message and everything works. Unfortunately when I try to send to a topic the problem is that no error running the standalone java application appears but no message were sent, in fact using jb