[JBoss-user] [EJB 3.0] - Re: 4.0.4RC1 Memory Leak?

2006-03-15 Thread masonoise
Our application is a standard web-app, for which we recently moved to using 4.0.4RC1 and switched from session bean access and eager fetching to direct EntityManager access and lazy fetching (to simplify). Essentially now we're utilizing an EntityManagerFactory to get an EntityManager at the beg

[JBoss-user] [Installation, Configuration & Deployment] - Re: RMI Invocation Behind Firewall on JBoss 4.0.3

2006-03-15 Thread solomonk
"adamwynne" wrote : solomonk, | Can you specify how to cause that second port to be fixed? I am having a similar issue. try to look for example here http://forum.java.sun.com/thread.jspa?forumID=58&messageID=413193&threadID=146155 there are some java code to answer your question.. i think th

[JBoss-user] [JBoss Seam] - Re: Action method only invoked if immediate=

2006-03-15 Thread Newlukai
Sure, they are in a form. That's why I'm wondering about this behaviour. Here's the page: | | | | | | | | | | | | | | | | | | | | | | | | |

[JBoss-user] [Performance Tuning] - Re: Is JBoss certified with Jrocket or the IBM JVM?

2006-03-15 Thread erwinp
Hillel, we where able to run several applications under JBoss on JRockit and the IBM JVM on G5. With the last one we did have some problems with SSL. Don't know if it's really certified. Maybe Jboss can answer that himself :-) Regards, Erwin View the original post : http://www.jboss.com/index

[JBoss-user] [EJB 3.0] - Re: deployer cannot determine default local interface

2006-03-15 Thread armita
Sorry, here is the error message: | 19:14:47,417 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=mcipro.ejb3 | java.lang.RuntimeException: deployer cannot determine default local interface as there are too many implemented interfaces and no @Remote or @Local

[JBoss-user] [Performance Tuning] - Is JBoss certified with Jrocket or the IBM JVM?

2006-03-15 Thread hillel
Dear Jboss, We would like to know if Jboss is certified with Jrocket as its supposed to speed x86 machines? Please come back with an answer so the Jboss community can then know if they can use instead of Sun's JVM, Jrocket or the IBM JVM. Thanks View the original post : http://www.jboss.com/

[JBoss-user] [Management, JMX/JBoss] - JBoss Server Response Time

2006-03-15 Thread lbrd
hi can anybody tell me that "how can i get the Server Response Time?" for JBoss 4.x. is there any MBean which contain the Jboss average response time.? OR we need to start any service. lbrd. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930567#3930567

[JBoss-user] [JBossCache] - Re: I just need a single cache but it is creating 2 cache fo

2006-03-15 Thread myself_biswajit
Hi, At least just tell me the proper configuration for the below mentioned ClusterConfig part(which is a part of treecache-service.xml). I am using 2 nodes for my clustering. Thanks in advance. Regards, Biswajit. View the original post : http://www.jboss.com/index

[JBoss-user] [EJB 3.0] - Re: Working with a stateful session bean

2006-03-15 Thread martin ganserer
Hi Bill, do you see any chance to reference a SFSB in a stateless bean? Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930565#3930565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930565 ---

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

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

[JBoss-user] [JBoss Portal] - Re: New to portlets and portal

2006-03-15 Thread balaji_t_ryan
hello all, does jboss portal work with jdk1.5 , i was getting some exception while trying to use jdk1.5 , later i switched to jdk1.4 and got rid of that exception . i want to know whether jboss portal2.2 works with jdk1.5 or it works only with jdk1.4 version. i have downloaded a plugin for e

[JBoss-user] [JBoss Seam] - "component j_id0 must be enclosed inside a form" running wit

2006-03-15 Thread xiangya
hi, when goto main page after login seam-booking examples, running with jsf 1.2 ri: you can get some warn messages like this: "component j_id0 must be enclosed inside a form" and you can't see logout and setting at top of page. so check view code from main.xhtml: | ... | http://www.w3.or

[JBoss-user] [Security & JAAS/JBoss] - Can you a list of roles from a principal?

2006-03-15 Thread markfrench
Hi, I have a requirement to get a list of roles from an authenicated principal but can't seem to figure out how to do it. Is it possible to do it programmaticaly from a session bean? Cheers Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930559#393055

[JBoss-user] [JBoss Seam] - Re: Type javax.persistence.DiscriminatorValue not present

2006-03-15 Thread [EMAIL PROTECTED]
Have you installed the EJB3 profile in JBoss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930558#3930558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930558 ---

[JBoss-user] [JBoss Seam] - Re: Storing a Value in application context during app start

2006-03-15 Thread [EMAIL PROTECTED]
Use an application-scoped @Startup component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930557#3930557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930557 ---

[JBoss-user] [JBoss Seam] - Re: h:commandLink and h:panelGroup

2006-03-15 Thread [EMAIL PROTECTED]
Of course, the second thing is not a correct EJB-QL query. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930556#3930556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930556 --

[JBoss-user] [JBoss Seam] - Re: Nesting the Login Conversation

2006-03-15 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : Surely this sort of process is what nested conversations are made for ? Actually, no, they are more meant for things like master/detail views. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930555#3930555 Reply to the post : http

[JBoss-user] [Installation, Configuration & Deployment] - jboss not running on java 5

2006-03-15 Thread arvind_giri
hi everyone, I am using j-boss 4.o with java 1.5 on win xp . The problem is that I am getting following eror when I start the server: - :15:39,343 WARN [ClientGmsImpl] handleJoin(ArvindG:119

[JBoss-user] [JBoss Seam] - Re: Action method only invoked if immediate=

2006-03-15 Thread [EMAIL PROTECTED]
Are they in a form? In future, please provide code to go along with your questions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930553#3930553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930553 ---

[JBoss-user] [JBoss Seam] - Re: Module level conversations

2006-03-15 Thread [EMAIL PROTECTED]
Well, there is no support for this special stuff in Seam at the moment, and it is not on my roadmap. So if you are able to implement it yourself, sure, good luck, but I cannot tell you is that feasible or not... However, I do not see Seam's conversation support as a solution for hierarchical na

[JBoss-user] [JBoss Seam] - Re: LocaleSelector.getLocale failing for SeamTest integratio

2006-03-15 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-168 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930551#3930551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930551 ---

[JBoss-user] [JBoss Seam] - Re: How does @Out work?

2006-03-15 Thread [EMAIL PROTECTED]
Every time a component is invoked, its fields are injected and outjected. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930550#3930550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930550 ---

[JBoss-user] [JBoss Seam] - Re: Different validator messages

2006-03-15 Thread [EMAIL PROTECTED]
I would probably not use @IfInvalid for login. Instead, validate the password in the action method and add a FacesMessage in code, or just do it in the JSF form with a JSF validator. This is not a "model" validation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

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

2006-03-15 Thread [EMAIL PROTECTED]
no, dvd example is closest we have (and it *does* use everything) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930548#3930548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930548 ---

[JBoss-user] [JBoss Seam] - Re: Newbie Questions

2006-03-15 Thread [EMAIL PROTECTED]
And yes, it should even work with .hbm.xml files, though you may need to add @Entity annotations, if you plan to use the Hibernate entities as Seam components. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930547#3930547 Reply to the post : http://www.jbos

[JBoss-user] [JBoss Seam] - Re: TestNG tests DO not seem to run out of the box.

2006-03-15 Thread [EMAIL PROTECTED]
Yes, as per examples/booking/readme.txt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930546#3930546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930546 --- This

[JBoss-user] [JBoss Seam] - Re: Entity Manager during @Startup

2006-03-15 Thread [EMAIL PROTECTED]
Try using @PersistenceContext instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930545#3930545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930545 --- This S

[JBoss-user] [JBoss Seam] - Re: Seam and JBPM Process Management.

2006-03-15 Thread [EMAIL PROTECTED]
I don't see why that should be a problem. How did the name get *into* the removals map? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930544#3930544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930544

[JBoss-user] [JBoss Seam] - Re: beginner question - seam and MVC

2006-03-15 Thread [EMAIL PROTECTED]
(1) Seam does not enforce any special layering on your application. If you want to layer your app as: JSF-aware-actions pure-business-logic-components pure-persistence-logic-DAOs Go ahead and do that. (2) If you think about it, this is how *all* web applications work. Anytime an action modifi

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

2006-03-15 Thread [EMAIL PROTECTED]
Look at our build.xml, grep for "manifest". Your manifest file needs to have Class-Path: jboss-seam.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930542#3930542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=393054

[JBoss-user] [JBoss Seam] - Re: Where is commons-lang.jar???

2006-03-15 Thread [EMAIL PROTECTED]
java.lang.annotation.Annotation is absolutely nothing to do with commons-lang. It is an interface built-in to Java SE 5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930541#3930541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mo

[JBoss-user] [JBoss Seam] - Re: Nesting the Login Conversation

2006-03-15 Thread [EMAIL PROTECTED]
Have you looked at how the issue tracker demo handles the login challenge? I think that is pretty elegant. (It uses Conversation.redirect().) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930540#3930540 Reply to the post : http://www.jboss.com/index.html?m

[JBoss-user] [JBoss Seam] - Re: Request for @In: Don't inject null

2006-03-15 Thread [EMAIL PROTECTED]
Don't use injection. Use an ordinary lookup Contexts.getXXXContext().get("name") or Component.getInstance("name", true). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930539#3930539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mo

[JBoss-user] [JBoss Seam] - Re: Suggestions on Scope

2006-03-15 Thread [EMAIL PROTECTED]
"rdewell" wrote : As long as we're on the topic, I could really use a scope that sits between Application and Session. I implemented a quasi-scope myself using an Application scoped bean + a Map, though it's not as clean as using a pure Seam scope. | | This is a specific case I realize, bu

[JBoss-user] [Security & JAAS/JBoss] - basic problem

2006-03-15 Thread kosl
I have read all the wiki and everything and I still don't know how to get some basic information. I would like to be able to get the name of the authenticated user or check his role. How to do that ?? In the DVD example it is done like that : | String user = org.jboss.secu

[JBoss-user] [JBoss Portal] - Re: Is it possible portal with Mambo?

2006-03-15 Thread [EMAIL PROTECTED]
Isn't Mambo written in Pee-H-Pee? This may be odd to do, unless you write some portlets that can talk to their database or some sort of API. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930534#3930534 Reply to the post : http://www.jboss.com/index.html?mo

[JBoss-user] [JBoss Portal] - Re: New to portlets and portal

2006-03-15 Thread [EMAIL PROTECTED]
The FIRST thing beginners should do is read the portlet spec:http://www.jcp.org/en/jsr/detail?id=168 It is really easy reading that anyone with any jee experience can grasp. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930533#3930533 Reply to the post : h

[JBoss-user] [JBoss Portal] - Re: Search function in Forum and CMS

2006-03-15 Thread [EMAIL PROTECTED]
CMS search is not planned until we get the security issue taken care of for 2.4. It will also have to encompass handling the index on a cluster. Expect a search facility for the CMS in 2.6. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930532#3930532 Reply

[JBoss-user] [JBoss Portal] - Re: Failed Build of Portal 2.2 on Linux

2006-03-15 Thread [EMAIL PROTECTED]
Try to build with AS 4.0.3SP1. Then repost any problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930531#3930531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930531

[JBoss-user] [JBoss Portal] - Re: cms admin

2006-03-15 Thread ilangocal
"jordigor" wrote : Hi | | Yes I did. In fact I use the same portal-mysql-ds.xml file that I've used with portal 2.2.0 version and this works fine. | | I'll expect impatient your test with the latest release. | | Thx. So you configured the datasource string ( the path to the databa

[JBoss-user] [JBoss jBPM] - problem with getTaskInstances()

2006-03-15 Thread desperate_USER
Hi. I'm new at usign jbpm with sybase and I would like to know why it takes 7 seconds to perform this code lines: ProcessInstance instance = session.getGraphSession().loadProcessInstance(processID); Iterator tmpT = instance.getTaskMgmtInstance().getTaskInstances().iterator(); I only get 20 elem

[JBoss-user] [JBoss Portal] - Re: cms admin

2006-03-15 Thread [EMAIL PROTECTED]
What version of AS? Do not install AS with the installer, btw. Use the zip. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930528#3930528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930528 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: web-tier to intialcontext remote ejb3 call

2006-03-15 Thread [EMAIL PROTECTED]
To use the embedded tomcat configuration which include sthe SecurityAssocitionValve to do this. There is a mention of a lack of credentials in one post. If there is not security context (a web page that is not secured), there will be nothing to propagate. View the original post : http://www.jb

[JBoss-user] [JBoss Portal] - Re: How (which tool) create a portlet? How get content into

2006-03-15 Thread [EMAIL PROTECTED]
To understand what a portal is (it is not a CMS), read the component spec: http://www.jcp.org/en/jsr/detail?id=168 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930526#3930526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[JBoss-user] [JBoss Portal] - Re: Internal error: Query did not return a unique result: 2

2006-03-15 Thread [EMAIL PROTECTED]
This is probably due to having more than one portal object (page, window) named the same. I fixed that, but i believe its in the RC3 release. You can safely leave the CMS tables alone... anything that starts with jbp_cms_*. Drop everything else and restart. View the original post : http://www

[JBoss-user] [Microcontainer] - Re: Newbie build issue

2006-03-15 Thread [EMAIL PROTECTED]
See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMicrocontainer where the cvs module is declared as jbossmc and can be checked out using one of: | cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jbossmc | cvs -d :ext:[EMAIL PROTECTED]:/cvsroot/jboss co jbossmc | View the original

[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.2.1RC3 - Released

2006-03-15 Thread [EMAIL PROTECTED]
Go off this page, until we update the links on our side: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=84509 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930523#3930523 Reply to the post : http://www.jboss.com/index.html?module=bb&

[JBoss-user] [JBoss jBPM] - Re: Configuring another database - how?

2006-03-15 Thread [EMAIL PROTECTED]
Please see info here: http://docs.jboss.org/jbpm/v3/userguide/thejbpmdatabase.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930522#3930522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930522 ---

[JBoss-user] [EJB 3.0] - Re: @PreDestory callback behavior for Stateless beans

2006-03-15 Thread asack
"[EMAIL PROTECTED]" wrote : by default, beans are pooled in a threadlocal and never destroyed. Bill, no offense, but that doesn't seem very spec compliant to me. It makes the @PreDestory callback meaningless right or am I misunderstanding you? Thanks! -aps View the original post : http://w

[JBoss-user] [EJB 3.0] - Re: 4.0.4RC1 Memory Leak?

2006-03-15 Thread knifegun
Yes, the EntityManager was created from the EntityManagerFactory. We tried calling the EntityManager.close() method but the PermGen still increased each time. We tested this by creating a JSP page that simply creates the EntityManager and calls the close() method right away. The PermGen space

[JBoss-user] [EJB 3.0] - Re: 4.0.4RC1 Memory Leak?

2006-03-15 Thread [EMAIL PROTECTED]
how do you access the EntityManager? Through an EntityManagerfactory? If so...you need to call EntityManager.close()! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930519#3930519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: How to access default library from servlet?

2006-03-15 Thread khan76s
[i`m so sorry there have many spelling problems] Hi. it seem to silly question. but, i have to ask i would like to access some.class in defalut/lib/xxx.jar from servlet. as you know, it will occur erro like a "class is not found".. but, i load my class which located in default/lib as a mb

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: How to access default library from servlet?

2006-03-15 Thread khan76s
"khan76s" wrote : Hi. | it seem to silly question. but, i have to ask | | i would like to access som.class in defalut/lib/xxx.jar from servlet. | as you know, it will occur erro like a "class is not found".. | | but, i load my class while located in default/lib as a mbean. |

[JBoss-user] [EJB 3.0] - Re: Can not use PrimaryKeyJoinColumns

2006-03-15 Thread adver11
thank pimpf. I test it like this: EmpPK.java public class EmpPK { | public Integer id; | public String name; | } EmployeeInfo.java @Entity | @IdClass(EmpPK.class) | public class EmployeeInfo { | @Id @Column(name="EMP_ID") | Integer id; | @Id @Column(n

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - How to access default library from servlet?

2006-03-15 Thread khan76s
Hi. I seem to silly question. but, i have to ask i would like to access som.class in defalut/lib/xxx.jar from servlet. as you know, it will occur erro like a "class is not found".. but, i load my class while located in default/lib as a mbean. and i want to access this class. but, i can`t

[JBoss-user] [EJB 3.0] - Re: 4.0.4RC1 Memory Leak?

2006-03-15 Thread knifegun
It appears that it is being caused by the creation of an EntityManager. Currently, a new EntityManager is created each time a JSP is called. Each call to the EntityManager causes the PermGen to increase significantly. We are not using Stateful or Stateless EBJs. Is there something special we

[JBoss-user] [JBoss Seam] - Type javax.persistence.DiscriminatorValue not present

2006-03-15 Thread [EMAIL PROTECTED]
Here is a new error I can't find info in the forum about. Happens in the DVDstore and booking examples. All I do is copy the datasource and the ear files to the deploy directory in JBoss. On server startup I get this error: Would you know why? 2006-03-15 18:47:48,621 ERROR [org.apache.cata

[JBoss-user] [Microcontainer] - Re: Unmarshaller source code

2006-03-15 Thread bkeh12
Hi, try this Unmarshaller.java in cvs jboss-common->src->main->org->jboss->xb->binding MicroContainer 1.0.2 download http://www.jboss.com/products/list/downloads#jbossmc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930511#3930511 Reply to the post : http:

[JBoss-user] [Installation, Configuration & Deployment] - Re: RMI Invocation Behind Firewall on JBoss 4.0.3

2006-03-15 Thread adamwynne
solomonk, Can you specify how to cause that second port to be fixed? I am having a similar issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930510#3930510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930510

[JBoss-user] [Security & JAAS/JBoss] - isUserInRole returns false

2006-03-15 Thread jhon_3e
Hi everyone, I am currently using jboss 4.0.0 in my app and using the JAAS security. I'm not having problem in logging in. The issue is when i tried to check the role of the user it always return false even when the role name is the one i'm camparing. But when i tried to deploy my application in

[JBoss-user] [EJB 3.0] - Re: 4.0.4RC1 Memory Leak?

2006-03-15 Thread [EMAIL PROTECTED]
If you're using Stateful Session Beans and passivations, JBossSerialization is leaking redeployments. Next release is fixing that (coming this week). http://jira.jboss.org/jira/browse/JBSER-40 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930508#3930508 Rep

[JBoss-user] [EJB 3.0] - Re: EJB 3.0 + eclipse + jboss

2006-03-15 Thread LaLiLuna
Hello, I have just finished a tutorial about EJB 3 session bean, entity bean with JBoss. The current version uses Eclipse + MyEclipse. I will try to add an Ant task before the weekend. Regards Sebastian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930507#3

[JBoss-user] [Beginners Corner] - Re: Can a remote client call a bean on a private network?

2006-03-15 Thread adamwynne
I tried port forwarding again on the head node from the external to internal NIC for all the ports listed in one of the firewall docs: http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch8.chapter.html#d0e21126 But, still no luck. However, now the client is hanging during the ctx.lookup(...) ca

[JBoss-user] [JBoss Portal] - Re: Internal error: Query did not return a unique result: 2

2006-03-15 Thread vmarco
The seriousness of this issue it critical to portal developers. Out of the blue my portal starts blowing up. The only clue hinted at by the exception is that something, probably from my config, which is now in the portal DB is in error and I have no clue how to fix it. I did deploy to a diffe

[JBoss-user] [EJB 3.0] - Re: 4.0.4RC1 Memory Leak?

2006-03-15 Thread [EMAIL PROTECTED]
details please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930502#3930502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930502 --- This SF.Net email is sponsore

[JBoss-user] [EJB 3.0] - Re: @PreDestory callback behavior for Stateless beans

2006-03-15 Thread [EMAIL PROTECTED]
by default, beans are pooled in a threadlocal and never destroyed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930501#3930501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930501 --

[JBoss-user] [JBoss Portal] - Where is the download?

2006-03-15 Thread vmarco
I only see 2.2.1RC2 at the download site. Have they been revoked or are they on the way? Cheers, Vince View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930500#3930500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=393

[JBoss-user] [EJB 3.0] - 4.0.4RC1 Memory Leak?

2006-03-15 Thread knifegun
We are running an EJB3 application using EJBs with LAZY fetch enabled and have noticed a memory leak. I did read that some people found memory leaks when redeploying apps on 4.0.4RC1 w/o restrarting JBoss. We have noticed a memory leak even when we don't redeploy an app. Has anyone else run i

[JBoss-user] [JNDI/Naming/Network] - java:comp/env problem

2006-03-15 Thread ochta
Folks, sorry for the blast I am new to JBoss and I've got a problem with the small application I wrote just to see how it works. I created simple stateless bean Interface One.java: package com.documentum.ejb; public interface One { public String sayHello (); } Implementation OneBean.java: p

[JBoss-user] [Beginners Corner] - Re: Properties for a remote access to EJB

2006-03-15 Thread adamwynne
You can put the following into a jndi.properties file: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=localhost:1099 View the original post : http://www.jboss.com/index.html?module=bb&o

[JBoss-user] [EJB 3.0] - thanks.

2006-03-15 Thread penzheng
thanks for your experience. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930493#3930493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930493 --- This SF.Net email

[JBoss-user] [JBoss Portal] - Re: How (which tool) create a portlet? How get content into

2006-03-15 Thread keletappi
Can't Help you with CMS... but Portlet is one progam. You can have multiple instances of same program in portal. On main content area you want it to show your blog but on sidebar you might want it to show feed of your friends blogs. This is possible with multiple instances of same portlet.

[JBoss-user] [EJB 3.0] - @PreDestory callback behavior for Stateless beans

2006-03-15 Thread asack
Is there any way to cause a @PreDestory callback to be executed programmactically? I thought if I undeploy the jar file in which EJB3 Stateless beans are defined, any @PreDestroy callbacks defined would be called. That doesn't seem to be the case and it maybe my misunderstanding of an EJB3 li

[JBoss-user] [JBoss Portal] - Re: cms admin

2006-03-15 Thread jordigor
Hi Yes I did. In fact I use the same portal-mysql-ds.xml file that I've used with portal 2.2.0 version and this works fine. I'll expect impatient your test with the latest release. Thx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930490#3930490 Reply t

[JBoss-user] [EJB 3.0] - Re: can FetchType.EAGER be used when loading an entity?

2006-03-15 Thread liudan2005
Thanks a lot Peter. It solved my problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930489#3930489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930489 --- T

[JBoss-user] [JBossWS] - Re: Problems with ComplexTypes

2006-03-15 Thread catfishTyphoon
You're probably way ahead of me, but I am doing the same kind of thing, looking at the instructions on http://wiki.jboss.org/wiki/Wiki.jsp?page=WSTypeMapping Oddly, without any configuration changes from my very simple web service, the server side is serializing my simple bean through introspecti

[JBoss-user] [EJB 3.0] - Re: ManyToMany biderectional

2006-03-15 Thread rberehoudougou
Thanks Peter for your reply. I agree there is a potential problem there by the relationship between stock and Produit is a One to One, so there are no collections there, but I have fixed the code . I am still getting the same exception with and if I set the fetch type to EAGER I get the followin

[JBoss-user] [JBoss Portal] - Re: Newbee: HTTP Status 500 after installation

2006-03-15 Thread ScottDawson
Are you using a MySQL connector jar with a "-g" in the filename: mysql-connector-java-[version]-bin-g.jar. That's the debug version of the connector and requires the AspectJ jar. You should switch to the standard connector (mysql-connector-java-[version]-bin.jar), and you can get rid of the A

[JBoss-user] [JBoss Portal] - Internal error: Query did not return a unique result: 2

2006-03-15 Thread vmarco
I am developing on JBoss 4.0.1sp3 + JBoss Portal 2.2.1rc2 on OSX 10.4.5, and I'm getting an error on display of a portal page. The exception indicates a hibernate.NonUniqueResultException, but I really can't detect what I did to cause this, as I haven't hooked up my own persistence layer yet.

[JBoss-user] [JBoss Portal] - Failed Build of Portal 2.2 on Linux

2006-03-15 Thread rutfield
I am trying to build the JBOSS portal from source per the 2.2 User Guide. I knew the instructions looked too easy. I have JBOSS 4.018. I have the code unzipped into the directory, but when I run "sh build.sh", I get these errors (below). I can tell the xset failures are because the common libra

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Servlet welcome-file not working

2006-03-15 Thread treespace
Workaround until servlet welcome-files are fixed: Use a static welcome file... index.html Containing the following script element... < body> < script type="text/javascript">window.location="/navigator" hang on buddy... Add query string arguments as needed by your controller, e.g., /n

[JBoss-user] [Installation, Configuration & Deployment] - Proxy Server and EJBs - confused.

2006-03-15 Thread chrisbitmead
I'm still pretty confused about how to get JBOSS ejbs to talk through a http proxy and so on. I understand about setting these properties, that's fine: ava.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.namin

[JBoss-user] [JBoss jBPM] - Configuring another database - how?

2006-03-15 Thread fmuhlenberg
I'm missing something somewhere. With jBPM 3.0.2, I'm attempting to migrate over to Oracle 9i. I've followed the instructions in the jbpm-db-3.0.2, generated the SQL scripts, created the tables, and configured and run the unit tests. Then, the instructions stop. What do I need to do to confi

[JBoss-user] [EJB 3.0] - Re: memory leaks in redeployment

2006-03-15 Thread knifegun
Any updates on this issue? We are using EJB3 with Lazy fetch and we have noticed memory leaks even when JBoss is restarted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930479#3930479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[JBoss-user] [EJB 3.0] - Re: Cannot recognize polymorphic properties in a query

2006-03-15 Thread nickthegreat
[Quote] Anyway, it might be not the most proper way to call it. [/Quote] I'd call it subclass specific property ... (I dont like to call it polymorphic-property because they are very anti-polymorphic (polymophic in terms of generic programing) ) Anyway, no matter how we call this -> about the q

[JBoss-user] [JBoss AOP] - aopc: parallel compilation

2006-03-15 Thread eprst
Hi, We have decided to use AOP in our project (which is already quite large), and there is a small problem: compile-time instrumentation adds 10-15 minutes to our build sequence, and we're constantly trying to make our build cycle as short as possible. I've reviewed jboss.aop.standalone.Compil

[JBoss-user] [EJB 3.0] - Re: ManyToMany biderectional

2006-03-15 Thread petergoldstein
This doesn't look like an EntityManager bug to me - it looks like a code bug. First, considering that a newly created Produit has a null codeProduit member variable, your hashCode() should really be more resilient against null values for that member. But second, and more critically, you're expo

[JBoss-user] [EJB 3.0] - org.hibernate.AnnotationException: Unable to find entity int

2006-03-15 Thread SchlauFuchs
Hi! I'm quite new to EJB 3. Can anyone give me a hint where to search for the cause of this exception? I currently have in my beginner application four different entity beans, all of them only have int values. I followed the example of http://trailblazer.demo.jboss.com/EJB3Trail/persistence/orm

[JBoss-user] [EJB 3.0] - Re: can FetchType.EAGER be used when loading an entity?

2006-03-15 Thread petergoldstein
Assuming you've got an entity bean type User with a properties association and an id field on it, I believe you should be able to create the appropriate query as follows: em.createQuery("select u from User as u left join fetch u.properties where id = :id") For more info see section 7.3 of the

[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Problem of code asist with JbossIDE1.5/Eclipse3.1.1

2006-03-15 Thread j_koeberlein
Hello, I have the same problem with this configuration. I found a workaround from July 2005 under http://jira.jboss.com/jira/browse/JBIDE-205 but it doesn't seem to work with the current release (or I'm too stupid...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[JBoss-user] [JBoss jBPM] - Re: org.hibernate.LazyInitializationException

2006-03-15 Thread bluesockets
i cant tell from the snippet of stacktrace you left for sure but it seems that hibernate is fetching a shallow object without initializing the collections within.. as for how to make it initialize that collection before throwing the exception if you're using ejbql you'll want to use the fetch ke

[JBoss-user] [Security & JAAS/JBoss] - Re: @SecurityDomain in JBoss4.0.4RC1

2006-03-15 Thread delkant
now i know how to replace the @securityDomain annotation by tag in a descriptor file. my error was that i was putting the string java:/jaas/ jboss.xml (WITH THE ERROR) | | | java:/jaas/opencrx-core-CRX | | | jboss.xml | | | opencrx-c

[JBoss-user] [JBoss jBPM] - Re: jbpm performance with sybase

2006-03-15 Thread desperate_USER
Hi. I'm new at usign jbpm with sybase and I would like to know why it takes 7 seconds to perform this code lines: ProcessInstance instance = session.getGraphSession().loadProcessInstance(processID); Iterator tmpT = instance.getTaskMgmtInstance().getTaskInstances().iterator(); I only get 20 elem

[JBoss-user] [Beginners Corner] - Logged users

2006-03-15 Thread abrhaao
How can i see in JBoss Web Console (or another tool) those users logged on Server Application??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930466#3930466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930466 ---

[JBoss-user] [JBoss Portal] - Re: cms admin

2006-03-15 Thread ilangocal
Hi Did you configure the datasource properly. I guess you have the portal-*-ds.xml file.. I am going to try the latest release of JBoss portal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930465#3930465 Reply to the post : http://www.jboss.com/index.htm

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - DB2 Server dies when incontainer testcase is run on Jboss 4.

2006-03-15 Thread puneet_alla
Hi We are trying to upgrade our j2ee application from Jboss 3.2.4 to Jboss 4.0.3SP1. The application is using EJB2.0 and all the incontainer testcases are passing on Jboss3.2.4. When i deploy the same ear file on 4.0.3 and try to run the testcases, it automatically shuts down my jboss and i ge

[JBoss-user] [Beginners Corner] - Re: urgent: hot deployment

2006-03-15 Thread nascimento.maxwell
"sushant248" wrote : I know that but, where is the hot deployment if i've to delete files from "work" folder (which is not recommended to touch). Is it always the case with everyone that u delete files after replacing exixting ear I'm in the same situation. Have you got any solutions for this pr

[JBoss-user] [EJB/JBoss] - DB2 Server dies when incontainer testcase is run on Jboss 4.

2006-03-15 Thread puneet_alla
Hi We are trying to upgrade our j2ee application from Jboss 3.2.4 to Jboss 4.0.3SP1. The application is using EJB2.0 and all the incontainer testcases are passing on Jboss3.2.4. When i deploy the same ear file on 4.0.3 and try to run the testcases, it automatically shuts down my jboss and i get

[JBoss-user] [JNDI/Naming/Network] - Re: Using JBoss 4.04RC1 EJB call crashes JBOSS

2006-03-15 Thread delkant
if you read this.. you'll find an answer http://wiki.jboss.org/wiki/Wiki.jsp?page=FromJBossEJB3.0RC3ToRC4PFD the lookup have tobe like this ctx.lookup("earname/" + name + "/remote") ; if you want the remote interface ctx.lookup("earname/" + name + "/local") ; if you want the local interface i h

[JBoss-user] [EJB 3.0] - Re: problem deploying EJB3 In JB4.0.4

2006-03-15 Thread tromanowski
MmarcoM, out of curiousity, which annotations were causing your particular problems? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930460#3930460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930460 ---

  1   2   3   >