[JBoss-user] [EJB 3.0] - Performance: @EmbeddedId or @IdClass?

2006-03-30 Thread elkner
Any experience/hints, whether @EmbeddedId or @IdClass should be used wrt. better performance? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933883#3933883 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933883

[JBoss-user] [JBossCache] - Re: JBossCache 1.3 and Hibernate -- couple of questions

2006-03-30 Thread akardell
Well, good / bad news here... The good news is that by upgrading to Hibernate 3.2 CR 1 and using the OptimisticTreeCacheProvider instead of the default TreeCacheProvider, we were able to get past the basic issue of puts not taking effect in the cache (which was the root of issue #2 described

[JBoss-user] [EJB 3.0] - Re: 2nd level cache fails with one-many-one relations

2006-03-30 Thread epbernard
There is no cascade delete between Fax and FaxToCar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933882#3933882 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933882

[JBoss-user] [EJB 3.0] - Without rhyme or reason? a ClassCastException occured!

2006-03-30 Thread richie-lea
There is a java.lang.ClassCastException: ejb.persistence.User. My servlet code is: private void showUser(HttpServletRequest request, | HttpServletResponse response) { | try { | InitialContext ctx = new InitialContext(); |

[JBoss-user] [EJB 3.0] - Re: Without rhyme or reason? a ClassCastException occured!

2006-03-30 Thread richie-lea
richie-lea wrote : There is a java.lang.ClassCastException: ejb.persistence.User. | | My servlet code is: | private void showUser(HttpServletRequest request, | | HttpServletResponse response) { | | try { | |

[JBoss-user] [EJB 3.0] - Re: 2nd level cache fails with one-many-one relations

2006-03-30 Thread epbernard
Forget what I've said, need to sleep View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933886#3933886 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933886 --- This SF.Net

[JBoss-user] [EJB 3.0] - Re: Without rhyme or reason? a ClassCastException occured!

2006-03-30 Thread richie-lea
I changed the servlet : | private void showUser(HttpServletRequest request, | HttpServletResponse response) { | try { | InitialContext ctx = new InitialContext(); | userSession = (userSession)

[JBoss-user] [JBoss Portal] - CMS in 2.2.1RC3

2006-03-30 Thread [EMAIL PROTECTED]
Two quick questions about 2.2.1RC3 CMS: 1) My JNDI lookup to repotest for the Jackrabbit Repository doesn't work like it does in 2.2.0 ... How do I get a Repository instance in 2.2.1RC3? I looked at your new Jackrabbit service impl, but wasn't able to translate this code into how a Portlet

[JBoss-user] [EJB 3.0] - Recursive Bidirectional entity

2006-03-30 Thread oliverchua
@Entity | public class Unit implements Serializable{ | @Id @GeneratedValue | private Long unitCode; | private String unitName; | @ManyToOne @JoinColumn(name=superUnitCode) | private Unit superUnit; | @OneToMany(mappedBy=subUnits) | private SetUnit

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

2006-03-30 Thread epbernard
Nice, you've found 3 bugs in a row http://opensource.atlassian.com/projects/hibernate/browse/HHH-1620 http://opensource.atlassian.com/projects/hibernate/browse/ANN-295 http://opensource.atlassian.com/projects/hibernate/browse/ANN-296 View the original post :

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

2006-03-30 Thread epbernard
what do you see ion the debug logs? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933900#3933900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933900 --- This SF.Net

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

2006-03-30 Thread epbernard
also try to get results from Enumeration xmls = Thread.currentThread() .getContextClassLoader() .getResources( META-INF/persistence.xml ); It should return the url of the perisstence.xml file View the original post

[JBoss-user] [EJB 3.0] - Re: how to get entitymanager within MBean

2006-03-30 Thread epbernard
you mean EM or EMF. I don't see the usefulness of managing the EM lifecycle through JMX View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933903#3933903 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933903

[JBoss-user] [EJB 3.0] - Re: Initializing a new entity bean with relations

2006-03-30 Thread epbernard
I usually do private ListBook books = new ArrayListBook(); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933904#3933904 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933904

[JBoss-user] [JBoss jBPM] - Re: JBoss jBPM tutorial HelloTest.java doesn't passes the te

2006-03-30 Thread rob.hadfield
Here's how thedog's suggestion should look in processdefinition.xml: start-state name=start | transition name=to_auction to=auction | action name=hello class=com.jbay.action.HelloActionHandler | /action | /transition |/start-state Regards, ROb

[JBoss-user] [EJB 3.0] - Re: coolness: built-in DI (IoC) and other forms of goodness

2006-03-30 Thread epbernard
What is the difference between adding a @Entity on a class and adding an xml declaration for this class in some Spring file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933906#3933906 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: Hibernate-Validator and

2006-03-30 Thread epbernard
This is a bug, please open a JIRA issue http://opensource.atlassian.com/projects/hibernate/secure/Dashboard.jspa View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933907#3933907 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: Recursive Bidirectional entity

2006-03-30 Thread epbernard
constraints does not prevent bidirectional and recursive associations View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933908#3933908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933908

[JBoss-user] [Beginners Corner] - Re: EJB Client jar

2006-03-30 Thread bashdrew
or, how can i access remotely the FiboBean EJB from a Java standalone application? a link would be very helpful. thanks again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933909#3933909 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: Recursive Bidirectional entity

2006-03-30 Thread oliverchua
Hi Emmanuel, this is the script of the table that was created by hibernate... CREATE TABLE `intranetejb`.`unit` ( | `unitCode` bigint(20) NOT NULL auto_increment, | `unitName` varchar(255) default NULL, | `superUnitCode` bigint(20) default NULL, | PRIMARY KEY (`unitCode`), |

[JBoss-user] [JBossWS] - org.xml.sax.SAXParseException: The prefix

2006-03-30 Thread [EMAIL PROTECTED]
org.xml.sax.SAXParseException: The prefix xmlns cannot be bound to any namespace explicitly; neither can the namespace for xmlns be bound to any prefix explicitly. I am trying to use the Apache xml security libraries together with JAXB and with JBoss's SAAJ implimentation, and I am frequently

[JBoss-user] [JBoss Portal] - Re: PortletSession in JSP (view)

2006-03-30 Thread ScottDawson
You need to use the Portlet Tag Library: %@ taglib uri=?http://java.sun.com/portlet? prefix=?portlet? % There is a defineObjects tag that gives access to the renderRequest object and then you can call renderRequest.getPortletSession(). See the Portlet Spec, chapter 22, for details:

[JBoss-user] [EJB/JBoss] - Problem with same EJB component deployed on two different ho

2006-03-30 Thread ZBoris
I have same ejb component (with the same JNDI name) deployed on two hosts. When within jboss I perform a call from host1 to some method of this component located on host2, the method gets executed on host1 ! I resolve remote component by looking up it through InitialContext on host2 (by

[JBoss-user] [Installation, Configuration Deployment] - Re: Problem in accessing Connection Factory

2006-03-30 Thread baba79au
Hi Thanks for your reply, I tried accessing java:/JmsXA, but agian the same error was thrown. Any suggestions please. I really need help solving this issue. Regards Bava S View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933914#3933914 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: Taglibs newbie question

2006-03-30 Thread scurd
I ran into the same problem. For me, the problem began when I was forced to create a web.xml for my portlet. My web.xml was using 2.3 instead of version 2.4. Make sure the top of your web.xml file looks like this. ?xml version=1.0 encoding=ISO-8859-1? | web-app

[JBoss-user] [JBossCache] - Re: InstanceAlreadyExistsException

2006-03-30 Thread jaikiran
Have a look at this: http://www.jboss.com/index.html?module=bbop=viewtopict=80239 Looks like your issue is the same as mentioned in the above post. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933916#3933916 Reply to the post :

[JBoss-user] [JNDI/Naming/Network] - How to configure Firebird JNDI in JBoss 4.0.4RC1

2006-03-30 Thread hi_feroz
hi, i am trying to configure Firebird datasource in JBoss 4.0.4RC1 but cant get it working. may be because i need a firebirdsql.rar, where can i get that file, it is not in JBoss anywhere.. | ?xml version=1.0 encoding=UTF-8? | | !--

[JBoss-user] [EJB/JBoss] - Re: Problem with same EJB component deployed on two differen

2006-03-30 Thread ZBoris
jboss4.0.3sp1 fixes the issue immediately. there was a bug in 4.0.1 which results in the behaiour described in my previous post View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933921#3933921 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Same JNDI name on two different hosts problem

2006-03-30 Thread ZBoris
jboss4.0.3sp1 fixes the issue immediately. there was a bug in 4.0.1 which results in the behaiour described in my previous post View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933922#3933922 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: how to configure EJB 3 TrailBlazer to use mysql 5

2006-03-30 Thread hi_feroz
thanks. it works, it was a stupid mistake:) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933923#3933923 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933923 --- This

[JBoss-user] [EJB 3.0] - Shared Memory in EJB Container

2006-03-30 Thread treespace
I have a service interface created with EJBs. I have a web application that uses those services but it's optional. What is the business tier equivalent of the servlet session context? JNDI? I am building up a data structure from the database so it has no direct persistence mapping. I want to

[JBoss-user] [JBoss Seam] - Re: Problem with @DataModel in PAGE scope

2006-03-30 Thread [EMAIL PROTECTED]
I don't really grok. Can you explain more fully, from the start? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933925#3933925 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933925

[JBoss-user] [JBoss Seam] - Re: problem deploying simple seam app

2006-03-30 Thread [EMAIL PROTECTED]
You mean in WEB-INF/lib? No, the ejb-jar does not have visibility to WEB-INF/lib. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933926#3933926 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933926

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

2006-03-30 Thread [EMAIL PROTECTED]
Still have not decided a date. I'm doing a LOT of work on the codebase right now, so it does not make sense to release at this point. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933927#3933927 Reply to the post :

[JBoss-user] [JBoss Seam] - Re: Configuring deployment in Eclipse

2006-03-30 Thread [EMAIL PROTECTED]
Ask Bill Burke what that means in the EJB3 forum. I'm not quite sure View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933928#3933928 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933928

[JBoss-user] [JBoss jBPM] - Re: Deployment of PAR using ant gives error

2006-03-30 Thread vas74
bold code(ant) where error comes | | target name=declare.jbpm.tasks | ant antfile=build.xml target=build / | taskdef file=src/java.jbpm/org/jbpm/ant/jbpm.ant.tasks.properties format=properties | classpath refid=classpath.ant / | /taskdef | /target |

[JBoss-user] [Messaging, JMS JBossMQ] - Problem in accessing Connection Factory

2006-03-30 Thread baba79au
Hi I am new to JBoss. I am having a problem accessing the ConnectionFactory to send a Message to Queue. The code i have used is below: InitialContext ctx; QueueConnectionFactory cf; QueueConnection connection; QueueSession session; Queue destination; QueueSender sender; TextMessage

[JBoss-user] [JBoss Seam] - Mapping URL's to a seam actions.

2006-03-30 Thread markfrench
Hi, I am attempting to migrate an existing web app which currently uses cgi to serve up image content and also return server side created javascript to the client. What I was wondering if it was possible to map a url to a seam action to do this. Cheers Mark View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: NoClassDefFoundError: org/jboss/web/tomcat/tc5/session/F

2006-03-30 Thread jkjboss
I also get the same problem on JBoss 4.0.4. But when i deploy it on 4.0.4 with EJB 3 container, the exception is not seen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933933#3933933 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: How to get authenticated user's Subject from EJB

2006-03-30 Thread senthilid14
Thanks, but I am not able to get the Subject from EJB It is always returning null, but JSP code is perfectly returning Subject See the following code, and output the following is session bean's business method public String thanks() { | try { | Subject

[JBoss-user] [EJB 3.0] - Re: PersistenceContext causing bean's jndi entry to disapear

2006-03-30 Thread james_conf
Yes that's all I have done. em is not referenced or overridden anywhere in my code. only used (IE em.find() etc..) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933935#3933935 Reply to the post :

[JBoss-user] [JBoss jBPM] - New jBPM Getting Started Documentation

2006-03-30 Thread admin
Thanks to Kevin Barfield, we now have a long-awaited-for jBPM Getting Started Guide. Go see it on the jBPM Wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted Thanks Kevin ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933936#3933936 Reply

[JBoss-user] [Beginners Corner] - Internationalization

2006-03-30 Thread stanikas
Hello, I want to write text in my Web Application in lithuanian language. In Eclipse, Project Settings, I set language to lithuanian and in editors it shows symbols correct, but when I start my application in JBoss or Tomcat, lithuanian symbols from *.java files are unrecognized. IExplorer shows

[JBoss-user] [JBoss Seam] - Re: Configuring deployment in Eclipse

2006-03-30 Thread [EMAIL PROTECTED]
Your problem is probably linked to this error: Nebob wrote : | 16:15:22,995 ERROR [FacesConfigurator] Class org.jboss.seam.jsf.SeamPhaseListener does not implement PhaseListener | You have a classloading issue, make sure you don't have the jboss-seam.jar and myfaces libs in several

[JBoss-user] [JBoss Seam] - Re: Example needed

2006-03-30 Thread Eekboom
Isn't the clickable list example provdided with seam out-of-the box exactly what you ask for? http://docs.jboss.com/seam/reference/en/html/tutorial.html#messages View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933939#3933939 Reply to the post :

[JBoss-user] [JBoss jBPM] - Re: jBPM getting started wiki

2006-03-30 Thread cwad0000
looks like an excellent getting started guide. It would be really cool to have a reference to where the source code for the websale app is, since it contains things one probably wants to do (list tasks etc) I seem to find it partly here, but where is the web front end?

[JBoss-user] [JBoss Seam] - scope confusion

2006-03-30 Thread Eekboom
Ok, I understand contexts and their usefulness. What I do not understand is why scope parameters are needed on @In and @Out annotations! The scope of a context variable is already fixed when declaring it with @Name/@Scope or with @Role, right? So what's the advantage of being able to specify

[JBoss-user] [JBoss Seam] - Re: Example needed

2006-03-30 Thread SchlauFuchs
Thanks, Eekboom, I haven't seen this example (maybe it was too late yesterday...) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933944#3933944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933944

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: charset is big problem in linux

2006-03-30 Thread [EMAIL PROTECTED]
set parameter in : URIEncoding=UTF-8 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933945#3933945 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933945 --- This SF.Net

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Possible to use two port numbers on one Tomcat?

2006-03-30 Thread [EMAIL PROTECTED]
network or sysadmin could do it, for example using port forwarding View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933946#3933946 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933946

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Can I force http:\\server:8443 to https:\\server:8443 in

2006-03-30 Thread [EMAIL PROTECTED]
Use exactly corresponding schema. For SSL, use always https:// View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933947#3933947 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933947

<    1   2   3