My machine:
physical memory: 8G
swap: 12G
The machine is running mysql and jboss 4.0.5GA.
the JBoss run.conf includes:
JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360
-Dsun.rmi.dgc.server.gcInterval=360"
How to set Java memory for the best performance? Thanks!
Dave
I forgot to mention also that if you look at the top of the stack trace, all
the fun starts with the class
org.hibernate.search.jpa.impl.FullTextEntityManagerImpl. If that is the class
of object that is supposed to be injected with
| @In
| private FullTextEntityManager entityManager
|
When I try to open the seam generated home.xhtml file with Eclipse (plus jboss
tools) on Fedora 8 I get the following error:
Caused by: java.lang.UnsatisfiedLinkError: no swt-xulrunner-gtk-3346 or
swt-xulrunner-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt
I use Seam 2.0 GA, JDK6, JBoss4.2, Ubuntu 7.10
I dropped my Ant build file and used the one that is generated by seam-gen
tool, but this time I got this exception:
|[testng] ERROR
[org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing
to Instantiated: name=Deploym
True enough. When combined with Seam, HS allows you to inject the
FullTextEntityManager directly.
However, what I am doing is still correct--at least theoretically. It is
basically what is found in the DVDStore example but with one catch. In that
case, the JPA EntityManager is injected by Se
"fjgarmu" wrote :
|
| |
| |
| |
|
I think there a couple problems here; I should have noticed them earlier.
For one thing, do you really want an s:button? Usually for "save" kind of
controls, you want an h:commandButton, because you want to submit some data,
http://jira.jboss.org/jira/browse/JBSEAM-2510
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121577#4121577
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121577
___
jboss-use
anonymous wrote : I suggest posting on the icefaces forum, and post a link back
here.
It looks like someone already beat me to it:
http://www.icefaces.org/JForum/posts/list/6923.page
Thanks for the help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121
This isn't a bug. the loggedOut event is only raised when a user explicitly
calls Identity.logout(), which doesn't happen when the session simply expires.
I'm not sure which alternative to suggest, perhaps we need a new feature to
support some kind of global session tracking.
View the origin
Fair enough.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121567#4121567
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121567
___
jboss-user mailing list
jboss-user@lists.j
I'm using the EntityQuery framework class, and it's working fine. As per the
seam docs I'm using the Example object to hold query parameters. It works very
well.
BUT, Seam is running the validations on the example object, validation fails,
and the search can't proceed. While the entity val
I'm no expert, but the examples do this:
@In
| private FullTextEntityManager entityManager;
|
| ...
|
| entityManager.createFullTextQuery(...);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121557#4121557
Reply to the post :
http://www.jboss.com
Can you show us code where it does not work?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121556#4121556
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121556
___
jboss-user
"[EMAIL PROTECTED]" wrote : If you want to "cancel" a conversation, use a
propagation of end.
Yes ... I tried ... but the point is that "end" does not seem to work for many
of us, and I really do not understand why.
@End annotation always works as expected, but "end" propagation does nothing
u
The examples are tested on Tomcat 6.0. For Tomcat 5.5, I believe that you need
to have the Sun EL JAR (el-api.jar)on the classpath.
cheers
Michael
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121554#4121554
Reply to the post :
http://www.jboss.com/index.h
Ok.
I have:
-JSF page: ReportsEdit.xhtml with a button
|
|
|
-page xml: ReportsEdit.page.xml
| http://jboss.com/products/seam/pages-1.2.dtd";>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
So you are using Seam 1.2?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121551#4121551
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121551
___
jboss-user mailing list
jbos
anonymous wrote : I wasn't looking for info about how an elresolver works,
You can't write a custom resolver without understanding the API.
anonymous wrote : Currently i just don't set the property to be resolved, and
simply return null.
| In your experience is it better to throw the exceptio
That pom shouldn't be there, I deleted it from trunk.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121549#4121549
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121549
___
j
Phew, long post.
To keep entites from being detached use an SMPC with a long running
conversation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121548#4121548
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121548
__
Sorry, I'm not really understanding what you are saying, can you explain again?
If there is a problem with s:defaultAction (it behaves differently to pressing
the commandButton with the mouse) then we should fix it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic
You can't do it. In fact, you can't disable the session in servlet afaik.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121546#4121546
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121546
_
Please file a JIRA issue for this. We should probably issue a WARN as it's not
really an ERROR, but a programmer mistake.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121545#4121545
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
"brachie" wrote : In my opinion injecting one SFSB into another should be
avoided, but maybe I am wrong..
Why?
The following questions are in my mind:
anonymous wrote : Should there be one SFSB for every persistent class of your
domain model which acts as a manager and manages the actions con
If you want to "cancel" a conversation, use a propagation of end.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121543#4121543
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121543
_
"ruettimac" wrote : a) Injecting stateful session beans into other stateful
session beans?
No problem here, just use @In
anonymous wrote : b) Are there any problems regarding the different seam scopes
like CONVERSATION and long running CONVERSTAION scopes beans?
Like what?
anonymous wrote : c
You are ABSOLUTELY RIGHT. I am never creating daughter, I have just a
reference. My code should be:
| @Entity
| @Name("mother")
| public class Mother {
|
|private Daughter daughter = new Daughter();
|
|... setters and getters
| }
|
When poor old Seam tried to set th
1) POST YOUR EXCEPTIONS and stack traces.
2) Use code tags in your posts.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121540#4121540
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121540
_
Finally I've found the cause.
The page which does not work has page parameters in pages.xml. If I remove
them, that page can be called (but I need them).
But now that I found the reason, I still don't know why this is an error and
what I can do.
Can you help?
Marcus.
View the original post
I am doing the ampersand sign (&) followed by "le" and followed by a ";"
If I give that string, the post says it is <=.
Why does parsing components.xml give an error ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121538#4121538
Reply to the post :
http://w
A lot of investigation later:
Seems this time I have a really big problem with this. I have a new component
which is very similar to the ones I already had (did not find any convincing
difference until now), but it does not work.
The new component has a @Create @Begin method to begin the conver
Oh, maybe I misunderstood the situation.
Did you appropriately change the page.xml file? (ReportsHome.page.xml, iirc)
Post what you have.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121534#4121534
Reply to the post :
http://www.jboss.com/index.html?modu
thanks for your quick reply.
I try it putting in the ReportsEdit.page.xml
But the behavior is the same.
Is it ok?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121533#4121533
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
By default, changes made to managed objects are flushed upon transaction
completion, even if an update() is never manually called.
You probably want to use manual flush mode. It's in the docs.
There are also other posts about it.
View the original post :
http://www.jboss.com/index.html?module
Hi,
I'm using JBoss AS 4.2.2 GA and was trying to understand why every invocation
on my slsb resulted in a new instance and why none of these instances were
destroyed (i.e. why the @PreDestroy method was not invoked) until I stopped the
entire application server. I finally understood that the re
Do you ever create a Daughter object?
I think you may need to post more code, and details on what fails. It looks
like what you are trying to do should work, but it's not completely clear from
what you've posted so far.
View the original post :
http://www.jboss.com/index.html?module=bb&op=v
In the first code snippet please ignore the annotation @Stateful. It is just a
typo (it s not in my code). My code is just:
| @Entity
| @Name("mother")
| public class Mother {
|
|private Daughter daughter;
|
|... setters and getters
| }
|
I found a workaround defini
Thanks for ur reply matt.drees.
I try writing a new method mysave in ReportsHome:
| public String mysave(){
| if (this.getInstance().getRadiologos().getId()==0 &&
this.getInstance().getReportstatus().getId()>=4){
| this.addFacesMessage("ERROR");
Where do you upload the user's file?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121525#4121525
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121525
___
jboss-user mailing
anonymous wrote : Didn't knew about a state-xml-file before?! Do I need this?
In the jms dir is no state-xml-file, none for hypersonic and - clear - non for
mssql. I also not found a mssql-jdbc-state-service.xml in the googled sites or
in the example dir of jboss...
JBoss-4.2.2 does have hssql
Maybe the name of the service corresponding to your EJB has changed from 4.0.5
to 4.2.2. Go the jmx-console (http://localhost:8080/jmx-console) and see what's
the name of the service which corresponds to your EJB and then use this in the
depends tag of your MBean
View the original post :
http:
Let's continue this discussion in your other post at
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128054
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121522#4121522
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
anonymous wrote : I tried a lookup via JNDI => no success
(NameNotFoundException)
Looks like you are using an incorrect JNDI name to do the lookup. Follow the
steps below to figure out the exact jndi-name to which your bean is bound and
then use that name to do the lookup:
- Go to http://< se
Looks like you are not allowed to connect to 10.173.172.176:1099. Does
telnet 10.173.172.176 1099
work?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121520#4121520
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=412
Everything looks fine in these logs. Hibernate is initializing as part of your
application. Where/when do you see the errors?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121519#4121519
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
"jdijkmeijer" wrote : still wondering why @work I can use debug, we use there
commons-logging and spring together with hibernate3.
|
|
As mentioned in the bug report, the behaviour depends on the version of log4j
being used. Not sure how it behaves with commons-logging.
"jdijkmeijer" wro
Deploy your application in a exploded format as mentioned at
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment. That way you can
upload your files in the exploded archive
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121516#4121516
Reply to the po
Ahh that explains it, still wondering why @work I can use debug, we use there
commons-logging and spring together with hibernate3.
Of course the Threshold in the appender needed to be adjusted as well.
Looking at the code, I'm wondering if it would be valuable if you can specify
whether you se
I would like to get the client IP address in a portlet. I have searched around
and it seems this is not possible in the portlet architecture. I would like to
do this to the portal specs but if this is not possible because it is lacking
in the specs what is the workaround for jboss?
Thanks,
I have an aspect, defined as
How do I programmatically make an advice out of its 'render' method and add it
to the chain of interceptors, same as I do with next xml:
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121511#4121511
Reply to the post
Hi,
I have a major problem that I am finding hard to debug. I am using version
3.2.2 of jbpm on weblogic 9.2. I have an stateless session bean that is using
container managed persistence. The problem I am seeing is that when I make the
transition to an end state in the graph it is falling ov
Sometime back i had run into a similar issue and for me it had turned out to be
my setting in IE/Firefox. I had proxy enabled in my browser but had missed out
adding "localhost" in the "No Proxy for" ("Do not use proxy for") list in the
IE/Firefox settings. Adding localhost to that list had fixe
many thanks!!!
editing jboss-beans.xml and commenting webservicehost solved my problem.
now the ip or url from the get request is then used as url prefix for the
schemalocation.
greetings
sascha
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121507#412150
Great thanks a lot ... it works but 1 (small) issue left.
If I do scoped classloading with a jboss-app.xml like:
|
|org.test:archive=TestEJB.ear
|
|
it won't work (of course?) ... any possibility to get it working?
View the original post :
http://www.jboss.com/index
Hi,
I solved this issue.We should keep C:\WINDOWS\System32 in environmental PATH
variable
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121500#4121500
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121500
Hi, probably I am not doing something right. I have an application EAR file
it is a shopping platform with a catalog. This shopping platform has different
payment methods. The user uploads a class file with a payment method and the
platform starts using it.
But the problem is that on shutdown
@Cyrill: Interesting questions! I would also be very interested in an answer,
since we are currently using Seam in our project and having a proper
architecture is essential. I agree, that the seam examples are a bit too simple
as template for real-world application architecture.
In my opinion i
Hi,
I have downloaded jboss-4.2.2.GA but it is not running.can any one suggest me
how to configure JBOSS on windows 2003 Server Enterprise Edition
Environmental Variables
JBOSS_HOME:C:\jboss-4.2.2.GA
JAVA_HOME:C:\Java\jdk1.5.0_12
CLASSPATH:C:\Java\jdk1.5.0_12\lib\tools.jar;C:\jboss-4.2.2.GA\bin
yes, just like in seam-gen...just because its in the IDE doesn't change the
behavior ,)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121493#4121493
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121493
__
"AJanz" wrote :
| http://ip-adress:8080/WebService/project?wsdl
|
| gives an error
|
What error?
anonymous wrote :
| how can i publish a web service under a differen url?
|
What exactly do you mean? Take a look at this:
http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#How_does
"AJanz" wrote : something i must do wrong.
|
| i edited the wsdl file, but then could no longer build the project because
|
|
|
While editing the local copy of the wsdl, also change the import url with
something like
and add the myschema.xsd to the archive you deploy, along wi
This is my TBL_PRODUCTS table structure is
| PRODUCT_ID pk
| PRODUCT_NAME
| CATEGORY_NAME
| SUBCATEGORY_NAME
| BRAND_NAME
|
This is my TBL_CELLPHONE table structure is
| PRODUCT_ID pk
| BLUETOOTH
| CAMERA
|
This is my TBL_CELLPHONE table structure is
|
Hello,
I had the similiar situation and will be very interested in finding the right
solution. Actually I stop using conversations due to the fact that it will be
hard to me to understand well how they should be used in the situations like
this. Although I like the concept!
View the original p
@MSchmidke: Hallo Landsmann ;-)
my Seam app has nearly the same structure as yours (RichFaces DropdownMenu and
conversational pages).
As fas as I understood, creating new conversations and letting existing
conversations timeout (this is the case when using propagation=none for
menu-link) is ok
Using http://localhost:8080/jmx-console, I'm still getting a timeout after a
few minutes. Since the issue persists, I'm now considering reverting to an
older version to see was happens. Thanks again PeterJ.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=412148
65 matches
Mail list logo