Thanks for the reply,
Since the Jboss AS has build in the logic to detect the invocation is within
the same VM, so the EJB call we make default is set to not using remote
invocation. Thus, we dun really need to mark the session bean as clusterable.
View the original post :
http://www.jboss.com
"gsegura" wrote : Hi,
| it could be just the different variable name:
|
| private EntityManager em;
| and
| private EntityManager entityManager;
|
| regards
and if you don't want to use component name has field name, specify the
component name in the "value" parameter of the In a
Hi,
Check out
http://www.michaelyuan.com/blog/2007/10/09/jboss-seam-project-setup-with-maven-?-part-2-ear-deployment/
Regards,
Cyrill
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116218#4116218
Reply to the post :
http://www.jboss.com/index.html?module
So if the same method that is annotated with @begin is invoked within the same
bean -instance- a new conversation is created without exception? what's the
difference between a new conversation starting from the same bean instance or
from different bean instance? why the behavior is different?
"trouby" wrote : I guess I'm doing something wrong, as in seam booking example
the 'setHotel' is annotated with @Begin and can be invoked many times without
this exception
No, you didn't do anything wrong. As I posted above, the @Begin in booking
example always was invoked in the same bean ("hot
Thanks for the reply. I removed all jar files from the ear file. Only the EJB
class files are in the EAR now (other than XML config files). I also ran the
jmx-console suggestion, plugging in org.hibernate.type.StringType as the class
to search for. Only one occurance was found, in the
serve
Has anyone seen this exception. I am running jboss 4.0.4-GA and am using jpa
with toplink essentials to read from the database ..
Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Or
acle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.es
sent
Hey,
I still don't get it, what about links that -should- start a new conversation?
is it possible to combine begin/end annotations together for the same method?
like ending the current conversation and starting a new one?
btw, I have a seam link which invoke an method that is annotated with @
Hi,
it could be just the different variable name:
private EntityManager em;
and
private EntityManager entityManager;
regards
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116210#4116210
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
hi,
I have deployed the EJB3 jar(having 1 stateless session EJB) in the J2EE
1.4 EAR in JBOSS 4.0.4. The log file and the JNDI dump(from the JMX admin
screen) show that the EJB has been deployed. But when I try to lookup the EJB
from an external standalone java program I get the following e
Thanks for the response. What versions of Seam and JBoss AS did you use?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116207#4116207
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116207
__
Hey,
I'm not sure what went wrong for you but I tried the example and it works
pretty well,
it requires extra code(transferring objects between both sides is not that
easy) and it's not safe typed with the approach that is used in the example,
If you are planning to heavily use these both te
Hi,
I have been using jboss 4.0.4.GA and have been happy with it . When i switched
over to use jboss 4.2.1, I am getting the following marshalling exceptions ..
15:45:34,441 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
15:45:34,492 INFO [AjpProtocol] Starting Coyote
I need to be able to select with an IN query and a collection... something like
this:
| createQuery("from Campaign campaign where campaign.advertiser in
(:advertisers) order by advertiserId").setParameterList("advertisers",
selectedAdvertisers)
|
The EM doesn't support the setParameterLi
Hi i'm having the same problem ... i added the TrivialService.class to the
classpath but to no avail.
Can you please tell me how you solved the problem ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116203#4116203
Reply to the post :
http://www.jboss.com/
I would like to iterate through all the tokens in a ProcessDefinition (in order
to print out the token.getId() for each node). However, very likely because I
don't understand how the jbpm engine code is supposed to work, I'm only getting
the root token back, even when the diagram contains sever
We have a requirement to produce daily reports that are always ran at the same
time of the day. These reports are run in a "batch" mode.
Within our Seam application, users can also schedule their own reports to run
based on their preference.
To meet the second requirement, we have configured
I tried adding the DLL to the JBoss Web wiki, but after logging in, when I
click on the "attach" link, I get the following output:
anonymous wrote : ERROR
|
| There is lack of page name or page name should be uppercase
So I did the next best thing - uploaded it to my cable account. You can
I am new to JBoss and hope someone is willing/able to help with this problem.
Thanks in advance for any help you can provide.
I've successfully deployed Session Beans and performed JNDI lookups on them,
but cannot seem to do the same with a BMP. I've read many posts and tried a
number of diff
Hello,
I currently have JBoss 4.0.3SP1 and have it running using clustering. When I
start my 1st node, it seems it retains all the previous instances of that node
in the TreeCache. I'm trying to clear this cache. View below -
GMS: address is qasite40:32793
---
Just wondering if anyone has ideas on how to resolve above error?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116195#4116195
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116195
___
its the wtp2.0 base that provides the timeout option
- kinda remebered hearing about and my europa build came with wtp1.5 like most
peoples i think.
I found you update after i tried to get a complete new build.
I had to go to the eclipse wtp site and got the 3.4m3 build and overlaid all
the
I have not solved this problem either and has not time to closely look at how
SeamResourceServlet is integrated with GWT. Following are what i have tried and
still Not able to solve a simple RPC call yet.
1) Starting from Seam-2.0.1CR1, i rearrange jpa booking example to make sure
that it works
Running on JBOSS-4.0.5GA with xfire-2.1.6 soap stack.
Changing to spring 2.5 declarative transaction and have an application context
doc (transaction.xml) with the following beans tag;
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:ao
I have a JBoss application that I build into a Jar file and place in the
server/default/deploy directory of my JBoss installation. The applications
deploys perfectly. What I want to do is have two versions of my application
deployed on the same JBoss server. The code will be intentical except
I have been unable to find any example of using something like
#{EnumClass.values()} in the documentation. When I try it seam tries to
resolve EnumClass as a managed component and fails. Can anyone help me out
here?
|
|
|
I'm using Seam 2.0.0 GA.
View the original post :
http://w
About hot deployment:
When I use java to write service component, and modify the java source code,
hot deployment take effect. But when I use groovy to write service
component,the hot deployment effect disappear.
Can anyone help me?
View the original post :
http://www.jboss.com/index.html?mo
"sdegardin" wrote :
| 1: use @In annotation. (recommended)
|
Thanks for your suggestion. I used the @In annotation but the problem is that
the second Seam component does not get it's Seam managed EntityManager set up
correctly.
Basically, I have two Seam components both involved in the s
sorry However, no null pointer exception was NOT thrown ..and deployed
later on i.e. after server was started.
"sampatn" wrote : However, no null pointer exception was thrown if jar did not
exist in deploy directory and copied later on after server was started.
|
| Is this a problem wit
However, no null pointer exception was thrown if jar did not exist in deploy
directory and copied later on after server was started.
Is this a problem with the deploy/initialise order?
Nilesh
## successful start only if jar did not exist in deploy directory but later
on deployed after star
Hi Pete,
It must be unit testing. Here is what I have tried with best of my knowledge.
Here is my @BeforeClass method :
@BeforeClass
| public void init(){
| try {
| HibernateSessionFactory hsf=new
HibernateSessionFactory();
|
A JIRA issue has been raised:
http://jira.jboss.com/jira/browse/JBSEAM-2442
Included the conversationId along with the event so that you actually know what
conversation it was that timed out ;)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116178#4116178
R
Hi all,
I have migrated my aplication from 1.2.1GA (myfaces) to the 2.0.1GA with the
JSF 1.2. I have an entity named Request. But in the page is automaticaly
outjected component named "request" type RequestFacade. But my aplication use
the "request" as the name of the entity.
Know somebody how
I am having the same problem too. I downloaded the jboss beta3. wrote a sample
HelloWorld Stateless session bean and I found the same problem.
14:29:56,178 INFO [EJBContainer] STARTED EJB:
com.ns.learn.ejb3.beans.helloworld.HelloUserBean ejbName: HelloUserBean
14:29:57,304 INFO [EJBContainer]
I tried to get the Flex + Seam example from the wiki working, using the
instructions they give:
anonymous wrote : 1. extract files to the
SEAM-HOME/examples/remoting/helloworld/view dir
| 2. run ant
| 3. deploy seam-helloworld.ear
| 4. Open a browser and go to
http://localhost:8080/seam-h
Hi all,
I was able to get the jaxrpc-rpc style sample that is shipped with the jbossws
1.0.4.GA up and running. After running the build script in the samples root
folder , i grabbed the .jar and .war generated in the samples/output/libs and
dropped them into the jboss deploy folder. I also man
Done:
http://jira.jboss.org/jira/browse/JBSEAM-2441
But this really is a long-standing bug / deficiency in dom4j. It should have
various configuration options of what to do if a DTD can't be found:
1. Silently ignore the problem and continue parsing
2. Throw an exception that says, "I don't ha
I solved the problem. The solution was using instead of
.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116171#4116171
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116171
___
Hi !
I assume you use Eclipse 3.3 and WebTools 2.0 ?
In Preferences -> Server, there is a setting "Server timeout delay". Set it to
"unlimited".
Hope it helps
Wolfgang
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116170#4116170
Reply to the post :
http:
Hello,
I´m new to Jboss and Jboss Tools.
I tried to start Jboss (4.2.2 GA) with Eclipse and Jboss Tools. In the console
there appears the message that the server started successfully.
13:43:16,613 INFO [Server] Starting JBoss (MX MicroKernel)...
13:43:16,613 INFO [Server] Release ID
due to the outdated document I followed, I was asking such a question.. But I
think sb could just warn me about it.. Anyways, thx..
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116168#4116168
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
"evdelst" wrote : Easiest is to add the persons to a list you store in the bean.
|
| eg.
|
| private Person person;
| |
| | private List list=new ArrayList();
| |
| | void add() {
| |list.add(person);
| | person = new Person();
| | )
|
| Then in y
Hello
I am not able to create one seam project with the wizard...
Further than 2 small warnings (cant find one variable called "projectName")...
I get one error on deployment (i didnt add any file nor code...just the one
that the wizard create) in org.jboss.seam.servlet.SeamListener
The error
Hello,
As far I know, there are 2 ways :
1: use @In annotation. (recommended)
2: use Component.getInstance() (from non-seam component)
Have a look for options in booth technique.
Correct if I'm wrong.
Cheers,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&
Hi,
I know it is very easy for a JSP or XHTML to refer to a Seam component through
an EL. However I am wondering how one Seam component refers to another? I do
not wish to have one Seam component instantiating another, I wish one to look
the other up, similar to EJB?
Any ideas?
Thanks in advance
I was hoping I could avoid a custom implementation, but it seems the only
(proper) way to go here, indeed. Thanks for your reply :D
Rodrigo
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116162#4116162
Reply to the post :
http://www.jboss.com/index.html?mod
Is it possible to "reset" the render parameter for all portlets on a page or
the entire portal? And how could I achieve this?
I am using the JBoss Portal 2.4 and there are two occasions where I would like
to present the default view of a page to a user (i.e. the view he sees when
visiting the
It depends on which sort of test you are doing... So, which one?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116160#4116160
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116160
__
Please a JIRA issue for a better error message from Seam if the dtd/xsd can't
be found
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116159#4116159
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116159
___
I tried on the same application using the same config and the same EJB's.
t works as expected when using JSF.
However, when I do the same from my "hand made" Servlet using either
ContextualHttpRequest or manualy start Seam context as in the SoapHandler
It Does not work and I have the above excep
That sounds unnecessary (not to mention a hassle) for a project that was
already working fine in seam 1.2 . Besides, I tried the relevant XML files from
the Seam 2.0 examples, and that didn't help either.
Can this be due to the change from MyFaces to Sun's RI ? If so, where do I look
for a solu
Hi All,
I am facing a weird problem in my J2EE app. I am using spring and springs
quartz scheduler utility to schedule my jobs in web app. When ever i do nor mal
deployment (cold deployment) every thing goes smooth. But if i redploy the ear
while server is running (hot deployment) then scheduler
Using v3.1.4...
1-In Node.java, comment out line 375
//transition.take(executionContext);
2-In Token.java, put this after line 184
Transition nextTransition = null;
while ((nextTransition = executionContext.getTransition()) != null) {
nextTransition.take(executionContext);
}
Pleas
53 matches
Mail list logo