Please see (and vote for) issue http://jira.jboss.com/jira/browse/JBSEAM-1619
which explains how to get a seam-gen app working on Glassfish. I think there
is some problem with Glassfish V1 using Hibernate as the JPA provider, so you
have to use Glassfish V2.
View the original post :
http://ww
did you try using s:message ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061652#4061652
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061652
___
jboss-user mailing list
j
Can i someone give me a little tips ? I am very traped about this now.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061651#4061651
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061651
Alright... *sigh* false alarm. Seems like there was a mixup between the "items"
and "value" parameters between the and elements, that's
all. Even when I knew they had different parameters for that...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061650#406
If an error happens, you need to configure the render parameters in the
processAction for the next render (hence doView) method, such as:
|resp.setParameter("error", "My Error Message");
|
Then in doView you can do:
|String error = req.getParameter("error");
|if (error !=
Hi,
I want to try a very basic validation on an input text field which name is
"value"
This is my stateful bean
|
|
| public void sayHello()
| {
| facesMessages.add("hello #{hello.value}");
| }
|
|
|
| @Length(max=10)
Got it!
String password = Identity.instance().getPassword();
;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061647#4061647
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061647
I'm running up against the same issue. My passwords are stored SHA hashed in
the database, and so I need to hash the clear text password to compare it with
the hashed password fetched from the db. When I attempt to hash
#{identity.username}, it simply hashes the String "#{identity.username}".
H
Try asking this on the facelets list - a purely facelets q :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061644#4061644
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061644
_
You can use the Portal API and get the window property. Normally the region
value should be available.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061639#4061639
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061639
Now session beans can be backing beans in Seam application,
and usually backing beans have getters/setters.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061638#4061638
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40
I have a stateful session bean with extended persistence context.
Everything works fine with JBoss Seam 1.2.1.GA, but not with JBoss Seam
2.0.0.BETA1 - a 'java.lang.IllegalStateException: Transaction present on server
in Never call' is thrown.
I have two methods with the
@TransactionAttrib
Sorry, bad copy/paste. Should be
UIDecorate component = (UIDecorate)
getApplication().createComponent("org.jboss.seam.ui.Decorate");
I've added a newInstance method in CVS that just wraps up the above code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=406
How do you propose the user spoof submit data for a component that isn't an
input component?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061635#4061635
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061635
_
usually sesion beans only imlement business methods
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061634#4061634
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061634
__
Why wouldn't you want to expose getters/setters in the interface?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061633#4061633
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061633
___
Ok I understand now.
Do you think it's a good idea to do it like this ?
Isn't it better to do the form mapping through a pojo component and use
bijection in the session bean ?
Another question, using stateful session beans, should we still expose the
getters and setters in the interface ?
View
Also it appears that there is a discrepency in the version of registration app
that is shipped with seam 2.0 and what is discussed in documentation. Anyways,
now I am trying to get the .jsp version (which is what is discussed in the
documentation) going and when I try accessing the register page
Thanks Gavin. I have already tried jee5 and it works perfectly well. Based on
Jee5 I am trying to get registration one going. I have finally reached the
stage where I am not getting any exception/error but the application is
straighaway serving the .xhtml file i.e on my screen I see strings like
On a closer inspection, the tag does seem to help considerably.
Although I still get database hits on page load, only a few queries are
executed each time and the loading time is about 1/7 of normal.
Maybe some fine day I'll understand all this :P
View the original post :
http://www.jboss.com/
May be some ideas here:
http://www.javaworld.com/javaworld/javatips/jw-javatip125.html
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061627#4061627
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061627
___
Env: pure Tomcat 6.0, Seam CVS-07072007 snapshot.
"On Seam 1.3.ALPHA everything worked like a charm...".
I made all things from 1.3->2.0 migration guide.
After running into this problem I have only in my
components.xml, but still during startup I get:
| java.lang.IllegalStateException: No
Try the facelets mailing list.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061625#4061625
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061625
___
jboss-user mailing list
I should say "cached by the classloader". Does anyone know how to trick the JVM
to reload resources for a particular classloader?
H, one possible solution would be to let you use the hot deployment
classloader for loading resources (you would have to deploy your resources to
WEB-INF/dev).
I found this:
http://wiki.java.net/bin/view/Projects/FaceletsFAQ#Why_doesn_t_my_c_if_ui_repeat_ui
and this:
http://www.ninthavenue.com.au/blog/c:foreach-vs-ui:repeat-in-facelets
but I'm still confused. How should I go about with this? Forcibly try to cram
this into a ?
View the original post :
h
Yes, that makes sense, I forgot that the JVM caches resources. So I'm not sure
if I can really do anything about that, its all at the JVM level...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061622#4061622
Reply to the post :
http://www.jboss.com/index.ht
The MySQL user has 'all privileges' on the database. In the previous deployment
that same user was able to create the tables that he can't find in the second
deployment of the entity beans.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061620#4061620
Reply
Try the "jpa" or "jee5" example. The registration example is missing some
metadata that glassfish needs.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061621#4061621
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40616
I'm using JBoss 4.2.0GA and therefore JSF 1.2, with Seam 2.0.0beta1. Perhaps
this is a Facelets issue?
Here's the xhtml snippet:
|
|
| Category
| Files
|
1. use raiseAsynchronousEvent() instead of @Asynchronous in this case
2. whynot? A Seam MDB can inject a stateful component. perhaps your problem is
that you get the wrong instance, in which case you need to consider using a
@Synchronized session scoped component
3. No idea, never seen it
View
cjc, you could try passing the -b option by changing the registry as follows:
"Start Param Count"=dword:2
| "Start Param Number 0"="-b"
| "Start Param Number 1"="192.168.200.210"
(Though, the changes you made should have worked.)
Ved, you can read about javaservice at
http://www.mul
I guess that the JSTL tag probably works better in JSF 1.2, have you tried that?
But I dont understand why ui:repeat would not work...?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061616#4061616
Reply to the post :
http://www.jboss.com/index.html?module=b
anonymous wrote : Maybe you haven't used visual studio a lot but I think you
should set your aim a little higher.
Hehe, true, I have never used it, LOL :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061615#4061615
Reply to the post :
http://www.jboss.c
yes this works now, however i am finding it difficult to achieve my objective.
When the user selects an item i want to be able to find out the value that has
been selected and use this to control what is rendered on the screen..
i assumed that
would set the value of selectedJobType on my Hom
The versions i am using:
JBPM: jbpm-starters-kit-3.1.4
OS: Windows Vista
DB: Embedded Hyper Sonic
Eclipse: 3.2.2
Designer: jbpm-jpdl-designer-3.1.0.beta1
I am just starting the jbpm using start.bat
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061613#4061
This is a JBoss bug. Class loading was done in the wrong manner, relying on an
unintended side effect of the class loading mechanism, and when the behavior
changed in Java 6, it broke a lot of software. What you see there is a failed
attempt at loading the class for String[], not String. JBoss A
These debug messages ? with the possible exception of:
19:35:59,220 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.O
| [EMAIL PROTECTED]) ? appears to be the debug for executing timers and
async jobs (mentioned in
http://jboss.org/index.html?module=bb&op=viewtopic&t=112602),
correction, it should read:
if my understanding is correct, you have to declare the getters and setters in
the so-called "business interface" of your EJBs because with the EJB(3)
architecture you're never accessing EJB bean instances directly. Technically,
when an EJBean is called, ...
View
"luuzz" wrote : It's working great but i don't understand why i have to expose
the setters and getters in the bean interface...
| Thanks
if my understanding is correct, you have to the declare getters and setters in
the so-called "business interface" of your EJBs because with the EJB(3)
arch
Hi,
I am running jboss 4.2.0 on Ubuntu and when I start the application server I
get the following error
Caused by: java.lang.NoClassDefFoundError: org.jboss.dom4j.DocumentFactory
at java.lang.Class.initializeClass(libgcj.so.70)
at org.jboss.dom4j.io.SAXReader.getDocumentFactory(SAXReader.
I decided to "cheat" and went back to CVS. The build script for the console
makes a 4.2 compatible WAR where the primary differences seem to the following:
jsf-impl-14.jar (gone)
jsf-api-14.jar (gone)
el-ri.jar (gone)
el-api.jar (gone)
javassist.jar (gone)
gravel-14.jar is now gravel.jar
So, th
It's working great but i don't understand why i have to expose the setters and
getters in the bean interface...
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061606#4061606
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
If you cannot find the SVN or CVS, i recommed you to download the eclipse
binaries and there is ui.jar file in that (i cant remember the exact name).
Download jad decompiler. Extract ui.jar and try decompiling the source using
jad. Probably you will be able to see major part of the source.
View
"Gavin King" wrote : The goal here is to build a deeply integrated and insanely
productive development environment that is comparable to Microsoft's .Net
Maybe you haven't used visual studio a lot but I think you should set your aim
a little higher.
Zing! I'll be here all week!!! ***
I need to display a nested list as follows:
Root category 1
| Subcategory 1
| Subcategory 2
| Root category 2
| Subcategory 3
I first tried doing this using the Facelets element, only to find
out that only the outer layer (the root categories) were rendered. Using JSTL's
fix
I'll try to clearly specify my steps for the next person who will wish to
attempt this trick. My ultimate goal is to make the console with with the jBPM
embedded in the ESB 4.2 but for now I'm just shooting for AS 4.2.
- Plain vanilla AS 4.2 instance (no Messaging, no ESB, etc)
- jBPM 3.2.1 jPDL
I have met the same problem, I import weblogic jms client to send jms message
to weblogic mom in jboss mbean
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061602#4061602
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
"enzhao" wrote : Hi folks,
|
| 1. What's the difference between @Factory and @Unwrap in the following two
code fragments? (from reference section 3.8)
|
the Factory method gets only called if the referenced context variable, the
factory method is defined for, is not yet bound to a value
Hello all,
some entity was changed otherwise during it was editing in web. This entity is
associated with an extended persistent context. After trying to persist the
changes, it naturally (as expected) throws an exception. My idea is
| Entity merged = em.merge(dirtyEntity) ;
| if(merged.isM
As far as I know, one difference is the way you are going to access your object.
If you use @Factory, you'll have to access it through the bean:
#{myBeanName.myMethodName} (any first reference to myBeanName will trigger a
call to the factory method)
Using unwrap, you directly use the bean name:
I have downloaded jbpm-starters-kit 3.1.4 and invoked run.bat -c jbpm. I am
getting the following messages on the server console.
[EMAIL PROTECTED]
19:35:59,198 DEBUG [DbPersistenceService] committing hibernate transaction
19:35:59,198 DEBUG [DbPersistenceService] closing hibernate session
19:35:
Hi,
I have created an enterprise project in Netbeans to build and deploy the
registration sample shipped with seam 2.0. My project deploys without any error
but when I try accessing the URL, I see 404 and the browser url looks like
http://localhost:8080/registration-war/debug.seam?conversation
Seam Security is not yet integrated with JBoss Security, there are a number of
outstanding JIRA issues related to this. The good news is that this is a high
priority, so hopefully we should have something working soon.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewt
Can the database user "see" those tables, e.g. get meta data about them?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061592#4061592
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061592
_
I'm gonna try this, indeed i didn't put the getters on the interface.
Yhanks a lot.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061591#4061591
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061591
___
"bulloncito" wrote : I use
|
| Identity identity = Identity.instance() ;
|
| .. (no @In) and then
|
| identity.addRole( someString ) ;
|
| ... for each role and everything works fine.
|
| Maybe all those Identity.instance() aren't apropiate (they should be)
|
I actually
Hot redeployment of Properties files is working (files are updated on the
server).
But you need to restart the application to get the new messages as these files
are read only when the application is started by the server.
View the original post :
http://www.jboss.com/index.html?module=bb&op=
@wolfc thank you for the answer!
its a pity, that a small error (misunderstanding of this aspect of ejb-spec)
results in a total instability of a whole application. I think, its really
confusing, to get a dirty new injected STATELESS bean from a container.
Couldn't it be better, to purge the d
Corrections in my previous post:
Also I have searched for a java client for starting the jbpm process and
invoking the process. Also possibly running the process. Anybody please throw
some light into that? any APIs to do these operations? How JBPM runtime is
creating the HTML pages or Seam pag
I wanted to use JBPM to our custom application, where we don't want to use
Eclipse designer. It will be pretty heavy. So we want to design a custom JPDL
designer and much of the work will be in the creation of JPDL based on user
input. Probably creating an XML Bean out of JPDL schema and fill th
Hi,
I have the following question if it is possible to prevent binding of some
attributes when using the @In annotation.
For instance if you have an entity bean say 'Example' with two attributes, an
id (primary key) and a description.
In a stateful session bean:
| @In
| private Example ex
HI cjc
I guess im running in to a similar problem.[ Refer to my Post --> JNDI lookup
problem from remote client present in External N ]
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112775
Im running the JBoss 4.0.5 on Windows.Can you tell me what all setting you have
done.
I great
Hello,
I need an asynchronous process in my web application. So i use the
@Asynchronous annotation
to do the job but i need a mean to inform my Stateful EJB that the job is done.
1. First, i use the @Observer and RaiseEvent Without sucess because of
Asynchronous annotation
2. Second, i use
Apologies. I've posted this to the wrong forum. Is there a way I can move it
to JBoss Seam Users?
Thanks
Richard
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061573#4061573
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
1. I'm using the Seam2 beta with JBoss 4.2 and I am having a problem with the
following expression.
Expression
|
|
When the expression is evaluated it throws an IllegalAccessException (see
bottom). The class is anonymous, the method is public and also overrides an
abstract method. Is
Thangs that works!
But the Produktion System is MS :-/ and There i have to use javaservice.
Running the run.bat -b x.x.x.x works as well!
But with -Djboss.bind.address it will not workt!
This is how the registry looks:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\JBOSS\Parameters]
| "J
Hi folks,
I would like to use the @Unwrap annotation in an APPLICATION scoped dataStore
bean. This stateless bean mainly caches the read-only static data which would
be used in the application. I'd like to learn more detail about the @Unwrap
than which are already presented in the reference man
If the Connector MBean has an InvokerLocator attribute, the attributes inside
the Configuration attribute will be ignored. So the references to the
CompressingMarshaller and CompressingUnMarshaller are being lost.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&
>From the line numbers, it looks like you're using Remoting 2.0.0. The notion
>of "connected" changed from 2.0.0 to 2.2.0. I'm not sure what is happening,
>but you might try upgrading to see of the problem goes away.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewto
In JBossAS 4.2 and 5.0, the default invoker for EJB3's is the Remoting socket
transport. However, Remoting doesn't support RMI/IIOP, so I guess you would
have to use the RMI/IIOP invoker. Unfortunately, I don't know anything about
it. Maybe you could get some help from the EJB3 users forum.
70 matches
Mail list logo