This is running under 4.2.0
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252933#4252933
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252933
___
jboss-user mailing list
jbo
I'd like to invoke stopDelivery on a message bean, but the JMX console doesn't
list it. I can see my MDB under jboss.j2ee, but only as this line:
ear=myear.ear,jar=myjar.jar,name=MyMDB,service=EJB3
>From what I've been reading I should see a "binding...". Is there something I
>need to configu
Oi, thanks. I misread the docs about what that method actually did.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174105#4174105
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174105
__
Is there a way to configure hypersonic database to automatically delete
messages from a queue after a given time period? I'm using JBoss 4.2.0.
I have a service app which receives messages from a web application. The
person triggering the event (who could be anyone on the 'net, so there is no
As there seems to be a basic incompatibility with version 4.2.0 connecting to a
message queue hosted on legacy version 3.0.3 (issue posted on the JNDI board),
I thought I'd just move the legacy app containing the message bean to version
4.2.0. In theory I should just be able to take the .jar fi
I've converted a web-app from running on Weblogic/EJB2 to Jboss 4.2.0/EJB3.
The app needs to connect to a message queue hosted by a legacy app running on
JBoss (3.0.3). The old Weblogic version used the jbossall-client.jar from
3.0.3, however, the new version shouldn't need that, correct?
How
Thanks ragavgomatam, not sure how I missed that!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134413#4134413
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134413
___
jboss-
I'm in the midst of converting a weblogic webapp to jboss. The weblogic app
makes heavy use of a feature in weblogic.xml where you can assign a group of
security roles to a new role for internal use in the app, eg:
| any-user
| Admin
| Agents
| Partners
|
I can
I have a validator called from an xhtml page. The app works fine when deployed
on my local machine, but I get this error when I deploy the same .ear on our
development server:
/school.xhtml @19,150 validator="#{schoolValidator.validateCode}":
java.lang.reflect.InvocationTargetException
The me
For those interested, Seam appears to be using the XmlHttpRequest.responseXML
property, but this triggers a Firefox/javascript/security problem, in that you
aren't allowed to access the XML version of the data you're requesting.
You can, however, get the raw text, do your own reparsing, and play
Thanks. I'm under the gun and behind schedule, but if I get a chance in the
next phase to refactor I'll revisit it. For now at least the problem is
prevented.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112996#4112996
Reply to the post :
http://www.jbo
Now that I included jboss-seam-remoting.jar...yes. (doh! slap!)
Different issue now, both IE and Firefox have security issues. I'm logged in
to my work via VPN, it must think "localhost" is a different domain. In IE I
can enable the session, in Firefox I get a red "Please wait..." box in the
I tried that, but it doesn't work either. I'm using Jboss 4.2.0GA. I've
managed to avoid the problem by calling entityManager.clear() in the action's
destroy method.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112968#4112968
Reply to the post :
http:/
"[EMAIL PROTECTED]" wrote : Oh, and you also need to override the
Seam.Remoting.resourcePath after you import the script. It defaults to
"/appname/seam/resource/remoting", so you'll need to give it an absolute url
also...
According to the Firefox javascript console, "Seam is not defined". Her
For those interested:
All the examples I was looking at used @Resource to inject the UserTransaction
into the servlet, but it was always null. This works better:
ut = (UserTransaction)context.lookup("java:comp/UserTransaction");
I wish there was a better way though.
View the original post :
Since it appears I can't get a functioning EntityManager in my servlet (I can
get an entity manager, but can't inject a UserTransaction or get an
EntityTransaction from the entity manager)...any suggestions? I basically want
to expose a method on a stateless bean, accept a couple of parameters,
Yes, thank you!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112420#4112420
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112420
___
jboss-user mailing list
jboss-user@list
Example:
User logs in and is presented with a menu page. They click a menu option,
starting a conversation that lasts for three pages. If they get up and walk
away after getting to page 2, shouldn't the new conversation time out after 2
minutes? They would still be logged in, but the convers
I have my conversation set to timeout after 2 minutes (12ms), and the
session to timeout after 10 minutes. However, if I abandon the conversation, I
only see the destroy method called after 10 minutes. I've checked the logs and
debug.seam page for any objects started by the conversation th
Hi, is there an easy way to access @WebRemote methods from Ajax on pages that
are not part of the hosted web app? In our case, we have many static web pages
we host for other companies. Some of them would like to get dynamic data (via
Ajax) from our web app. I'd love to use a Seam service and
I've tried adding specific entries to my navigation.xml file based on output
from the action class, but that doesn't seem to work either, eg, assuming
entityTypeName.equals("EntityType2"):
| public String add(String entityTypeName) {
| // ... add to list
| return "entityEditPage." + e
I have a series of h:dataTables, each of which can have rows added to or
removed from them. To add or remove the rows I use an h:commandButton to call
a method on the action class, which adds or removes the entity from the
underlying list. As the page is rather long, when the page returns, I'd
I have successfully avoided having the entity manager persist entity changes
when the user quits a conversation on purpose, by coding as follows:
@End
| @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
| public String quit()
| {
| logger.debug(
I'd appreciate a working example. Adding to my link resulted in no end of
different troubles, and I gave up when getting a null pointer clicking the view
mode link after initiating an edit mode sequence, where the Seam Blackbox is
for some unfathomable reason trying to render components on a p
The default messages are parameterized, I think the form control is {2}. You
can include these parameters or not when you override.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111047#4111047
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
The answer is probably simple, but I'm having trouble reusing pages for
different flows.
I want to define two possible modes:
1. Edit mode: select criteria --> edit stuff --> review/confirm
2. View mode: select criteria --> review
The view mode shares the first and last pages of the edit mod
"gsegura" wrote : I think this is related to the flush mode of the
conversation, look for @Begin(flushMode=FlushModeType.MANUAL),
| I think that normally when conversation ends everything is flushed
autommatically.
|
| I just posted a somewhat related question but there the conversat
A call to "entityManager.clear()" seems to solve the problem. Still, you'd
think implicit persistence is something you'd have to turn on, not code away.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110996#4110996
Reply to the post :
http://www.jboss.com/i
How do I end the conversation without letting hibernate commit the entity
changes? Editing is a two stage process: edit, then verify. If I call my
action's quit method from the edit page (with immediate="true" on the button),
all is fine. If I go to the verify page and make the same call to
You'd think the pages.xml setting would take precendence, ie, if I define this:
|
| Please log in
|
|
The message should be changed to "Please log in". Otherwise, what's the point
of defining the message in pages.xml?
View the original post :
http://www.jboss.
Hi, this is probably more of a JSF question, but maybe Seam has a workaround:
I have a simple table where each row is a component. If the user has this
component in the database, the hidden field has a value and the box is checked.
If they do not, they can always check the box and that compone
It works! (mad cackle)
Thanks to Andy Gibson, and also to IGx89 from second link I posted above.
I ended up revisiting IGx89s suggestion, and two things resolved the problem:
First, while I had a @Name annotation on the entity, I neglected to put one on
the backing bean that contained the enti
Thanks. Just to be clear: do I remove the @Name annotation from "Entity" in
your example? Because I have tried using getters in my action class, but then
I get javax.el Exceptions.
Using your example, class MyBackingBean would have to be @Name d (say,
"myBackingBean", and on the page I'd ref
I think I've discovered the *source* of my issues in these threads, but if
there's a solution out there I'd appreciate knowing:
Problem with @Id and non-null entities:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=123799
Problem with accessing Map of entities:
http://www.jboss.com/ind
Yes, it did have a getBenefitMap() method. Unfortunately I have tossed that
code and gone what I thought would be a more "tried and true" route. I'm under
a serious time deadline and need something functional asap. I made the mistake
of buying into the "Seam makes everything easier" without f
Can you post your code?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106175#4106175
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106175
___
jboss-user mailing list
jboss-u
Well I got permission to upgrade to 2.0.0GA...but it still doesn't work. It's
an improvement, but it tells me "benefitMap" doesn't exist on "lenderbenefits".
I gave up and reverted back to trying to use specific instance variables, only
now I'm getting "@In attribute requires non-null value" e
This is driving me nuts...and it's probably something stupid I overlooked, so
I'm sorry in advance...!
I've done everything I know to make the variable on the action class not null.
The "create=true" and "new..." seem redundant, as does the "value" but it
doesn't work without them either so I'
We already have other applications deployed using 4.2.0, but this will be our
first Seam app, so probably best to upgrade that now. Thanks for your help!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106138#4106138
Reply to the post :
http://www.jboss.com
So, just assuming the Boss DID let me upgrade, any known issues with using
4.2.0GA, or do I have to upgrade that too? I'm pretty sure THAT one's out of
the question...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106133#4106133
Reply to the post :
http:/
I should have mentioned: JBoss 4.2.0GA, Seam 1.2.1GA. If this is a 2.0
feature... :-( not sure the boss will let me upgrade just yet.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106125#4106125
Reply to the post :
http://www.jboss.com/index.html?module
"IGx89" wrote : Actually no, JBoss EL is bundled with Seam :)
I must be missing something though, as I'm getting an EL parsing exception
using that format. I decided to use a getter, so the action class
("lenderbenefits") has:
private BenefitMap benefitMap = new BenefitMap();
| p
"IGx89" wrote : JBoss EL should let you do that. If you're outjecting
benefitTypes as shown, your EL expression would be
"#{benefitTypes.get('BENEFIT_TYPE_1').percent}"; otherwise, if you were just
had a getter called "getBenefitTypes" on BenefitManager, it'd be
"#{benefitManager.benefitTypes.g
Thanks.
I have a related question: is it possible to reference a Map of backing beans
and lists? I haven't see any example of this. Using my example above, there
is a master list of benefits, and each lender can have a varying subset of the
master list. To reference the specific benefit, I'
Yes, I had figured I could use a backing list, but I was hoping to avoid a form
submission. I can use my old ajax and parameter processing code, I just
wondered if there was a "Seam way" to do it. Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=410557
What is the best way to deal with dynamic ajax creation of new widgets?
I have a page where I need to track, say, lender benefits. One lender might
offer 0.5% interest rate reduction after 12 on-time payments, another might
offer 0.3% after the first 12 payments, and another 0.5% after 24. Ide
Hi we're in the process of migrating all our apps off weblogic 7 to jboss 4.2.
We can only do this one app at a time. A couple of the apps send messages to
each other through weblogic's jms. We've finished migrating our first app to
jboss (App1) and would like to send messages to the old webl
"[EMAIL PROTECTED]" wrote : No, you can have instances of the same entity type
in the context at the same time. I don't see where you outject/make available
searchLender.
I had added the @Out annotation but got the same result so I removed it. I
just tried again to confirm. Is there something
Hi, I have a page that contains two forms, one for search and one for
save/update. If I use a single entity instance for both forms, everything
works well enough, but the search field is sync'd with the save/update field.
If I try to have two entity instances (one for the search form, one for
anonymous wrote : However, when I start up JBOSS and try to interact with the
oracle database, it says the jndi is not valid. Am I forgetting something?
What is the jndi string you are using in your code? You may have to prefix it
with "java:/"
View the original post :
http://www.jboss.com/i
Hi we're in the process of migrating all our apps off weblogic 7 to jboss 4.2.
We can only do this one app at a time. A couple of the apps send messages to
each other through weblogic's jms. We've finished migrating our first app to
jboss (App1) and would like to send messages to the old webl
Thanks, I'm doing B anyway.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102680#4102680
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102680
___
jboss-user mailing list
jbo
Hi, I have my security domain information in jboss-web.xml:
java:/jaas/ldap-security
And the application policy set up in login-config.xml:
|
|
| com.sun.jndi.ldap.LdapCtxFactory
| ldap://someurl:389/
| ...etc...
|
|
|
Unfortunately our ldap setup i
I used Seam to create a new project and generate entities from an existing
database (MS SQLSERVER2000). One of the tables has a TEXT field type. The
entity was correctly created by the seam generator to use a String for that
variable, however on deployment the Hibernate validator throws an exce
anonymous wrote : Why is that? The entity is NOT detached, it never got
persisted...
Well, you created it with "new", so it's not "attached" to the persistence
engine, so it has to be detached... It's probably not an accurate message.
persist() is for new rows, so it's probably not expecting
Hi, I'm having a problem with a legacy app that uses SQLServer 2000 that we're
converting to EJB3. One of the tables has a trigger on it to record audit
changes. However, the way the trigger and the audit repository work is, it
creates a new record for each changed field in the target table.
56 matches
Mail list logo