[jboss-user] [EJB 3.0] - Re: @EJB injection gives null

2006-09-03 Thread kgrjb
peter suggestion didnot help. ive been using this as a workaround. LocalIntf ejbField; @PostConstruct public void initBean() { try { InitialContext ctx = new InitialContext(); ejbField = ejbField == null ? (LocalIntf) ctx.lookup(earName + /beanClassName

[jboss-user] [JBoss jBPM] - Better understanding of the starter kit

2006-09-03 Thread zilber
In order to learn JBPM I read the tutorial, and also installed the starter kit. I ran it and it worked very nice. I then tried to understand how it works under the hood, and I wonder if there's any documentation that explains things like: Why does the kit consist of a service and an

[jboss-user] [JBoss Seam] - ConversationEntry -- Should lastRequestTime equal startTime

2006-09-03 Thread raja05
When a conversation is created, the ConversationEntry object has the starttime equal to the current time and the lastRequesttime set to 0. Should the lastRequestTime be also initialized to the current time stamp? Here is why Im asking this. In my application, I start a conversation on a

[jboss-user] [JBoss Seam] - Re: LIE and accessing collections in next request

2006-09-03 Thread raja05
I got this working after a lot of reverse engineering. Anyway, the secret was that the method starting the conversation had to somehow call the responseComplete method(by having an outcome) and then the conversation was carried between screens. In my case, since it was a factory and nothing was

[jboss-user] [EJB 3.0] - Re: JbossQL and m.createQuery(.. OFFSET 5 LIMIT 23)

2006-09-03 Thread laszlo.fogas
Hi, I found the same solution, but when i examined a bit more i realized that the whole resultset is generated every time, and these methods only cut a part of that. It does not generate offset/limit like sql query. Am I right? Because it could cause some performance problems. Lazlo View the

[jboss-user] [EJB 3.0] - Re: JbossQL and m.createQuery(.. OFFSET 5 LIMIT 23)

2006-09-03 Thread laszlo.fogas
ok I was wrong: It generates the desired offset/limit queries unless you use join fetch in your query to initialize lazy collections. In the docs: (http://docs.jboss.org/ejb3/app-server/HibernateEntityManager/reference/en/html_single/index.html#d0e751) Nor should fetch be used together with

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2006-09-03 Thread fatbatman
I also need to obtain a completely clean Pojo. I currently serialise detached entities then send them over a network to a remote client which is an applet that has no concept of EJB3 (no ejb jars on classpath). Here the client treats them as Pojos. When running a full round trip unit test in

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

2006-09-03 Thread mzeijen
I am going to check now if this only happens in the jboss portal. I am going to try to run it under jetspeed 2. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969091#3969091 Reply to the post :

[jboss-user] [Beginners Corner] - Re: Need instructions about the decision node

2006-09-03 Thread coffemeeg2005
plz guys . that was 40 views and 0 replies . did the question have any confusing parts ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969092#3969092 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969092

[jboss-user] [JBoss Seam] - LazyInitializationException and caching

2006-09-03 Thread mrohad
Hello all! Code is Entity bean. and I am caching all Codes using static HashMap.. when I am trying to retieve list of Code and sending the result to my register.jsp i am getting the following exception... any idea way? I would like to keep them deattached and I wonder if I can bring all their

[jboss-user] [JBoss Seam] - Re: LazyInitializationException and caching

2006-09-03 Thread mrohad
never mind I solved it , I changed my FetchType to EAGER thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969095#3969095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969095

[jboss-user] [EJB 3.0] - a unidirectonal one-to many example, anyone can help me?

2006-09-03 Thread killme2008
I wrote a example following the mastringEJB4th. 1.First,a company.java file: @Entity public class Company implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Integer id; private String name; private Set employees;

[jboss-user] [JBoss Portal] - report portlet and ServletContext

2006-09-03 Thread yxyang
Hi I am trying to using eclipse BIRT report engine to implement my own ReportPortlet. In the init() method of the portlet, | public void init() { | log.debug(init() is called); | if (birtEngine == null) { | EngineConfig config = new

[jboss-user] [EJB 3.0] - Re: @EJB injection gives null

2006-09-03 Thread killme2008
I have the same problem.any solutions? by dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969099#3969099 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969099 ___

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2006-09-03 Thread fatbatman
...also, this method would ideally return an object that does not use any hibernate classes such as PersistentSet etc, so the client doesn't require the hibernate.jars. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969101#3969101 Reply to the post :

[jboss-user] [JBoss Seam] - Seam on Tomcat Cluster

2006-09-03 Thread [EMAIL PROTECTED]
Will seam using SFSBs work in a clustered tomcat enviroment using JBoss Embeddable EJB3? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969102#3969102 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969102

[jboss-user] [Beginners Corner] - Re: What tools do I need to get start with Jboss?

2006-09-03 Thread ianfmc
Hi: to start with, I downloaded JBoss Application Server and the JBoss-IDE. Eclipse, which is used as the basis for the IDE is included in the JBoss-IDE package. That should meet your needs...I found the installation instructions to be simple and accurate! Ian. View the original post :

[jboss-user] [Beginners Corner] - Re: Basic CMR Question

2006-09-03 Thread ianfmc
So, ultimately I think the problem is with the EJB-QL, so I am starting another thread for that... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969104#3969104 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969104

[jboss-user] [JBossCache] - Re: TreeCache API auto-completion in Eclipse IDE

2006-09-03 Thread kapilanand
Thanks for responding. Well this is exactly what I was trying to do: the standard eclipse way of showing available methods, but this does not work. First I thought it had something to do with the AspectJ interation in my eclipse installation but this does not work from a fresh eclipse

[jboss-user] [JBoss Portal] - standardjboss-portlet.xml and Bridge Interceptor

2006-09-03 Thread yxyang
Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I found there is standardjboss-portlet.xml file in the jbossportal-2.2.1 distribution. Now, what is the function of this file? How to use it? I want to configure the Bridge Inteceptor for a portlet,

[jboss-user] [Beginners Corner] - Why am i getting reverted to the login page?

2006-09-03 Thread jirian
Have a freshly deployed appliacation. it has a login, during which it sets up user name in the session, and shows it on the page - this part works fine. on the top of it, there's a menu: Account Details | LOGOUT declared in struts-config as follows:

[jboss-user] [JBoss Eclipse IDE (users)] - bugzilla?

2006-09-03 Thread bugra
hi, do you have a bug reporting platform? or where i should post bug reports? thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969109#3969109 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969109

[jboss-user] [EJB 3.0] - How to know when entity is removed?

2006-09-03 Thread A_titov82
I am studying EJB 3 and there is one thing, that I cannot understand yet. In EJB 2.x in entity beans there is method named ejbRemove. I can override it and do some work when entity is been removed. For example I can send JMS messages to registered subscribers. And how can I do the same in EJB

[jboss-user] [JBoss Eclipse IDE (users)] - Re: bugzilla?

2006-09-03 Thread [EMAIL PROTECTED]
go to our main page http://www.jboss.org/products/jbosside and click on JIRA Issue tracking View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969111#3969111 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969111

[jboss-user] [Installation, Configuration Deployment] - How to Retain Admin Role of the Admin user

2006-09-03 Thread shahidsaeedkhan
Dear friends, I mistakenly Deselected the Admin role of Admin user when i was connected through it. Actually I wanted to edit the authorization of a new Role created. Now when I am signing in with Admin user, its Admin Portal Page is not appearing. Can anyone help me in this regard that how

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - MySQL , JBOSS connection

2006-09-03 Thread Rockym
Hi, I have a doubt because I'm trying to connect Jboss with MySQL, I did all that I found in the web : http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMysqlDatasource but I think the connection is not complete, how should I know if it's happening?? View the original post :

[jboss-user] [Clustering/JBoss] - Re: Weird apache behaviour in load-balancing, and form-based

2006-09-03 Thread [EMAIL PROTECTED]
Great! Well, the first thing to do is think hard about SavedRequest and see if there is any reason it can't be Serializable. If not, then 1) Open a Feature Request JIRA under the Application Server project on jira.jboss.com. 2) You need to post a patch to the Tomcat development list making

[jboss-user] [JBoss Portal] - Re: standardjboss-portlet.xml and Bridge Interceptor

2006-09-03 Thread bdaw
it just contains default values for jboss-portlet.xml file descriptor: http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html/xmldescriptors.html#d0e2678 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969118#3969118 Reply to the post :

[jboss-user] [EJB 3.0] - UserTransaction error - NoClassDefFoundError

2006-09-03 Thread A_titov82
I try to lookup UserTransaction | UserTransaction userTransaction=(UserTransaction) ctx.lookup(UserTransaction); | And here is exception: | Exception in thread main java.lang.NoClassDefFoundError: javax/transaction/UserTransaction | at my.TestClient.main(TestClient.java:26) |

[jboss-user] [JBoss Eclipse IDE (users)] - hibernate tools hangs eclipse

2006-09-03 Thread bugra
i would like to know if anyone has the same problem: from time to time (it is really not reproduceable but already happend more than a dozen time) while working on Hibernate Perspective eclipse hangs and uses 100%cpu. because of the heavy cpu allocation my whole desktop becomes unusable and

[jboss-user] [JBoss Eclipse IDE (users)] - Re: hibernate tools hangs eclipse

2006-09-03 Thread bugra
ohh forgot to tell that i'm using Hibernate Tools 3.2.0.b7 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969121#3969121 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969121 ___

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

2006-09-03 Thread petr5250
danj wrote : schrouf wrote : Up to my knowledge it has always been time from finish until next start. | | Strange. We have a nightly job that takes somewhere between 8 s and 50 min. We have configured it with SchedulePeriod = 24 * 60 * 60 * 1000. | | Using 3.2.5, the job has started

[jboss-user] [EJB 3.0] - Query parameter is modified and return as null

2006-09-03 Thread urswag
I use a stateless session bean this method. In this query the first parameter textKey is set to password. The query returns a label object with textKey field value null. It is completly unlogical, the property is different to the search property but an object is found. And as consequence

[jboss-user] [Beginners Corner] - Objects transfer to MySQL

2006-09-03 Thread Rockym
Hi; I'm trying to transfer the Persisten Objects to MYSQL, but I have a problem, I am trying to move to my database, but It only creates the table, but doesn't move to MySQL. here is a litltle part of the error. 17:38:36,552 WARN [ServiceController] Problem starting service

[jboss-user] [JBoss Portal] - usage of portlet-collection

2006-09-03 Thread prijken
In the portlet specifications versions 1.0 (final) and 2.0 (draft) a security-constraint with as a parent portlet-app, contains one or more portlet-collection elements. In JBoss Portal 2.4 this does not seem to work. I also browsed the sources but wasn't able to find a reference to

[jboss-user] [JBossWS] - Re: Problem with wsdl

2006-09-03 Thread EricYP
Hi, Steven: Thanks for you advice? I have found the file and solved the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969138#3969138 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969138

[jboss-user] [EJB 3.0] - EJB3/Jboss - binding issue.

2006-09-03 Thread heedree
Hi, I'm pretty new to EJB3 and I started doing this simple forum tutorial (http://www.informit.com/guides/content.asp?g=javaseqNum=239rl=1) I created an EAR and put the EJBs in the EJB module and the test servlet in the Web module. It deploys without errors, but when I invoke the getForums

[jboss-user] [Beginners Corner] - Updating an entity

2006-09-03 Thread hoongming
Hi, I am having some problems either implementing or understanding how entities are updated. I have created some entities that populate a Postgresql database. I have a stateless session bean that performs 3 functions, create and query. I use a client application that uses this session beans

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

2006-09-03 Thread chuaky
dear all, Not sure how to resolve this issue, so i upgrade the myfaces tomahawk version to 1.1.3. I use the instructions at: http://wiki.apache.org/myfaces/ section: Migration from previous versions Later encountered a new error which is: orgApacheMyFacesPopup is undefined. Any advices?

[jboss-user] [JBossCache] - Cannot start JDBC cacheloader

2006-09-03 Thread mitra123
I am currently trying to write a jbosscache test program, I want to connect to mysql using JDBCCacheLoader. I have read all the documentations and how to configure the cacheloader in the XML configuration file. But for some reason my program doesn't like the XML entries. I have tried different

[jboss-user] [JBossCache] - Re: Cannot start JDBC cacheloader

2006-09-03 Thread mitra123
Sorry I forgot to mention that I am able to create a cacheloader instance in a test program I wrote and the connection to mysql and all the info works properly, only when trying to use the XML file I get the error. View the original post :

[jboss-user] [JBoss Eclipse IDE (users)] - Re: hibernate tools hangs eclipse

2006-09-03 Thread [EMAIL PROTECTED]
do you have just the hibernate tools installed or also the rest of jobsside installed ? Where you editing some xml while it were happening ? Those two questions is because i know of two other issues that has this behavior: WTP issues with xml and jbosside issues with jboss as. With hibernate

[jboss-user] [JBoss Seam] - Re: what reason for Error occured while converting date.

2006-09-03 Thread gringalet
2006-09-04 13:25:25,265 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: start - START_ | 2006-09-04 13:25:25,265 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: end - END_ | 2006-09-04 13:25:25,265 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: dueDate - DUEDATE_ |

[jboss-user] [JBoss jBPM] - What does on BPM build content impact?

2006-09-03 Thread Radmir
Hi everybody, I tried to build JBOSS BPM 3.1 for JBOSS 4.0.4.GA application server and got the build which didn't work. Any attempt to get url: http://localhost:8080/jbpm failed, but after I had replaced hibernate3.jar onto one delivered in jbpm-starters-kit-3.1 package all begun to work. The

[jboss-user] [EJB 3.0] - Package ejb client application

2006-09-03 Thread aven_02
Hi, What JAR files should I package with my EJB client application? My EJB 3.0 beans use only JDBC. The jbossall-client.jar is 4M bytes which is too large for clients. Thank you, Aven View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969156#3969156 Reply to the