I adopted your proposal. And... it works, so thank you very much for the hint.
But, when deploying an example and starting the AS now I still get tons of
those java.lang.NoSuchMethodError:
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.get
ValidateOnMatch()Z exceptions.
do you know what class is refering to WebAppRegistry?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956609#3956609
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956609
Documentation for the log4j properties file can be found at the log4j web site:
http://logging.apache.org/log4j/docs/manual.html
JBoss-specific logging guidelines can be found at
http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging
View the original post :
Thanks for the infos.
I will tried right now!
Yv
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956540#3956540
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956540
So, in case of a stateless Bean Seam uses for Injection via @In a common
JNDI-lookup to the containers registry(ENC) ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956544#3956544
Reply to the post :
change the java command line and add
-Dhibernate.bytecode.provider cglib
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956551#3956551
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956551
Hello GeckoAfrica,
Thank you so much for your information.
It is very much useful.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956542#3956542
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956542
Think we've solved it. JBoss wasn't being shutdown properly and possibly
holding on to things it shouldn't have done. From a clean start everything
looks ok.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956543#3956543
Reply to the post :
you don't give enough information. But hibernate does not destroy relationships
:-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956548#3956548
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956548
Hi there,
i'm new in jboss use.
I have develop an eda platform based on jms in jboss. I need to count a message
jms that there are in the topics. How can i do it??
Please Help Me.
It's very importante
Thank you!
View the original post :
deploy multiple jbpm instances, each with it's own config and pointing to a
certain datasource
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956550#3956550
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956550
Hi
I need to create/destroy topics/queues on the fly in JVM. Is there a way I can
access the admin interface (as Java interfaces/classes) where I can do these
operations.
Thanks
Raghu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956541#3956541
Reply to
remove @TransactionManagement(value = TransactionManagementType.BEAN)
in most case you don't want to handle tx management yourself
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956549#3956549
Reply to the post :
Hello,
In JBoss Guide 4.0.3, at page number 84,
In section,
2.4.2.6. Hot Deployment of Components, the URLDeploymentScanner
Said that,
anonymous wrote :
| ? Filter: The class name of a java.io.FileFilter implementation that is
used to filter the contents of scanned
| directories.
i need the same configuration.
we want to host our jBPM Application on one of our Servers.
Every vHost should have it own DataSource.
Is there any possibility to realize that?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956539#3956539
Reply to the post :
Hello
I get a
| 2006-07-10 16:34:24,140 DEBUG
[org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
| java.net.SocketException: socket closed
| at java.net.SocketInputStream.socketRead0(Native Method)
| at
i would assume that when a method annotated with @Remove @Destroy is executed
(SFSB), the persistent context is flushed and changes commited to the DB when
this method is invoked ?
i dont see the modifications to the entity beans being commited to the DB after
the execution of the above
@EJB is EJB injection. For a stateful bean, you will get a new instance
created when your other been is created. Think of it as a private instance
that Seam knows nothing about - nobody else can inject that instance. For
stateful components, you are more likely to want instances to live in
http://jira.jboss.org/jira/browse/JBSER-83
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956615#3956615
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956615
I've used struts in the past and have a new project that I'd like to do with
Seam.
I'm not incorporating hibernate due to my inexperience with it. I need to know
how to inject a DataSource that's defined in ??-ds.xml in the deploy directory.
There are circumstances where I need to access
Sorry for posting in the wrong group.
I have posted this in JBoss Seam group at
http://www.jboss.com/index.html?module=bbop=viewtopict=86483start=-10
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956621#3956621
Reply to the post :
This is great like this. thanks for sharing your components !
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956622#3956622
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956622
Hello,
We are using the Data Transfer Object (DTO) pattern to pass data to our
clients, rather than passing up the entity beans. Unfortunately, due to time
constraints, we may not be able to switch to passing the Entity Beans directly.
We are having a problem dealing with optimistic locking.
Try changing the folder name to
C:\jboss-4.0.3\server\default\deploy\greeterapp.war.
In Tomcat, all archives are war files, so you don't have to say that they are.
In JBoss, you can deploy many different types of archives (war, ear, sar, etc)
so you must identify them by their extension.
Is onLoad() returning null in the cases where @Begin is failing? The
conversation interceptor interprets null as a failure condition.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956617#3956617
Reply to the post :
WebAppRegistry has been renamed to PortletApplicationRegistry in 2.4. Are you
using WebAppRegistry directly in your code? Also, did you update your
deployment descriptors?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956619#3956619
Reply to the post :
jaijiran,
sorry to bother you again.
Now as I have said, I have no problems building the extra trace level, but when
I call mylogger.trace() method, it is not showing up in the console and in the
file.
I have log4j.xml
which I have modified :
!-- start of what I have actually added
Oh, that would explain it, thanks.
Yes it is returning null, as I thought that was the appropriate result in the
pages.xml if you don't want to change the navigation. If I return a non-null
result, the navigation handler will be invoked. Is there a happy medium (like
Outcome.REDISPLAY)?
View
Hello,
In my junit code, I constructed a decision node and added transitions to it.
But I do not know how to add the decision handlers. The purpose of this unit
test is to prove all node classes can be created programmatically. Here is my
junit test code. The AmountDecisionHandler is a
Hi,
We are using oracle 9i, but hit a limit when sending messages over 4k in size.
We normally get an error that the end of the communication channel has occured.
I see that there was a similiar problem in MQ, and that in the examples, a fix
is shown using the OracleThinPersistenceManager.
http://jira.jboss.com/jira/browse/JBSER-83
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956629#3956629
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956629
I don't think we create a datasource component. You might be forced to fall
back on EJB3 injection. For example:
| @Resource(name=jdbc/whatever, mappedName=java:/DefaultDS)
| private javax.sql.DataSource ds;
|
View the original post :
Hi folks,
I'm working on a web site which needs to integrate web pages generated using
different technology, such as PHP and Ruby On Rails. The backbone of the web
site is going to based on the Portal, due mainly to the content management
system but also because most existing work is in Java.
You have to add the Handler to the decision node for it to work.
Look at the API for Decision.
There's a setAction method. Create a new action and set it to the decision
object using that method.
You'll have to investigate what creating a new action involves (you have to
create a new Action
Hey guys,
I was wondering,
Assuming I have an entity with one_to_many relationship, i.e:
| class X {
| String name;
| CollectionY yList;
|
|@Column(name=NAME)
|public long getName() {
|return name;
|}
|
| public void setName(String name) {
Right, you should definitely not use javax.faces.CONFIG_FILES to reference
/WEB-INF/faces-config.xml.
I don't know what your other exceptions are about, I have never seen them
before. Probably not related to Seam.
View the original post :
I put more research into it - it seems that this one is not deadly. I can send
1000 messages, close the ProducerManager, get the Exception and then can just
send the next 1000 messages (with a new ProducerManager).
If it's true, that the Exception means that the client is not reading messages
trouby wrote : but since JSF/Seam limitations(or am I wrong?), I can't pass
parameters to methods and execute them
This is a limitation of JSTL-EL. In our experimental JSF fork, Stan has
actually implemented method parameter support, but note that we have no current
plans to productize this
No, you could use an EJB3 container-managed extended persistence context in a
stateful session bean.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956639#3956639
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956639
You do not need pages.xml at all, it is an optional file!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956640#3956640
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956640
Hello.
May I ask here about implementation details?
Gavin, why do you keep conversation scope variables directly in the session
context map?
Why do we need so complicated scheme with ?additions? and ?removals? in the
ServerConversationContext? What if we have just a simple Map inside
For tweaking, a servlet filter seems the right approach. Perhaps you might
like to take a look at SiteMesh for this kind of work? If so, let me know how
well sitemesh integrates with Seam...
I also added this issue, though it is probably not what you want:
The documentation says they default to conversation scope but as far as I can
tell they are going to event. Am I missing something?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956643#3956643
Reply to the post :
I think your approach with merge() in a non-transactional method is the correct
one. HEM should _not_ throw an exception if the PC is an extended PC. So either
(a) your PC is not an extended PC and it should be or (b) this is a bug in HEM.
View the original post :
[EMAIL PROTECTED] wrote : Have your start-node transition directly to a
decision node. When the process is signaled, you will go through the decision
node and, I assume, to a page node for display. If you are in the situation
mentioned where you need use start-page, you I guess you'd need to
I'm replacing part of a struts web application with Seam and I'm having some
strange problems with pages.xml
Problem one: I have a pages.xml that runs an action on pageload that grabs some
request values and stores them in a session scoped Seam component so that I can
use them later. However,
Hey,
Nothing, no errors in h:messages/, nothing at the backend (server logs), but
as I said, it's for sure related to the checkboxes, no clue what...
any way to debug such a situation? i'm clueless...
thanks for answering :)
Asaf.
View the original post :
FrustratedBySeam wrote : The next problem is that when I delete a child row,
the action is persisted to the db. Is there a way to stop this.
One way to stop this is to use TransactionType.NOT_SUPPORTED
View the original post :
I have spent 3 days to migrate seam application working well on JBOSS
JBoss_4_0_4_RC1 date=200602071519 and Seam 1.0 beta 2
I had many issuse with EJB migration, but i have fixed it. But Seam is not
working. I have used special JEMS installation (JEMS-installer 1.2.0-beta) Now
seam
Try beginning the conversation from a Seam page action.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956650#3956650
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956650
Nice. It might be worth including this in Seam.
Can commons-email also be used for processing incoming emails? If so, could get
something decent be combining this with JCA message inflow mapped to a
message-driven bean.
View the original post :
http://jira.jboss.org/jira/browse/JBSEAM-300
I also included some sueggestions for possible ways to implement it.
Thank you.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956654#3956654
Reply to the post :
Any non-null result that does not have an explicit navigation rule defined is
ignored by the navigation handler So just return success.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956657#3956657
Reply to the post :
Petemuir and Gavin,
Thank you very much for your directions, I fixed my problem after removing
javax.faces.CONFIG and recoding my web.xml.
I have one more question, did anyone ever combine faces/tiles with facelets? Or
is it possible? Thank you.
Best regards,
GUS
View the original post :
How do I specify the pageflow to start from pages.xml?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956659#3956659
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956659
Do we have a component registry? It might be interesting to start collecting
some of these to give seam developers more tools to choose from.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956660#3956660
Reply to the post :
You must retrieve the entity from the conversation-scoped PC, and then whenever
a transaction commits, changes to the entity will be flushed to the database.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956661#3956661
Reply to the post :
Not at present no, sorry.
Basically, for now, just use the capabilities that are built in to EJB3.
Seam 1.5 will provide deep integration with the WS/ESB layer.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956663#3956663
Reply to the post :
What version of myfaces are you using?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956664#3956664
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956664
No it can only send email.
When I wrote this I started off with the JavaMail API (which jboss has an impl
of) which CAN be used to receive email but changed to commons email (which is
build on JavaMail API) as it presented an easier to use interface. And I have
no need to receive emails ;)
I
Was this fix incorporated into 2.4? I'm getting the same error:
| 2006-07-10 13:20:06,109 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport]
Unsuccessful: create table JBP_OBJECT_NODE_SECURITY_ACTIONS (PK number(19,0)
not null, ACTIONS varchar2(255 char))
| 2006-07-10 13:20:06,109 ERROR
I have not looked at Ajax4JSf before, so I can't help you with your immediate
problem - try using your debugger.
Our plan for partial rendering in JSF was to implement something probably quite
similar to Ajax4JSF on top of the work that Jacob/Adam/Ed have been doing.
Actually I was going to
bambata wrote : So, in case of a stateless Bean Seam uses for Injection via
@In a common
| JNDI-lookup to the containers registry(ENC) ?
|
|
In the case of a SLSB, @In does a JNDI lookup (global or ENC). In the case of a
JavaBean, it does a new.
View the original post :
I worked around it by changing the mapped table name from
JBP_OBJECT_NODE_SECURITY_ACTIONS
to
JBP_OBJ_NODE_SEC_ACTS
in the hibernate mapping file. Seemed to work (after I dropped the schema and
rebuilt), but I'm surprised it wasn't caught before.
pch
View the original post :
The whole area of processing email is an important one that I wanted to get
sorted out, but it just keeps getting pushed and pushed...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956670#3956670
Reply to the post :
Hi cpob,
Thanks for your response. The Action allows to set up handler?s trap one of the
below event type. I don't think you can use it for setting up Decision handler.
I think API for setting up decision handler in Decision class is missing or
may be I am missing something here. Also I have
Right, but EJB3 injection is just perfect here, no need for anything new, I
guess...
Of course, it would be -totally- trivial to create a manager component for a
datasource, but I don't see the need.
View the original post :
This is all designed to minimize the traffic involved in replicating changes
across a cluster.
Your proposal would require replicating the entire conversation on each request
to the server.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956674#3956674
Reply
The docs are wrong.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956675#3956675
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956675
-
Using
I think it is great to have a component for email manipulation, but IMHO this
concern is orthogonal to that of a web framework. Including something like this
in the Seam standard would add unnecesary complexity to the framework and its
documentation. Again, IM(Very)HO, I see a place for a
oabidian wrote : Right click and remove from server. Does not remove it from
the disk (removes it from the view but not disk). Anyhow, I am giving up on it.
I will wait until a stable release is available (JBoss Eclipse IDE).
| Thanks for the replies.
Thanks for reporting this, oabidan. I had
Tim,
Thanks for attempting and succesfully reproducing. I have been away from the
net for awhile with heath issues. I was able to figure out what was happening.
I was attempting to re-subscribe with the same clientID (not subscription ID),
and it was taking awhile for the jboss server to
Check the Seam startup log, to make sure that all your components are actually
getting installed.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956679#3956679
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956679
Note that the correct way to handle this problem today is to put a mutable
component in the parent conversation context, and set a property value from the
child conversation.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956680#3956680
Reply to the post :
Add a @Begin annotation to the page action method.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956681#3956681
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956681
facelets has ui:composition/ui:define which lets you do the stuff that tiles is
mostly used for. I understand that tiles has some extra functionality but are
you sure you need it?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956682#3956682
Reply to the post
Hey,
I dont think this is the problem,
the stateless bean is accessible ( I use a DataModel to display the dataTable
where each of its rows is a checkbox ) and the methods are accessible, the
problem -ONLY- occures when I use a 'selectBooleanCheckbox' where its value is
an array! when the
Problem 3: So, trying it a new way, I had the pages action start a conversation
by invoking a method with the following annotation...
@Begin(id=1)
in a stateful conversational bean. However, when submitting the form on the
page, the following exception is thrown...
14:15:21,805 ERROR
I'm having the same problem with my application (I use latin characters,
ISO8859-15). But the weird thing is that my windows installation seems to have
no problem. The same version of JBoss on both machines, but my test server is a
RedHat AS. In linux, JBoss seems to be re-encoding the UTF-8
Cool, but thanks,
I'll stick with the @Transient pre-loaded data options for now...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956687#3956687
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956687
So then it sounds like a pure-jsf problem, nothing to do with Seam, right?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956688#3956688
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956688
Hello
I would to use import.sql to setup the data. When I use
anonymous wrote :
| insert into Assortment (assortname) values ('Antiquitäten Kunst')
| insert into Category (categoryname) values ('Antikes aus Glas')
|
assortid is the foreign key of the category table. It is set to null.
If the page action begins the conversation, there is already a conversation -
so you should not have a @Begin annotation on the form action method.
This is not in any way contrary to the documentation.
View the original post :
Koen,
You mentioned this issue is solved. Has it been released yet? It's still
unresolved in jira (http://jira.jboss.com/jira/browse/JBPM-651) I mentioned
this problem in another topic
(http://www.jboss.com/index.html?module=bbop=viewtopict=68996) and Ronals
said that my problem is that
I need to develop a WS starting from WSDL.
I'd like to implement it using an annotated EJB.
I generated the artifacts using wsimport tool from jax-ws 2.
The generated SEI seems to be incompatible with JBossWS.
For example it contains the partName attribute for the WebParam class but the
I'm not sure, but probably...
Is there any way to see if the Map i'm trying to set is really outjected?
Seems like JSF fails before the invoke-application phase if the property is not
available...
This is the property in the Statless bean:
| @Out(scope=ScopeType.EVENT,required=false)
|
Gavin...
I think you misunderstood me. There is no form action that starts a
conversation. That method annotated with @Begin is the method that the page
action is calling... not the form action. Either way, the documentation clearly
states that calling a method annotated with
Hello,
We have been testing our code with 1.4CR2. We have found that if we put an
object to the cahce with Transactions enabled the cache will thrown an
exception (liste bellow).
Glancing at the code it appears getCurrentTransaction is returning NULL when
the current thread has no
Thanks in advance for any assitance.
Regards,
Ilan
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956698#3956698
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956698
OK then, but you typed:
anonymous wrote : However, when submitting the form on the page, the following
exception is thrown
Is it thrown when you render the page, or when you submit the form?
Anyway, AFAICT, the exception is being thrown because you already have a
long-running conversation
If you're using annotations, this tag works as well ...
@ActivationConfigProperty(propertyName=subscriptionName,
propertyValue=Your-subscription-name),
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956700#3956700
Reply to the post :
Windows XP SP2.
No Firewall its off.
JBoss 4.0.4 and 4.0.3 result is the same
ejb3 enabled
when i install FULL (ALL) installation of JBOss 4.0.4 EJB 2.1 works fine EJB
3.0 dont deploy i think that it search for descriptors then and the error then
is no bound EJbName .
But with ejb3 enable and
Hi,
I have created a process in jbpm with some nodes, and to access the process i
know only, that i have to login with some of the existing user.
Now, I want to access the created process from some other application and i
don't want to use any UI like signin as a user.
So, can somebody
another strange problem
when i deploy EJB3 with ejb3 enabled ( i mean installed jbos from installer.jar
and check the EJB3 support ) . So.. when i open web-console i and go to ear of
the EJB and click on it nothink happened .. i cant see the EJB name like when
it is EJB 2.1 i cant see how match
I'm using jboss 4.04ga, java 1.5.0_06, postgres 8.0.3, etc. When trying to
create Many* relationships I find the foreign keys are somehow not being
stored. The rest of the fields of the entities are persisted fine, but the
relationships do not seem to be. Strangely, OneToOne relationships
You can load the process definition using the graph session like:
JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
GraphSession graphSession = jbpmContext.getGraphSession();
ProcessDefinition processDefinition =
graphSession.loadProcessDefinition(processDefinitionId);
Once the
Hi there,
When using Seam annotations I need to use annotation attributes that are not
string constants.
In this code fragment:
@CreateProcess(definition=myProcessDefinition)
| @Begin(nested=true, pageflow=myPageFlowDefinition)
| public void startProcess() {
| ...
| }
|
Is it
Ok, I looked at the spec again, and it says it intercepts *business* methods
(which are public, among other things I think). However, if I make the
internal methods public, it still does not intercept them when they are called
internally.
View the original post :
Looking at the original post again, I see that you have a standalone client app
from which you are attempting to look up the EJB. When you run that client app,
are you providing the necessary jar files in the classpath? I thought I had a
script file that ran an EJB3 client, but I cannot seem
Hi Folks,
This is something I should have seen before. Incase anyone runs into it in the
future; the answer (which is found in the docs at
http://docs.jboss.org/jbossas/admindevel326/html/ch4.chapt.html#d0e8454) is:
BaseGlobalId: This is used for building globally unique transaction
101 - 200 of 268 matches
Mail list logo