Fyi..interesting issue...I have a class called EventListAction with a List
variable named events, which happens to be the datamodel (@DataModel) for this
action.
When I switched to Seam 1.0.0.0CR3 and JBoss 4.0.4.GA from Seam 1.0Beta2 and
JBoss 4.0.4.CR2 Seam threw an exception when trying
Thanks for the trick wauwau0977, I'll try.
clebert.suconic, could you tell me why don't you recommend an Applet please?,
in my case, as I told you, is not an option, but a requirement?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947060#3947060
Reply to the
Ok, I was able to re-recreate your problem using a junit test case. Here is the
Jira:
http://jira.jboss.com/jira/browse/JBCACHE-639
I should fix it within the next day or so. So stay tuned.
Thanks,
-Ben
View the original post :
I downlaod JBoss Eclipse IDE 1.6 from
http://www.jboss.com/products/jbosside/downloads
I want to design my process. Following:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted
But in Deploy your process to JBoss jBPM,I Clike on on StartersProcess folder
in the left hand
Hi,
I just upgraded to 4.0.4.GA and had some issues with my fetch type of eager
set on my OneToMany relationships. I solved the problem by removing them but am
now wondering how i eagerly fetch ?
I am referred to this posting.
http://www.jboss.com/index.html?module=bbop=viewtopict=82946
But
Hello Bill,
do you see any chance that you guys will implement this method in one of the
next releases? I am not sure if other developers need this feature but it would
be really interesting for our custom security system where we only want to
check authorization of a method if the call came
Genman,
Yes, it?s a DEBUG Message but the message is not delivered to listeners at all.
I see this debug exception only when i write / publish the message on topic
and I can?t ignore this message as it not delivered to other applications /
listeners.
Thanks
Ram
View the original post :
I do it. Thanks a lot!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947067#3947067
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947067
---
All the advantages of
Hi All,
what is the max jms message size is supported by Jboss-3.2.5?
Thanks in advance
Ram Vallamkondu
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947068#3947068
Reply to the post :
One temporary workaround is when you do the re-try, you can clone the failed
pojo to a new one first.
For example, if you know that:
tx.begin();
lobby.add(player);
tx.commit();
failed, then do
Playler player_new = player.clone() // or whatever to construct a new player
then
tx.begin();
Hi,
I'm new to JBoss/JAAS. Working on a project to retrieve JMX information from
JBoss in secure environment.
The client program written with code
props.put(Context.INITIAL_CONTEXT_FACTORY,
org.jboss.security.jndi.LoginInitialContextFactory);
props.put(Context.PROVIDER_URL,
I installed JBoss v4.0 to Fedora Core 5 (FC5). I'm having a problem running
JBoss. the errors are:
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
State: FAILED
Reason: java.net.UnknownHostException: caaserver: caaserver
I Depend
Settings for queue/A and QueueConnectionFactory are default settings
coming with jboss 4.0.3
*** jboss.xml ***
enterprise-beans
message-driven
ejb-nameReplicationMDBBean/ejb-name
destination-jndi-namequeue/A/destination-jndi-name
Hi everybody,
I've got a problem with this magical @PersistenceContext... It doesn't inject
any EntityManager :( ... my entityManager variable always evaluates to null and
generates an horrible NullPointerException...
I already googled for hours to find a solution and the only thing I found
I cannot figure out what the the correct property name to use layout, theme,
renderSet and strategy.
To use the Layout, theme, renderSet, strategy in the examples HelloPortal in
Section 3.1.3 of Reference Guide, the following names are used:
properties
|
Could someone please tell me where shall I put the ehcache config file. I tryed
puttig it is ejb3 files root and META-INF but ehcache could not find it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947076#3947076
Reply to the post :
The jboss-cache-jdk50.jar library is missing from the lib directory it should
be added to reflect the latest changes incurred by the addition of the
TreeCache.java file
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947077#3947077
Reply to the post :
I read wiki and find answers. Big thanks for help
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947078#3947078
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947078
---
Hi. Thanks for your replies.
I like this exchange of ideas... you are opening more and more my mind.
So if i have understood you are sayng that i should write a page with more
instances of my portlet; in this way i'ld be able to display different view by
usign one portletOK. This could be a
Hi,
I guess some Seam annotations (e.g. @DataModel) need '@Inherited' annotation to
help us develop a more OO software. Why only '@Scope' and '@Transactional' have
this attribute?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947080#3947080
Reply to
Hi everybody,
I just downloaded the jboss-4.0.4CR2 (or GA, I didn't look for an explanation
of the difference;) ) to play with ejb3, but tht administration
(http://localhost:8080/web-console/) just doesn't work. I get that:
HTTP Status 404 - /web-console/
type Status report
message
jgroups.jar is as well required to satisfy a runtime dependency. However when I
checked out the latest source code from CVS a new exception is being thrown
regarding the interceptors
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947083#3947083
Reply to the
In upgrading to 4.0.4.GA in the last day or so from 4.0.3SP1 if encountered a
couple of issues in which i've had to refactor my code.
I've sorted most of the problems out but now i'm left with one that baffles me.
What I am trying to do is reference an ejb3 stateless session bean from within
a
Hi,
Please help me to find out nagios plugin to monitor jboss JMS and tomcat
statistics.
Thanks in advance.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947085#3947085
Reply to the post :
Hi all,
this may be a stupid question but I need help nevertheless. I'm trying to
import org.jboss.varia to use the Scheduler service (like described in the
docs) but the package does not seem to exist. I guess I am missing some jar in
my classpath... Any idea?
Thanks in advance!!
View the
I downloaded the jbpm-starters-kit3.1.1, but I'm having many problems to
install.
The eclipse plug-in is correct.
I click in the archieve start.bat in the directory jbpm-server but many errors
appears.
I wrote a log with the erros, but i'm not undestanding what i have to do to
resolve.
Can
Right, there is now a core component called events, so naming a user
component events would break the event system.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947088#3947088
Reply to the post :
Yes, mybad, I will add the jars.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947089#3947089
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947089
---
All the
Problem was in my own code. I had an exception on the transaction that was not
rolledback so the connection had an uncleaned transaction on it.
Since my other select was running on the same thread it got the same uncleaned
connection with the transaction.
View the original post :
I was thinking of zipping em up into a jar, putting that in the EAR, and
naming it as a java module in application.xml
Hmmm ...
Since I believe you can only add ejb and web modules into ear module.
And application.xml only excepts ejb and web tag inside module tag.
So, I can add a new java
anonymous wrote : And application.xml only excepts ejb and web tag inside
module tag.
This is not correct. application.xml accepts java modules.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947092#3947092
Reply to the post :
Suppose I am in the middle of a conversation and I leave the page untouched
longer than the conversation timeout, then when I click on a link wich calles
a conversational bean it calles the bean and update the conversations last
accessed time so the seam does not remove the conversation.
In
I apologize if this is dumb, but I'm sucessfully logging in with the
DatabaseLoginModule, but now how do I get the name of the role? I want to
display the role name on the web page. I know I can get the userid from
request.getUserPrincipal().getName() but should I use this and is there
I'm hitting a scenario where a ServerThread never dies (the name of the thread
is SocketServerInvokerThread-127.0.0.1).
I saw the comments in this class talking about race conditions and a
sync-block-within-a-sync-block. I may be hitting this.
What are some of the things I should ensure that
Hi! I'm running JBoss 4.0.3-sp1 + JBoss Portal 2.2.1 and things are coming
along quite nicely. Very cool.
However, I'm trying to find out what, if anything I should be doing with
jboss-portlet.xml; right now I've basically got a cut paste from one of the
examples. I have searched the
When using LDAP with JBoss Portal to authenicate users the user needs to exist
in both the Portal DB (default authorization method), and also in the LDAP
server. Why this is needed is my firect question and how can this be by-passed?
The next issue is related and is that even when the admin
Be creative. Anything with a java api can be exposed as a webservice (reason 1
there is no documentation). And indeed, a 'solution' is not proviced by jBPM
(reason 2 there is no documentation), but if you look at the JbpmContext,
you'll see lots of methods that can be used.
View the original
Your english is not to bad, but for us to be able to help you, you have to
provide some additional errorlogging.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947100#3947100
Reply to the post :
hi
jboss fulfills the latest sun spec, which changed the lookup.
try this
ctx.lookup(yourEJBProject/BeanName/remote|local);
|
regards,
patrick heusser
--
patrick heusser
http://www.x8ing.com/fractal/
View the original post :
Hi,
What might be the reason of:
[testng] java.lang.IllegalArgumentException: Stateful session bean component
should have a method marked @Remove @Destroy: wizardStartAction
|[testng] at
org.jboss.seam.Component.checkDestroyMethod(Component.java:230)
|[testng] at
hi
hard to say what your mistake is. for me it works. see the trailblazer from
jboss which is very helpful and up-to-date:
http://trailblazer.demo.jboss.com/EJB3Trail/
the basic idea if you are using your own datasource is about that
1) code incetion:
@PersistenceContext(unitName =
anonymous wrote :
| This is not correct. application.xml accepts java modules.
|
Great. So how do I define them?
Any thoughts why then IDEA doesn't support this in application.xml?
anonymous wrote :
| I was thinking of zipping em up into a jar, putting that in the EAR
|
How do you
huh?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947110#3947110
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947110
---
All the advantages of Linux Managed
Add the method to the local interface.
Btw, SFSBs don't need to implement Serializable, that is implicit.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947111#3947111
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947111
There is an example of this in every single seam example:
application
| display-nameSeam Blog/display-name
|
| module
| web
| web-urijboss-seam-blog.war/web-uri
| context-root/seam-blog/context-root
| /web
|
Hello,
I use Eclipse3.2RC6 und JRules-IDE3.0RC3.
After creating a new JRules-Projekt I get some Errors in 'Sample.drl' :
- message cannot be resolved
- unable to create Field Extractor for 'message'
- unable to create Field Extractor for 'status'
Thanks
Bernd Enders
View the original post :
Hi All,
When used in the Standalone mode, does JBossCache support Distributed
Transactions ? I am working on a prototype where I've 3-4 nodes using
JBossCache. But I am running into issues when 2 clusters try to access the same
Tree node. Although I've the access/update to the node wrapped
[EMAIL PROTECTED] wrote : Add the method to the local interface.
It seems to be added correctly. Method exists in local interface all the time
and recently it was working.
[EMAIL PROTECTED] wrote : Btw, SFSBs don't need to implement Serializable,
that is implicit.
Thank you for information.
Here you are trying to play with portal layout and it is something that you
have no control over.
Your boundry is a portlet window, you can play there as much as you like but
you can't do anything outside of it.
If you need to change page layout depending on user choice you should do it
withing
Hi
Does anybody know how the Jboss portal is designed to handle a lost user
password ? When a user is registered it is possible to type a secret answer,
but I can not see how the admin can use this.
Thanks
View the original post :
I am newbie of JBoss and Portal.
Just installed JBoss 4.0.3 + Portal 2.2.1 + MySQL 4.1
I am trying DatabaseServerLoginModule in login-config.xml.
| application-policy name = portal
|authentication
| login-module code =
| module
| javajboss-seam.jar/java
| /module
|
How to get IDEA to 'grab' this jar and pack it into ear?
If I do it this way (although it looks that is works - is this 'correct' way to
add resources to application)
anonymous wrote :
| So, I can add a new java module -
Hi,
My application is webservice with ejb. I have created .ear file, i am getting
the follwoing exception when i try to redeploy the .ear file in the second time.
Thanks for helping.
2006-05-27 23:35:30,821 INFO [org.apache.catalina.loader.WebappClassLoader]
Illegal access: this web
The below description pertains to JBoss 3.2.7.
We've encountered a strange reentrancy problem which we currently link to some
glitch in the concurrent execution of session and entity beans from the
onMessage method in our MDB bean.
The MDB receives messages at a rate that forces JBoss to fire
I forgot to add that the MDB is managing its own transaction with
UserTransaction and the NonReentrantLock exceptions say The same tx reentered.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947124#3947124
Reply to the post :
mskonda wrote : use the Singleton configuration:
|
| | message-driven
| | configuration-nameSingleton Message Driven
Bean/configuration-name
| | ejb-nameXARecovery2ResMDB/ejb-name
| |
destination-jndi-namequeue/@QUEUE_NAME@/destination-jndi-name
|
I just started looking at jBPM and was wondering what is the difference between
a task and an action.
Also what is the difference between an action assigned to a node transition
(event) and one assigned to a node's leave-node.
Thanks,
Hani
View the original post :
I want to use autoincrement in MySQL. As a consequence I do not specify the
primary key in the create method. As result I get an exception. The record is
created in the database. Is this a bad concept what I do or shall I simply
catch this exception?
anonymous wrote :
|
| public
Hello, all!
Sounds easy but not appear so in practice...
Let's say I have entity class User with @id Long id; and @Column String name;.
And I have other table with user profile data.
The columns: user_id, name, value.
One of profile names is 'NICKNAME'.
So to store nickname Brutt of user with
From JBoss Portal documentation:
The JBoss Portal framework and architecture includes the portal container and
supports a wide range of features including standard portlets, single sign-on,
clustering and internationalization.
It isn't really true. I am trying to translate JBoss Portal to
Here's the stack trace with the new syntax. BTW - it only fails when run
against embedded-ejb, not in JBossAS 4.0.4-GA.
[testng] DEBUG 27-05 15:39:44,156 (Configuration.java:secondPassCompile:1010)
-processing collection mappings
|[testng] DEBUG 27-05 15:39:44,156
I'm trying to access the annotations on a @In property (which is a SFSB) from
another SFSB. However, the annotations do not appear to be accessible since
the @In SFSB is proxied.
Is there a way to access the annotations? Or should I go ask in another forum
(pointers to the right one? I
If u post this in the portal user forum, there may be someone who can answer.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947133#3947133
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947133
Thanks for your answer...
I certainly missed something... The tutorial is really well done, but all they
tell about using the entity manager is only that it should be preceded by the
@PersistenceContext annotation.
This is what my code looks like...
| public class Mediastore implements
How do I give users access to the cms functionality?
Is there a way to do it through the management console?
I've looked through the docs, and it seems to work like Tomcat security, but I
haven't been able to find a web.xml file where I can just change the role name.
I'm using JBoss AS 4.0.3
Bob,
It is O.K. to use request.getUserPrincipal to get your userid. However, there
is no Java EE standard for getting the user's role. You can ask if the user is
in a certain role using request.isUserInRole(). JBoss does offer the ability
to get to the authenticated Subject via a JNDI
There is a JBoss specific way of doing this.
| //Get the Authenticated Subject
| Subject subject = (Subject)
PolicyContext.getContext(javax.security.auth.Subject.container);
|
| //Now look for a Group called Roles
| Set principals = subject.getPrincipals(Principal.class);
| Iterator
I don't find @IndexColum in Java EE API.
I need to fetch eager and use List for @OneToMany.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947135#3947135
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947135
Also, the entire seam-shell project can be found at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSEAMShellProject.
I posted it there, but I've commented out the offending annotations in
org.jboss.seam.example.registration.User.java.
James
View the original post :
Krishna,
You forgot to set the security protocol property. See
http://wiki.jboss.org/wiki/Wiki.jsp?page=LoginInitialContextFactory for details
cgriffith
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947139#3947139
Reply to the post :
@IndexColumn never existed in Java EE API. It is a hibernate annotations thing.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947137#3947137
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947137
I have the same problem. My question is where is @IndexColumn? not in JEE API
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947140#3947140
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947140
Thanks so much for the replies. I'll try them out asap.
B
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947146#3947146
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947146
thanks for that.
When you say yourEjbProject, do you mean the package path?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947147#3947147
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947147
Try using Component.forName(...).getBeanClass()
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947148#3947148
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947148
I am newbie of JBoss and Portal.
Just installed JBoss 4.0.3 + Portal 2.2.1 + MySQL 4.1
I am trying DatabaseServerLoginModule in login-config.xml.
| application-policy name = portal
|authentication
| login-module code =
I am using the GenericDAO pattern so each entity has its own DAO. I am using
@EJB throughout my SLSBs.
When I upgraded to 4.0.4.GA from 4.0.4.CR2 any beans that had a circular
reference fail to deploy.
If A injects B and B injects A I cannot deploy.
I wondered if this would cause a problem
Have added a jira issue for using host name as is within InvokerLocator instead
of automatically converting to an IP value -
http://jira.jboss.com/jira/browse/JBREM-497.
However, this is an issue with the equals() method in that should an
InvokerLocator with an initial uri of
I've tried the following.
ctx.lookup(ejb/Session/remote);
and get ejb not bound
ctx.lookup(Session/remote);
and get Session not bound
What is the correct syntax for this?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947153#3947153
Reply to the
The problem is that EJBs can't be abstract. That's an EJB requirement, not a
Seam choice. Since Seam deals primarily in EJBs, Gavin can't help you much
here.
Seam does support non EJB POJOs, however I wouldn't think the semantics of the
framework should change to support abstract JavaBean
Note that I am also in priciple against the idea of writing components in terms
of abstract classes, since it is significantly more difficult to unit test them
(not impossible, but certainly more difficult).
View the original post :
With a recent use of the JBossGenericPrincipal as the holder of the roles, I am
unsure if my earlier approach holds good. If JGP is the answer, then you will
need a custom valve to get hold of the JGP from the catalina request object.
View the original post :
This code seems to work:
private void findRole() throws PolicyContextException {
// Get the Authenticated Subject
Subject subject = (Subject)
PolicyContext.getContext(javax.security.auth.Subject.container);
//Now look for a Group called Roles
Set principals
My work project is very hot on performance issues and we've implemented it
using 2.1. I want to identify whether a 3.0 solution will help in this regard
I've just spiked out a subset using EJB3 to do a speed comparison, and this
indicates that EJB3 is slower than the EJB2 across all tests.
Is
84 matches
Mail list logo