Got it to work. Thanks Daniel.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4044864#4044864
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044864
___
jboss-user mailing list
Hello,
I ran into a exception using Seam's EL in a JSF page. It seems that the
parameter passed into the method was not parsed correctly. I'd tried int,
Integer, and String and all arrived at the same exception.
The following are the codes:
@Stateful
| @Scope(ScopeType.SESSION)
|
Thanks Pete.
I finally spent time yesterday re-reading the manual. Should have done that.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4044530#4044530
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044530
Hello,
How would I go about passing a configuration to a Seam component? I.e. in my
Authenticator, I would like it to connect to a remote server and authenticate
there (hence I need a remoteHostAddress configuration read by Authenticator).
Any idea?
Thanks
View the original post :
Can you give me an example on how to read a configuration out of component.xml?
Thanks Pete
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043796#4043796
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043796
I am using Seam 1.2.1GA with JBoss AS 4.0.5GA, JSF 1.2. The project was
generated with seam-gen.
Here is a snippet of my login.xhtml page:
div
| label jsfc=h:outputLabel
for=loginID#{res['login.loginId.label']}/label
| input jsfc=h:inputText type=text name=loginID id=loginID
|
I took everything out of the login.xhtml page and all things referencing to
identity in the pages.xml and am still running into this exception.
Any idea on where else to look for?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042872#4042872
Reply to the post
Hello all,
I have an existing EJB middle-tier app that was developed and deployed with
JBoss 4.0. I would like to put together a Seam Web UI app for this middle-tier
app.
How would I go about making an initial context into this remote EJB app. This
EJB app may or may not seat on the same
The following code used to work when I first tried it with 1.1.6GA. Now, the
the injection of LocaleSelector no longer works. The value is null.
Any idea?
Thanks
public class LocaleChanger {
|
| @In
| LocaleSelector localeSelector;
|
| @Logger
| Log log;
|
Can someone tell me the correlation between Seam's Identity and Authenticator?
It is my understanding that we can declare/override the RuleBasedIdentity as
followed:
@Name(org.jboss.seam.security.identity)
| @Scope(ScopeType.SESSION)
| @Intercept(InterceptionType.AFTER_RESTORE_VIEW)
|
I found Gavin's original posting and fixed the problem.
Here it is if anyone is looking for the solution.
http://www.jboss.com/index.html?module=bbop=viewtopict=94738
Perhaps Seam's team could make it sticky. ;-)
View the original post :
Hello,
I have a very simple login page that uses Seam's Identity. The first time I
invoke this page, I saw the following log entry:
anonymous wrote : 18:51:44,000 INFO [ServletCacheAdministrator] Created new
instance of ServletCacheAdministrator
| 18:51:44,000 INFO
Are we boring them with our questions. They don't seem participate or reply to
our questions :(
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4036111#4036111
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4036111
Does anyone know the cause of this problem?
Thanks
anonymous wrote :
| 14:12:12,375 WARN [ServiceController] Problem starting service
persistence.units:jar=authen.jar,unitName=authen
| java.lang.NullPointerException
| at org.hibernate.util.StringHelper.qualify(StringHelper.java:264)
Hello,
I have a stand-alone application that listens to messages sent from a remote
server. I now would like to turn this app into a Java EE application. The JMS
consumer in this stand-alone application would now become MDB bean.
How do I configure this MDB to listen to messages sent from the
Here is the trace. I don't see confirmation that a message had been sent.
anonymous wrote : 2007-04-05 14:52:34,375 DEBUG
[org.jboss.jms.message.MessageIdGeneratorFactory] checked out
MessageIdGenerator for 0, reference count is 5
| 2007-04-05 14:52:34,375 DEBUG
Here is a log for a successful sent and received.
anonymous wrote : 2007-04-05 15:02:27,734 DEBUG
[org.jboss.jms.server.security.SecurityMetadataStore] No SecurityMetadadata was
available for td-private, using default security config
|
| 2007-04-05 15:02:27,734 DEBUG
There was a transient field in my message class that was changed for testing
and we forgot to put it back to transient status. Hence the message object was
not serializable.
It would have been nice if JBoss Messaging would display an message or throw an
exception instead of silently swallowed
I have stand-alone application that connects to JBoss Messaging server. My app
does not quit after the JMS server went down.
May have something to do with Tomcat.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035203#4035203
Reply to the post :
Just an update on the consequences.
The version seemed to depend on which component in JBoss got invoked first. Too
unpredictable to hardwired the version like I mentioned before.
I am using a tester to prime the server with EJB component first. It worked
for now.
View the original post :
Hello all,
I am trying to migrate my application from using JBoss MQ to JBoss Messaging.
I have followed the doc and installed JBoss Messaging 1.2.0 SP1, I ran the
queue example and it worked fine.
However, when I tried to run my client (external) app, I have the following
error:
anonymous
I'd like to clarify that this client app threw the exception while looking up
an EJB remote.
I have another tester that uses pure JMS and this client had problem starting
up and publishing messages to the JBoss server.
Thanks
View the original post :
It did sound suspicious. Yet my client referenced only 3 jar files two of which
are JBoss's (jboss-j2ee.jar and jboss-messaging-client.jar). jboss-j2ee.jar is
picked it up from jboss.home\client while jboss-messaging-client.jar is from
jboss-messaging-1.2.0.sp1 installed directory. The 3rd jar
I must have gone mad. I mistyped the second posting.
My JMS client had NO problem publishing to the server. It's EJB client that HAD
problem looking up an EJB remote.
anonymous wrote : I have another tester that uses pure JMS and this client had
problem starting up and publishing messages to
How would I find out which Invoker I used? I took the default that came with
JBoss 4.0.5GA. My EJBs does not declare any Invoker and so do my ejb config
files.
I searched JBoss's output and found the following:
anonymous wrote :
| 12:54:19,531 INFO [SocketServerInvoker] Invoker started for
I found a posting on this board not to use jboss-all-client.jar so I removed it
from my computer totally. My client only used those 3 jars I mentioned.
Here is the client output. Notice the fourth jar in the list is for the client
itself.
anonymous wrote : D:\dev\exchange\binjava -classpath
I looked at all the jar files relating to jboss.remoting on the server.
I found one jboss-remoting.jar resided in the server\messaging\lib (595KB,
dated today probably because I'd just reinstalled JBoss + JBoss Messaging)
I also found another copy of jboss-remoting.jar in
From the exception thrown:
anonymous wrote : local class incompatible: stream classdesc serialVersionUID =
-2909329895029296248, local class serialVersionUID = -4977622166779282521
server version = -2909329895029296248 == Long.valueOf(0xd79ffbdff05ab388L);
local version = -4977622166779282521
Based on that finding, I hardwired the following system property
-Djboss.remoting.version=2 and now my client is connecting alright.
Don't know if that would cause any consequences. We'll see.
Thanks
View the original post :
Hello,
I have a problem in my client application in receiving messages published by a
SessionBean (EJB3). I am using JBoss Messaging with JBoss 4.0.5GA.
My client had no problem looking up the name, created a destination and then a
MessageConsumer for the destination (queue).
None of the
Hello all,
I have a problem in my client application in receiving messages published by a
SessionBean. I am using JBoss MQ came with JBoss 4.0.5GA.
None of the messages published by my SessionBean (to a queue) would end up in
my client's application. My SessionBean had no problem looking up
How can I tell what name my JBossMQ's connection factory is registered under?
/ConnectionFactory does not seem to work.
Could someone tells me what went wrong?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033587#4033587
Reply to the post :
Never mind,
My ServiceLocator swallowed the original exception and threw a different
message.
Sorry about that.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4033815#4033815
Reply to the post :
Does anyone know the cause of this exception?
Thanks
--
anonymous wrote : java.lang.RuntimeException: java.lang.NullPointerException
| at
org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:113)
| at
Does anyone know if we can create a new queue in JBossMQ programmatically?
something like queue/private/Tony and queue/private/Anthony?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032949#4032949
Reply to the post :
Hello all,
I have two stateless session beans that exchange data with each other. If I
were to declare EJB injection (@EJB tag) of each other in the beans, the
container would complain:
anonymous wrote : 14:37:58,625 ERROR [URLDeploymentScanner] Incomplete
Deployment listing:
|
| ---
Hello all,
I have two stateless session beans that exchange data with each other. If I
were to declare EJB injection (@EJB tag) of each other in the beans, the
container would complain:
anonymous wrote : 14:37:58,625 ERROR [URLDeploymentScanner] Incomplete
Deployment listing:
|
| ---
Does anyone have a list of what JAR files I need (beside my app) to distribute
with a remote client application?
I am going nuts over one missing class after another.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029460#4029460
Reply to the post :
Does anyone have a list of what JAR files I need (beside my app) to distribute
with a remote client application?
I am going nuts over one missing class after another.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029462#4029462
Reply to the post :
BTW,
I am using 4.0.5GA.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029464#4029464
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029464
___
jboss-user mailing list
BTW,
I am using 4.0.5GA.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029463#4029463
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029463
___
jboss-user mailing list
Hello,
I have developed a very simple MDB to test with JBoss Messaging 1.2/JBoss
4.0.5GA. When JBoss came up, it complained about JMS activation with the
following warning and then error:
(as you can see in this log, a queue was created, a MDB was started and then a
warning and an exception)
Never mind. I found a work around in the earlier post.
The real question for us less savvy on JBoss Messaging would be then how to
build a binary from the subversion code?
Is it possible for someone to build a patch and release it?
Thanks
View the original post :
That made sense. Thanks Rhodan76
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4028438#4028438
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028438
___
jboss-user mailing list
I use plain eclipse.
I don't have problem running JBoss server in eclipse. I just don't know how to
bring it up 'with' JBoss Messaging since it requires a passing flag of '-c
messaging' and I don't know how to specify that in eclipse.
View the original post :
Thanks for the suggestion.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4027585#4027585
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027585
___
jboss-user mailing list
Hi all,
Would JBoss validate an Entity's attribute for length?
@Entity
| public class ExampleName implements Serializable {
| ...
| private String name;
|
| @Column(nullable = false, length=25)
| public String getName() {
| ...
| }
when I invoke the following
Hello all,
Any idea on how to run JBoss with JBoss Messaging inside eclipse? I don't know
how to specify the -c messaging flag. I override the run.bat but that only seem
to affect running JBoss from a command line.
Thanks for your help.
View the original post :
I think the problem I am having is relating to the way I packaged my ear file.
When I unpacked the ear and deployed only the jar file, I had no problem
looking up the remote interfaces.
I would greatly appreciate if someone can help clarifying what I need in my ear
file. O'Reilly's Enterprise
I think the problem I am having is relating to the way I packaged my ear file.
When I unpacked the ear and deployed only the jar file, I had no problem
looking up the remote interfaces.
I would greatly appreciate if someone can help clarifying what I need in my ear
file. O'Reilly's Enterprise
I found the following snippet in my JBoss log right after it tried to deploy my
ear file:
09:46:03,000 INFO [SessionFactoryImpl] building session factory
| 09:46:03,140 INFO [SessionFactoryObjectFactory] Not binding factory to
JNDI, no JNDI name configured
What does it mean?
View the
No.
I thought with EJB3, the JNDI name should be defaulted the unqualified
classname.
Do I need an explicit JNDI name if I were to deploy with EAR file? Deployment
with JAR did not seem to require the JNDI names at all.
View the original post :
Hello all,
Say I have a customized class called Money. I would like to model an entity
bean called Account that has a field called balance of type Money.
@Entity
| public class Account implements Serializable {
| private Money balance;
|
|
| @Column(nullable=false,
Hello all,
Say I have a customized class called Money. I would like to model an entity
bean called Account that has a field called balance of type Money.
@Entity
| public class Account implements Serializable {
| private Money balance;
|
|
| @Column(nullable=false,
Hello all,
Can someone help me with a simple context lookup?
I have a session bean deployed within JBoss 4.0.4 GA AS, JDK 5.
My EJB3 code is as:
@Stateless
| @Local(AuthenticatorLocal.class)
| @Remote(AuthenticatorRemote.class)
| public class AuthenticatorBean implements Authenticator {
Hello all,
Can someone help me with a simple context lookup?
I have a session bean deployed within JBoss 4.0.4 GA AS, JDK 5. My EJB code is
as followed:
@Stateless
| @Local(AuthenticatorLocal.class)
| @Remote(AuthenticatorRemote.class)
| public class AuthenticatorBean implements
Hello all,
I orginally posted this question on 'JBoss User - Beginners Corner' and 'JBoss
User - EJB/JBoss' forums but got no response. I am hoping to get better luck
with this forum.
Can someone help me with a simple context lookup?
I have a session bean deployed within JBoss 4.0.4 GA AS,
cja987,
At least I got replies from you. No one seemed to care on the other forums. :((
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026754#4026754
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026754
You can override the RuleBasedIdentity.login to redirect the user to the
correct page.
@Name(org.jboss.seam.security.identity)
| @Scope(ScopeType.SESSION)
| @Intercept(InterceptionType.AFTER_RESTORE_VIEW)
| public class YourNewIdentity extends RuleBasedIdentity {
| ...
| @Override
How does the id get generated?
Say I have a simple entity bean with 2 attributes id and desc. Attribute id is
tagged with @Id @GeneratedValue(strategy=GenerationType.AUTO).
Can I create a new object of this class with just the desc and let Hibernate
create the id? In the database end, do I
My apology for posting the following Persistent/Hibernate question on this
board. I had posted it on the Persistent/Hibernate forum but found myself visit
this forum more frequent than others.
The question is: How does an ID declared as @Id
@GeneratedValue(strategy=GenerationType.AUTO) get
It turned out that the @Id @GeneratedValue(strategy=GenerationType.AUTO) worked
just fine.
The problem with my code was that I had a constructor that takes in the message.
In order for the id to be generated by the Persistent layer, I needed to
construct the object using the default
Hello,
I modified the code in the example 'messages' bundled with Seam.
I injected a (session) UserAccount to the class MessageManagerBean and modified
the findMessages to include a where clause in the query. It worked like a champ
and all corresponding messages belong to this user were found
Try setting 'he' as the default locale in your browser.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024458#4024458
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024458
___
May I ask how you type Hebrew language into the resourceBundleEditor?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024468#4024468
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024468
I guess my question is due to the fact that I don't know how to use
international language on a computer. :(
I am trying to develop a site with Vietnamese yet I don't know to type
Vietnamese using a computer, especially with a tool like Eclipse. I was
thinking of asking a developer in Vietnam
I got it now. If entityManager was injected as @In then it would use Hibernate
query. In earlier code I injected with @PersistenceContext and that was why I
was able to use SQL select statement against the database table.
Back to overriding the RuleBasedIdentity, the login method allows me to
Got it. Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024022#4024022
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024022
___
jboss-user mailing list
I have the following code
| public class LocalChanger {
| public String englishAction() {
| FacesContext context = FacesContext.getCurrentInstance();
| context.getViewRoot().setLocale(Locale.ENGLISH);
| return
Seam does make it simpler doesn't it. ;-)
Coded it. Will test it out as soon as I complete this half baked module that
I've been working on all afternoon. 8(
Thank Ricardo.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024056#4024056
Reply to the post :
I replied before I saw your second posting.
I like your first code snippet better. That way I can control time and other
stuffs. I figured you meant injecting a LocaleSelector so that what I did.
Here is how I coded it.
| @In
| LocaleSelector localeSelector;
|
| public
Can someone help me in understanding how the LoggedInInterceptor in the booking
example work?
Many thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023298#4023298
Reply to the post :
Thanks Garvin.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023307#4023307
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023307
___
jboss-user mailing list
My apology, Gavin, not Garvin. ;-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023310#4023310
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023310
___
jboss-user mailing list
I remembered during seam-gen setup process, it asked if we wanted the db tables
to be dropped and recreated upon every build.
Does it generate the SQL statements for each table corresponding to each Entity
bean? If yes, where would the SQLs be located?
Once again, many thanks ;-)
View the
I created the tables and the error went away.
What if I modified the entity bean? Would the table got updated automatically?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023350#4023350
Reply to the post :
Hello all,
I don't even use AJAX in my app. Perhaps somewhere in the config files that
reference this AJAX?
Does anyone know where or what to look for that reference this lib?
Thanks
- Server log -
SEVERE: Error Loading Library:
I like Seam Identity. It simplifies my login session verification process
significantly.
What I would like to do next is to outject a LoginSession with account ID,
etc... once the user has login. How do I go about overriding/suplementing the
Identity.login method? (I am assuming there is an
Hi Gavin,
I am using Seam 1.1.6, not 1.2 and I received the following error when I copied
the Authenticator example code
(http://docs.jboss.com/seam/1.2.0.GA/reference/en/html/security.html#d0e6073)
Server log ---
Caused by: org.jboss.seam.RequiredException: In attribute requires
I am using Seam-managed PC. But it's throwing me the above error. Here is a
snippet of stacktrace:
| 18:07:03,015 INFO [Lifecycle] starting up: org.jboss.seam.security.identity
| 18:07:03,562 INFO [Pages] reading pages.xml
| 18:07:03,625 ERROR [SeamLoginModule] Error invoking login
With the (created=true) flag, I now got this:
| 21:54:46,578 INFO [Lifecycle] starting up: org.jboss.seam.security.identity
| 21:54:46,734 INFO [Pages] reading pages.xml
| 21:54:46,843 INFO [STDOUT] Verify login for tony
| 21:54:46,843 ERROR [SeamLoginModule] Error invoking login
1.2 did not solve the problem. I am still running into the error:
| 23:02:21,453 INFO [Lifecycle] starting up: org.jboss.seam.security.identity
| 23:02:22,625 INFO [Pages] reading pages.xml
| 23:02:23,546 INFO [STDOUT] Verify login for tony
| 23:02:23,718 ERROR [SeamLoginModule] Error
Well this thread is about running the booking example on JBoss with JSF 1.2 RI.
And I still can't do that. :-( The booking example deals with MyFaces or at
least references it. Yet the suggested steps did not say what to do with it.
I use Exadel Studio Pro and I know that they have to tweak
Have anyone been able to run the book example with 4.0GA + JSF 1.2 yet?
After followed the guide in here, I still run into problem (see log below).
Can someone help? Thanks
11:52:14,921 ERROR [STDERR] Feb 23, 2007 11:52:14 AM
com.sun.faces.spi.InjectionProviderFactory createInstance
INFO:
I am using RI 1.2. The only other jar I suspect that caused the problem is
jsf-facelets.jar. I am using facelets-1.1.12. Isn't it compatible?
A only other version that is newer would be facelets-1.2-DEV-20061110. When I
used this, JBoss threw this in the log:
19:27:43,125 ERROR [[/webclient]]
I downloaded and unzipped 5.0Beta1 in hoping to run a demo deployed in a JBoss
AS that is compatible with JSF 1.2.
After running seam-gen for a new project for AS 5.0, I ran the build.xml
provided by seam-gen. It deployed a seam-booking.ear (directory) and a
seam-booking-dev-ds.xml into the
101 - 186 of 186 matches
Mail list logo