In the CVS version of Seam, the right way to do this is to call the built-in
Seam component named businessProcess.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956713#3956713
Reply to the post :
Interceptors only work if you call the method via a bean reference (i.e., one
you got from JNDI). By calling the method via a bean reference, the server has
a chance to determine that an interceptor exists and can deflect the method
call to the interceptor. But, within the bean, if you call
Hi Gavin,
Yes, I used myfaces/tiles in my project, and it is great. Now, I also want to
use facelets, but I don't know whether it is possible to keep the myfaces/tiles
and also use facelets functions. Thank you.
View the original post :
From http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html
anonymous wrote :
| Annotations consist of an at-sign (@) followed by an annotation type and a
parenthesized list of element-value pairs. The values must be compile-time
constants.
View the original post :
Hi,
We are thing of using JBoss Portal. Do you know any sites that are using it ?
Is there good book on Portal and Jboss? I have Builing Portals with Java
Portlet API by Linwood Minter, but they use Pluto ( Apache's version).
Thanks,
Ranbir
View the original post :
So my suggestion is to try using the built-in tiles-like features of facelets.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956719#3956719
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956719
Sure, go ahead ;)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956721#3956721
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956721
-
Using Tomcat
Look at the SelectItems thread, it discusses support for selectitems and
contains links to a couple of SelectItems implementations (but I don't think
either of them are finalised).
I'll try to get mine packaged properly over the next day or two and I may alter
the API.
View the original post
Thanks for pointing to this component:
jboss-seam\src\main\org\jboss\seam\core\BusinessProcess.java
I was halfway writing a component like this built-in one... Seam could easily
have a nickname: The jboss Glue
Thanks again!
Yeyo
View the original post :
Thanks Gaving,
Indeed has businessProcess component has it:
jboss-seam\src\main\org\jboss\seam\core\BusinessProcess.java
I was halfway writing a wrapper like this...seam could have a nickname: The
JBoss Glue
Thanks again,
Yeyo
View the original post :
Hi, Geert,
I tried both ways, they don't work.
First, I used httpclient to set cookie, but Appache2.0 still sends the package
to different node.
Second, I used Apache2.2, mod_proxy, mod_proxy_ http , mod_proxy_balancer
,does't work well.
Thank you very much. I am not sure the reason why.
Has anyone successfully done this? I am trying to convert the sar deployment
of JBPM into something that another application server can use, specifically
the Oracle Application Server. I want the service like functionality of the
SAR deployment instead of deploying JBPM with each web
That is how you define actions... almost. Actions do not always have to be
with events. An action can be defined inside a Node (or Decision) as well.
You're on the right path, but don't be too quick to give up. You gotta make
sure all the elements are set up properly
Try doing a
i have included all the jboss\client jars to my classpath
becouse if i dont include them at that line :
ctx.addToEnvironment(java.naming.factory.url.pkgs,
org.jboss.naming:org.jnp.interfaces);
it throws error cant find org.jboss.naming .. .etc.
btw i
yep it's fixed. just use sources from cvs head:
cvs co jboss-portal-2.4
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956730#3956730
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956730
the code is the same :
public static void main(String[] args) {
InitialContext ctx;
try {
ctx = new InitialContext();
ctx.addToEnvironment(java.naming.factory.initial,
org.jnp.interfaces.NamingContextFactory);
That's what I was doing when I said:
anonymous wrote :
| | @Begin(pageflow=PaymentAuthorization)
| | public voidstart() {
| | }
| However, if I started via a GET (calling the above method via pages.xml) ...
When I do that, I get the
I delpoy EAR file with EJB is there a chance JBOSS to expect (need) JAR instead
of EAR ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956734#3956734
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956734
I was getting exactly same error when trying to run jboss-4.0.4.GA with
portal-2.2 with MySql 5.0.22.
Easy way I got around this issue is by simply downloading and deploying the
bundled SP2 portal zip.
However, I was really puzzled as to why the non-bundled deployment was not
working. FYI, I
Alrighty, time to swallow some pride. I've been working in a portlet
environment for some time now, using the Jetspeed 1.x portlet container. I'm
attempting to make the switch from Jetspeed to JPortal to make things easier
for our AS managers, but making the coding switch from Jetspeed to
It's happening when right before the render-response phase after a form
submission. I guess I'm still misunderstanding the way conversation works. It
definitely still throws the exception when I remove the (id=1) part. I'm not
sure what you mean by calling the method twice, but either way, I'm
IceWolf20 wrote : Is there a way in JPortal to directly map a JSP to a class
as there is in Jetspeed with the MyPortlet.xreg (register and binds all Action
classes to JSP's).
|
No, and I'm not familiar with why or how this works in JS. Makes as much sense
as binding a JSP to a Servlet.
Deploying an ear file is fine, that is how I usually deploy my ejbs. What are
the contents of your ear file? Run jar tf ear-file-name and post the
results. If the ear file contains a jar file (or a war file), repeat the jar
tf for those files (you will have to unpack the ear first).
You can
Did you try:
http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956745#3956745
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956745
Thanks for your help. I am copying the implementation of execute method code in
Decision class. This code checks the private decisionDelegation list for
handlers if there is one defined then it calls the handler. If you notice it
doesn't look for decision handlers in action list (If that is
Hi I'm working with JBoss 3.2.1. I've developed and deployed into it a web
application. The application is working well, but I'm having problems with some
kind of data cache.
E.g.: I'm logged as admin user, then change the password for a normal user
(user01), then I logout and login with
Right, i think what you are telling me is that the page action is called twice:
once when we first navigate to the page, and again when we submit the form.
The second time blows up, b/c it tries to start a conversation when one already
exists. Right?
Page actions are called *every* time a
BTW, the problem is easily fixed by using @Begin(join=true)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956753#3956753
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956753
jar tf ear fail
META-INF/application.xml
SimpleSessionBean.jar
jar tf jar fail
beans/SimpleSession.class
beans/SimpleSessionBean.class
When i deploy i see :
23:28:12,296 INFO [EARDeployer] Undeploying J2EE application, destroy step: fil
Hi!
Using the example websale (jBPM 3.1),
I need to recoup the collection of executed tasks (finished), for this I am
using the method processInstance.getTaskMgmtInstance().getTaskInstances();. The
problem is that I need this collection classified for Name of the Task.
Exists some method that
Pete,
Thanks for the hints. Could you please give the URL for the facelets list you
mentioned?
Gavin,
I'll look into SiteMesh, thanks. Would it make sense to add the current
FacesContext to the FacesApplicationContext or to make it a separately
injectable component? Would this be a good
Ad. 2) I'm not sure if I understand your question well. You can simply use and
access most of portlet objects from JSP.
You can also pass your objects to jsp within a session or using
RenderRequest.setAttribute (set object in portlet and get in jsp/servlet).
Ad. 3) You can do such thing if
What? this one?
http://www.jboss.com/index.html?module=bbop=viewtopict=78323
These annotations are nice, but I'd like to see (if possible) a demonstration
of multiple selection of objects, and not only values out of a collection.
Cheers.
View the original post :
yep and the problem comes from application.xml..
witch JDeveloper is generate
?xml version = '1.0' encoding = 'windows-1251'?
application xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd;
Sorry?
@In FacesContext facesContext
works.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956762#3956762
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956762
but remember that JBossPortlet stuff extends the spec so you always lose
portability of your portlet.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956763#3956763
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956763
yes and the problem comes from application.xml fail it contains :
?xml version = '1.0' encoding = 'windows-1251'?
application xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd; version=1.4
Thanks for the info...Action class is a reference to the hierarchy of classes
within the framework:
JSP - Action Class - Business Object - Data Access Object - Value Object
(deprecated) - Hibernate Mapping
The Action class in my context is simply the term I used for the class that
(in
Gavin...
Does @Begin(join=true) still invoke the code in the annotated method if you're
joining an existing conversation? If not, that definitely would be a solution
to my problem. Either way, what you just said pointed me to the real problem
(yes, I feel pretty dumb now). When I changed
anonymous wrote : Does @Begin(join=true) still invoke the code in the annotated
method if you're joining an existing conversation?
Yes it does. I assumed that your method was basically a no-op.
anonymous wrote : I'm now guessing that the documentation was speaking of a
user who wasn't in a
PeterJ wrote : Interceptors only work if you call the method via a bean
reference (i.e., one you got from JNDI). By calling the method via a bean
reference, the server has a chance to determine that an interceptor exists and
can deflect the method call to the interceptor. But, within the
Describe your environment:
JBoss Portal Version
2.4.0 CR1
Did you get Portal from CVS? or download it?
download
JBoss AS Version
4.0.4 GA
Database Vendor and Version
enterprise db 8.1
JDBC Connector and Version
EnterpriseDB Native Driver, version: EnterpriseDB 8.1.3.12
OS Platform
windows xp
You're right... It looks like decision doesn't allow you to programmatically
create the decision handler.
My suggestion is to build jBPM yourself, and add in a method in Decision that
allows you to set the decisionDelegation.
Building jBPM yourself is easy, I'm doing it currently for some
Some of the descriptors have changed in 2.4. Look at the security-contraint
portion in the -object.xml here:
http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/xmldescriptors.html#d0e2611
You can configure security for these pages using the admin portlet as well.
View the original
The entry you found in the jmx-console was not for the EJB, but rather for the
mbean that was automatically created for the EJB. To look at the JNDI
namespace, in the jmx-console, click on the service=JNDIView entry under the
jboss namespace, then click on the Invoke button under the list()
I am using both JBoss Portal and JBoss Messaging. We are using the built in
authentication that is in the JBoss Portal to allow users to login to the site.
Is it possible to set JBoss Messaging to also use the Portal Users and Roles
so that when Durable Subscribers subscribe to a Topic it
We have implemented the JBPM and are having similar problems trying to use a
group as an assignment.
After reading the many forums here, it appears we can modify the
jbpm/src/java.jbpm/org/jbpm/db/hibernate.queries.hbm.xml
Orig:
![CDATA[
select ti
from
I think I've got it all working now with a few tweaks and using
TransactionType.NOT_SUPPORTED.
Thanks for the comments.
Seams looking good once more.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956779#3956779
Reply to the post :
This looks like a bug to me.
I made a change in Timer.java to fix this.
I inserted a line around line # 75 (in the execute() method):
executionContext.setTimer( this );
This sets the execution context's timer properly.
I have yet to write a JIRA issue for this though.
View the original post :
I get the error below (at CMT commit time) when using the non-clustered combo
TreeCache 1.4.0cr2 / Hibernate 3.2.0cr2 / JBoss 4.0.4GA. When I switch to
pessimistic locking (replace OptimisticTreeCacheProvider with TreeCacheProvider
and NodeLockingScheme OPTIMISTIC by PESSIMISTIC), it all works
look at the testcases/examples. LOTS of info there on how to do this.
sigh
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956783#3956783
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956783
Thanks! In order to be complaint with all other Node implementations I think
the Decision class must also call the actions. So that way I don't have to add
new API to set decisionDelegation. Please let me know your thoughts. BTW I have
not committed code to Jboss before so any pointers to the
no, you have to implement it yourself using hibernate queries or by
sorting/grouping afterwards. It is something that is of iterest to jBPM webapp
I think so if you develop something, please share.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956787#3956787
Yes, you're right. For example in my XHTML file:
User-Agent: bh:outputText
value=#{facesContext.externalContext.requestHeaderMap['User-Agent']}//b
|
I think that I was thrown off by looking at the source code instead of taking
the right part of the reference manual at face value... ;-)
you do not *have* to bundle it in each webapp. Just putting the jar file on the
classpath and using a generic config file on the classpath does the job
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956790#3956790
Reply to the post :
I'm sorry, I'm not quite sure what you mean.
The @SelectItems annotation (mine, not Jim's) in concert with the
EntityConverter allows you to select multiple objects (from a generated list)
and set them 'directly' (via the value attribute) as a collection on any object.
The only caveat is that
http://facelets.dev.java.net is the facelets homepage, it's linked off there,
nabble carries it, perhaps others.
Gavin et al, this is perhaps something that that should be on the FAQ. In
fact, can the FAQ be a wiki page so it is easily editable? Or developed on the
wiki or something?
View
I'm using Portal 2.4.0 CR1 and I'm facing the same problem. I would appreciate
any help on the same issue too... perhaps there is a timeout setting that can
be tweaked?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956796#3956796
Reply to the post :
Hello,
are the JSF pages (portlets) cached in any way? I have a jsf portlet on a
page and when I open it, I see that a call to a request-scoped bean is made
only once. When I refresh it, no calls are made. This affects the page
behaviour: that bean checks if a user is logged in or not. So,
I've been using seam for a while. It's great.
However, one of the things that seems to slow down the development process is
that any minor change in the code (even resource files) would require Tomcat to
restart. - at least in my config -
I've noticed also after one of the RCs that the EJB
My company is running JBoss 3.2.6 and was wondering whether it was possible to
set a pool up to use SQL Server 2005 snapshot isolation. I know that I can
reset the mode once I have a handle on it but we would like to run our entire
pool this way so would like to avoid the code if we could.
Our new lists are officially up and running at lists.jboss.org.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956802#3956802
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956802
If you can do this via a connection property, then you can effectively do it
for the entire pool. I would imagine this is a property that can be set 'up
front' on the JDBC connection is this correct?
View the original post :
If this can't be done via the connection property, you could always develop
your own custom interceptor that sets the property on the Handle. That would
introduce an 'aspect' like behavior allowing you to turn it on and off and not
liter your code.
View the original post :
Sohil,
I'm not accessing the cacerts file explicitly, I'm calling JCE KeyGenerator to
create a key. When I call KeyGenerator.getInstance(DES), I get the
SecurityException when I'm running in container. I don't get this exception
while running out of container. As far as I can tell, I'm
Putting a little information about this (dependence or lack thereof of
javascript) in the Seam documentation area would be very helpful I think,
particularly to people like me new to
Seam/JSF/facelets/MyFaces/EJB3/JavaPersistence. I think that there's a large
population of people like me who
Florida-based company looking for Florida based or to be based Java/jBPM
experts to write unique application around jBPM. Immediate openings for
programming and technical support. Long termers or short termes will be
interviewed but you will want to stick around for these projects.
Preference
floridaguys wrote : Florida-based company looking for Florida based or to be
based Java/jBPM experts to write unique application around jBPM. Immediate
openings for programming and technical support. Long termers or short termes
will be interviewed but you will want to stick around for these
201 - 268 of 268 matches
Mail list logo