Hi ,All
In JSC 2.1 , web call Ejb's method, run fine on sun appserver 8.2,but
happend error on jboss 4.0.2,as follows:
==
2007-04-11 21:04:12,093 ERROR
When I add @Restrict(#(identity.loggedIn)) to an Action (session bean) in
class level, it throws exception when it is called.
@Stateful
@Scope(ScopeType.SESSION)
@Name(testAction)
@Restrict(#(identity.loggedIn))
public class TestAction implements Testing {
...
public String getName(){
| Caused by: java.lang.IllegalArgumentException: row is unavailable
| at org.jboss.seam.jsf.SetDataModel.getRowData(SetDataModel.java:56)
| at
org.jboss.seam.databinding.DataModelBinder.getSelection(DataModelBinder.java:69)
| at
This blows up when the first row is attempted to be added.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039585#4039585
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039585
___
CptnKirk wrote :
| For example I don't think I'd recommend using a Home to populate a search
prototype. For search pages, an entity with an event scoped role combined with
Hibernate's Criteria API + Example criterion is great.
|
I prefer exactly the opposite, with a Search conversation
On the basis that JSF+Seam is rather weired in places I did this
| // Create the default set of Keywords (empty).
| keywordsSet =null; // = new LinkedHashSetKeyword();
|
| |
| | and this
| |
| |
| | | public void addKeyword() {
| | |
The plot thickens..
I now get only one element displayed in the data table and this error:
| 19:31:37,859 ERROR [HtmlTableRendererBase] Row is not available. Rowindex =
1
|
| public void addKeyword() {
| Keyword newKeyword = new Keyword();
|
Ok, I got it working by adding PAGE to the Models (No I have no idea why I
needed to !)
| @DataModel(value=displayableCategoryDatamodel, scope=ScopeType.PAGE)
| private LinkedHashSetDisplayableCategory displayableCategorySet;
|
|
Here is my solution:
Add this method to org.jboss.seam.core.Manager
|/**
| * End a conversation together with all nested conversations. The
| * conversation passed in cid will be destroyed at the end of the
| * request while the nested conversations are destroyed
use @Restrict(#{identity.loggedIn})
{ instead of (
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039594#4039594
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039594
___
Is this easily achievable with SEAM?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039596#4039596
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039596
___
jboss-user mailing
You are right, I lookup a new reference of the bean on each iteration. If I use
the same reference, it works as expected.
Thank you.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039597#4039597
Reply to the post :
anonymous wrote :
| I used the seam command to generate a project,but i think the folder
structure is too bad,so i change the todo example to project login:
|
Well, obviously the problem is here. Did the seam-gen produced project work? If
yes, don't change it just because you don't like
petemuir wrote :
http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/i18n.html#d0e7314
I'm sorry, but I already looked there. That one paragraph on timezone does not
speak of creating a pull down of all available timezones. I'm looking for a way
to display the results of
Actually it's better to use the instance methods
|/**
| * End a conversation together with all nested conversations. The
| * conversation passed in cid will be destroyed at the end of the
| * request while the nested conversations are destroyed immediately.
| *
|
I've installed JBoss IDE 1.6 and am running the tutorial
http://docs.jboss.com/jbosside/tutorial/build/en/html/tutorial.preparation.html
I create the project but when I try to build aznd run after creating the
xdcolet I get:
BUILD FAILED
/home/jboss/workspace/Tutorial/xdoclet-build.xml:20:
Hi,all.
can you help me to develop my first web app,with seam,but without EJB and any
DataBase(or called Datasource),Thanks very much at first.
I used the seam command to generate a project,but i think the folder structure
is too bad,so i change the todo example to project login:
login
-src
thanks a lot!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039610#4039610
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039610
___
jboss-user mailing list
Thanks to your post at first.
I am sorry.I have no spell out.
When i generate a project use seam-gen.It can but deploy to JBoss AS,ant it
work fine.but this project has many file,so i did some change with the todo
example.
and the old style of components.xml is:
todo.jpdl.xml
Hi! I've got the following error using both 4.0.5.GA and 4.2.0.CR2. This used
to work on 4.0.4.GA, but I needed to switch to 4.0.5 because I wanted more EJB3
functionality...
I have a @Service-EJB that implements a management-interface with a
start()-method.
When start() is called, this bean
I fixed the problem by referencing the portlet with a correct path. I had to
use 'local.web-app.portletreferencename' and not just 'portletreferencename'
/Fredrik
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039606#4039606
Reply to the post :
Oh, forgot the actual code... :)
| this.context.getTimerService().createTimer(this.maintainenceIntervalMillis,
| this.maintainenceIntervalMillis,
| null);
View the original post :
anonymous wrote : and into my stateless sessionbean i have created 10 Threads
|
| but i got an error like this
|
| entityManager.persist(usageObject); // this is ThreadMy.java:81
|
| how i can fix it ?
| can anybody tell me ?
|
Do not use in Threads main entity manager, call
Say that we've got an entity with some fields that would never get persisted.
(for example, we take a credit card number and use it for a purcase). Still, we
need to validate it.
In cases like this is it better to use Hibernate validators on fields that are
not persisted, or just use a JSF
Hi all,
I am very very new to Seam but it is a heck of a framework! I had a quick
question. I am using Tomcat 6.0 to run the examples and it is working fine. I
figured out the classloader issue with the el-api.jar and besides that
everything is working fine.
I had a question though. I
No, thank you. :-) It's still a bug -- it should work even if you look it up
each time. But the fact that it only fails if you look it up each time helps
narrow down the problem a lot -- the bean proxy that you download from JNDI
isn't getting properly updated when the bean is deployed on
This is for windows, how can i install on redhat entreprise edition?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039614#4039614
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039614
Why wouldn't you use Hibernate Validator annotations for that? Because the word
Hibernate appears in the name? :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039615#4039615
Reply to the post :
I've reproduced this in a test case. JIRA is
http://jira.jboss.com/jira/browse/EJBTHREE-949. Thanks very much for the report.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039616#4039616
Reply to the post :
[EMAIL PROTECTED] wrote : This might be useful for people migration from
MyFaces to the JSF RI:
|
| The default content type for a page is application/xhtml+xml with the JSF
RI and Facelets, not text/html as with MyFaces. If you have existing content
that is not strict XHTML (and it seems
CptnKirk wrote : One down side to using EntityHome for generic crud is lack
of built in security.
http://jira.jboss.com/jira/browse/JBSEAM-1224
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039618#4039618
Reply to the post :
Not with Seam itself, but some jsf component sets have this, e.g. trinidad's
tr:table with the selectedRowKeys property.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039620#4039620
Reply to the post :
Please file a feature request in JIRA for this.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039621#4039621
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039621
___
jboss-user
Are there any normal (data) rows rendered?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039622#4039622
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039622
___
jboss-user
Yes, it's hsql. Follow the instructions in the hibernate
entitymanager/hibernate core reference manual for changing the database to
another. N.B. seam-gen asks you questions about your database when you create
a project
View the original post :
A more correct way would be to browse the portlets offered by the
PortletInvoker and recognize your portlet using the display name and use as
reference the string returned by Portlet.getContext().getId()
FredF wrote : I fixed the problem by referencing the portlet with a correct
path. I had to
Thanks! I was not using seam-gen as of yet to create the projects. For now so I
can understand better I am trying to recreate the hello world example from
scratch by myself and see if I can get it up and running. My thought is that
this way I would be better able to understand the configuration
Hey all,
Once again, I am pretty new to Seam and I am just barely scratching the surface
right now. I am running Seam example successfuly with Tomcat 6 at the moment.
My understanding is that jboss-app.xml file is only used for when you are
deploying the app to a Jboss AS correct?
But
[EMAIL PROTECTED] wrote : Also note that system transactions and
conversations are not related in a Seam application. These are independent
contexts with a quite different scope. System transactions are short,
conversations are potentially long-running and spanning several requests.
|
[EMAIL PROTECTED] wrote : Why wouldn't you use Hibernate Validator
annotations for that? Because the word Hibernate appears in the name? :)
|
Yea yea :)
The Seam book I'm reading covers this topic. I suspect they reviewed just to
communicate that you can indeed use JSF validations if you
It's not the default behavior. The default behavior is to flush a persistence
context (translation: dirty check objects, generate and execute SQL DML) when a
transaction commits.
If you use Hibernate as your JPA provider, you can enable FlushModeType.MANUAL
when you begin a conversation, so
Yes they area.
and I have another few dataTables and they seem to render fine (finally!).
Its really weired.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039634#4039634
Reply to the post :
This on is annoying but this one is going to be emabarassing if I dont get it
fixed in 2 days.. we may end up going PHP!
Appreciate any comment on this one:
http://www.jboss.com/index.html?module=bbop=viewtopict=107010
View the original post :
jboss-app.xml is just for use on JBoss AS. We use it to tell AS to isolate
classloading for this ear.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039636#4039636
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039636
Here is the schema:
Table: Organization
Table: Member
Table: Role
Join Table: Organization_Member
Join Table: Organization_member_Role
A member can belong to N number of Organization and for each organization the
member can have more then one Role
I need to know what what kind of relation
On your original problem - it's hard to suggest a solution based on the info
available (not your fault, you've supplied everything available) without using
a debugger - it could be due to having two datamodels in the same bean - have
you tried with just one? Otherwise, get your debugger out
persistence.xml
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039641#4039641
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039641
___
jboss-user mailing list
I have been fiddling a lot with teh debugger...
Its a lot of code to go through and I am under a massive amount of pressure on
tim (Like YOUR time is not valuable!).
If someone knows what to look for I can supply some SVN credentials.
View the original post :
Put a breakpoint on line 1247 of Component.java; what is the value of the name
parameter when it blows up (it will probably run this method more than once, I
need the last one before it blows up)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039643#4039643
Do Hibernate Validators work when the JPA provider is not Hibernate?
I assume that they do work regardless of the JPA provider, but you know where
that usually gets you.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039644#4039644
Reply to the post :
I will do that when I get back home tonight
I am at my OTHER full time job today.
I wore the mouse button out last time I debugged through trying to step through
the code... It seems to call certain routines a LOT of times.
View the original post :
How do I disable all buttons and links before the whole page has rendered?
When the page renders; if I get in there and press a button before the page has
completely rendered I get Seam to crash. 100% every time!
View the original post :
Yes, I am using the context filter (I am able to access seam components in the
servlet). I believe that my conversation id is 'cid' but I tried that as well
with the same results.
The conversations do not persist beyond the servlet access (i.e. there are not
20 extra conversations listed on
http://www.programmingtutorials.com/ForumPostRead.aspx?fid=3pid=3590
www.java2oracle.com
www.taragroup.ir/AboutTARA.aspx
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039650#4039650
Reply to the post :
PERSONAL INFORMATION
Name Amirsam Bahador
E-Mail [EMAIL PROTECTED]
Web Site www.Java2Oracle.com
Phone (+9821) 88803001 , 88907802
Cell Phone (+98912) 1106182
Address Pasdaran / Iran / Tehran
BD 13 Sep 1986
PRIVATE INFORMATION
Sport Tennis
Game CS , General , Age Of Empires II
CERTIFICATES
Sun
Well, Thomas... I did what you told me, but I have no results =/
I had a look at the source of JBWS632 in testsuite, I have almost the same
things. Here are the differences:
- The test's WSDL has its own namespaces and uses an import tag inside the
schema. The namespaces I use are
You could set a breakpoint in Manager.restoreConversation() and see if your
conversation ID is in fact a) in the parameter list and b) has a correctly
named parameter (should be equal to whatever Manager.conversationIdParameter is
set to).
View the original post :
Perhaps I could avoid the problem if we can delay sending the response till
Seam has completely rendered the response? - Is this possible instead?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039657#4039657
Reply to the post :
[EMAIL PROTECTED] wrote : I prefer exactly the opposite, with a Search
conversation scoped component that holds my prototype entity during the search
conversation. Gives me a lot of control over what the user can select on the
search screen and how I handle this in the backend:
I really like
You might be able to set the default Facelet or JSP flush size to something
large enough to keep everything in memory until your entire paged had finished
rendering. However you apparently have large pages that take a long time to
render, so it's probably not desirable to do this.
If you're
Perhaps I can explain why it takes so long to render (although if you had a
busy server you could get it for any site... anyhow!).
I have a main screen (Wizard) that has about 7 steps you have to do.
I was required to go free flight mode in that any step of the wizard could be
done at any
Thanks for the suggestion CptnKirk. The more suggestions the merrier.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039661#4039661
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039661
If you want to see the problem hop over to
http://gaming.homeip.net:8080/clickstream
go to set up an advertising campaign and click ANY steps on the left hand side.
While the page is still rendering click any of the buttons that comes up...
you get (something like):
I have seen this in the past as well. The problem for us was not related to
Jboss at that time. It occurred on a Linux Box, running the 2.4 Kernel.
Our work around was:
1) Become root
2) Execute ulimit -n 8192
This may also be any other large number. The total number of open file handles
Hi , very similar results on our JMS databases during high loads.
The JMS database typically runs fine under normal times.
We actually use MySQL for our JMS database; and see the same: Cannot send a
message to the JMS server / SpyJMSExcetion.
Did you find any work around for PostreSQL?
View
I have deployed a new EAR application to both Jboss AS version 5.0.0 Beta2 and
4.0.GA and I am getting a Connection Exception thrown (see below) when the web
application is starting up.
2007-04-23 11:10:31,592 ERROR [org.springframework.web.context.ContextLoader]
Context initialization
I am trying to configure LDAP for jboss portal BETA1. I am attempting to login
but the site returns a generic login exception when using valid credentials.
There are no exceptions generated in the log.
I have configured per the instructions at..
Hi, while i'm trying to persist one start and one end timer, i get following
exception. Some details on the unit of work: I persist my object (object graph)
at the end of long running conversation with extended persistent context. Then
i do em.flash() and (if all succeeded) i wish to schedule
Hi saspad,
I think that the answer is in fact even easier, using standard JAAS:
LoginContext loginContext = new LoginContext(JAAS_MODULE_NAME, new
UsernamePasswordHandler(username, passwordCharArray));
loginContext.login();
try {
// Do stuff here...
} finally {
loginContext.logout();
}
Why don't you try it out first.
If it succeeds, you can share with the others here
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039669#4039669
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039669
Could anyone provides me some solution?
I encountered HTTP 500 internal server error while testing a jsp that
forwards to an error page whenever user inputs a wrong data type on a web form
to sum 2 inputted numbers.The application server version I am using is
JBoss 4.0.5.GA application
This notion have appears in my mind in 2005,but unfortunatelly I have no idea
untill now,Sorry! And the Jbpm is still not a product untill it include another
two tools: custom process and custom form,both of the tools based on web,that
means design by b/s schema.
this's mac from china:)
My
The code I've posted can be found in Seam CVS, examples/wiki/. It's not trivial
to set up (readme.txt) but it's almost alpha stage now :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039673#4039673
Reply to the post :
I've got this notion in 2005,i try to read about the source of GPD ,it's really
tough to me because i am not familure with the eclipse plugin.
My idea transmit the gpd to some application base on swing such thing,May be
this's difficulty,anyone can give some idea to me?:)
May be we could make
Tutorial-like book would be popular just like the tutorial on SUN's site .But i
hope the book would be talk about the detail of JBPM,not simply to teach pupil
how to use JBPM,I have read about all the document this site contain,I want
more:)not only a developer want but a designer want.
View
Caused by: org.jboss.seam.NoConversationException: no long-running conversation
for @Conversational bean: advertisingCampaignController
So my guess would be that the conversation id is not propagated into the click.
Don't know exactly why that would happen. I also recommend that you turn off
There are a LOT of other exceptions before the one listed on the screen.
I will try your suggestion and hope it works...
Now need to RTFM to find out how!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039678#4039678
Reply to the post :
Dear all,
I saw last time on JIRA that Seam will move to SVN. When will this be
implemented? I think it's a good thing for me if Seam move to SVN repository,
since I can not connect to CVS repo because my office block the CVS from the
proxy.
Thanks in advance
View the original post :
I have a java SWT client that accesses my ejb remotely. If orm.xml is packed
into my ejb.jar, I keep getting No active session context when trying to access
my ejb method remotely.
| Caused by: java.lang.IllegalStateException: No active session context
| at
Sorry I should say it's cause by EntitySecurityListener, Here is my content
in orm.xml
| ?xml version=1.0 encoding=UTF-8?
| entity-mappings xmlns=http://java.sun.com/xml/ns/persistence/orm;
| xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
|
I want to know about the performance hit of this flag :
@SerializedConcurrentAccess
Regards
Vinay
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039683#4039683
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039683
You should write assignment handler for a task node. Try to use some variable
in contextInstance to store name of necessary actorId for handled task.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039684#4039684
Reply to the post :
We are hanging out for this to happen also. I think someone from JBoss IT
recently said they'd be working on it, but I haven't heard anything else.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039685#4039685
Reply to the post :
Try adding the jndi environment details to the configuration file:
| bean
| ..
| property name=jndiEnvironment
| props
| !-- JBoss JNDI environment entries --
| prop
key=java.naming.factory.initialorg.jnp.interfaces.NamingContextFactory/prop
|
You will have to look at the server.log (in %JBOSS_HOME%/server/default/log
folder) file to see if any exceptions are being thrown.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039688#4039688
Reply to the post :
You will have provide more details about your application and also the
exception stacktrace that you are seeing
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039689#4039689
Reply to the post :
anonymous wrote : and also copy commons-logging file from server jboss
Dont maintain any commons-logging file in your application. Its already present
in the JBoss' lib folder and will be picked up for your application.
View the original post :
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions.
Specifically, the jmx-console method mentioned over there
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039692#4039692
Reply to the post :
88 matches
Mail list logo