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
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
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
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
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
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
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
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 :
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
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
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
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;
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
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
___
...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 :
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
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 :
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
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
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,
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:
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
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
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
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
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 :
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
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 :
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)
|
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
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
___
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
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
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
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
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
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
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
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?
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
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 :
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
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_
|
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
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
45 matches
Mail list logo