Actually, I am using JBoss Native - but I don't see any options for running on
port 80 as a non superuser. Is there any way I can do it with JBoss Native?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4130456#4130456
Reply to the post :
How does one setup JBoss to run correctly while still being able to listen on
ports 80 and 443 for http and https, respectively? I don't want to run as
root. Unfortunately, my JBoss AS runs on a virtual machine - and the hosting
company doesn't allow port forwarding. Would something like
I am running JBoss AS 4.2.2 GA w/ JBoss Native 2.0.1. My web app should be
secure - i.e. accessed via HTTPS on port 443. That's easy enough to change in
my server.xml file - which I've already done by having a Connector listen on
port 80 and does a redirect to port 443.
However, I would also
Because the identity component is session scoped, this doesn't seem to be
possible - e.g. I open multiple tabs on a single browser, where each tab
represents a different user logging into my application. How can I make this
work to support multiple users (other than rewriting the identity
It seems as though my stateful session beans (in this case, session scoped) are
not being destroyed correctly. I have a method which is annotated with the
@Remove and @Destroy annotations. When the stateful session bean is being
destroyed (after the HTTP session times out - and yes, my SFSB
mrobinson28 wrote :
| So my questions:
|
| | * From the exception it looks like I may have to provide more than I
am currently via something in org.jboss.seam.mock.* e.g currentUser (In the
application currentUser is a session scoped component that is instantiated when
a user logs
Have you tried the ICEfaces / Seam gen? That seems to work for me... up to a
point. The server-side rendering in the ICEfaces / Seam gen project web page
(in particular, the footer) of the time doesn't seem to work. Other than that,
the project seems to be configured correctly.
You may also
I think I may have a misconception of some of the intricacies of outjection and
Seam component instantiation. I have a Seam component that is created by Seam
via the @In(create=true) annotation. Unfortunately, I cannot seem to inject
another Seam component into this component. Here's what
I would like to have a Seam component used as a listener. Here's what I mean:
@Name(myBean)
| @Stateful
| public class MyClassBean implements MyClass, PacketListener {
| @In
| Connection connection = null;
|
| @In
| ListMyMessageList messageList = null;
|
| @Create
| public
Hi Matt,
Thanks for the reply. I actually tried something similar to that:
connection.addPacketListener(Component.getInstance(myBean));
and
connection.addPacketListener(Component.getInstance(myBean, false));
Both didn't work for me though...
View the original post :
I asked the same question in the EJB3 forum a while back and I didn't get a
reply there either. I did not make any progress on this issue (and abandoned
it). So unfortunately, I can't offer much help...
View the original post :
For an action, one can test it with the following:
@Override
| protected void invokeApplication() {
| //call action methods here
| invokeMethod(#{NewForm.newForm});
| }
How does one do it for an action event or value change event? If I attempt to
run something like:
This seems to have been fixed in Seam 1.1 GA. I was previously using 1.1 CR1.
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3994377#3994377
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3994377
I'm having some issues displaying Faces messages... Please tell me what I'm
doing wrong:
Here's a snippet of my code. I'm not sure if I'm supposed to use facesMessages
or just call the constructor for the exception class, so I tried both:
facesMessages.add(FacesMessage.SEVERITY_ERROR,
Oops, the last part of the message was wrapped twice in code sections...
It should have stated this:
The page does get redirected to /pages/confirmation/applicationException.xhtml,
so at least the redi
rection part does work. However, no error message is displayed... The button
does get
I'd like to invoke two or more page actions for the same view-id - however,
that doesn't seem to be possible. Here's an example:
page view-id=/pages/status/*
| action=#{connection.getFirstStatus } /
|
| page view-id=/pages/status/*
|
Hi Paul,
Did you ever figure this out (or hazard a guess)? From you last post, I guess
you didn't...
Anyway, I'm having similar problems (I moved from Tiles to Facelets and I now
am encountering this issue) - the h:messages tag doesn't show any errors and
look at the phase listener tracker
I've had a short history and issue in getting Seam exception handling working
for me. It's important because I truly want to get this working since I would
really want to handle exceptions the Seam way. I previously had issues that I
thought might be due to Tiles eating the exceptions, so I
Hi Gavin,
Thanks for the tip and help. Unfortunately, I get the same stack trace when I
remove the @Create annotation...
What's interesting (or maybe it's not that interesting) is that if I set the
Facelets development property to true:
context-param
|
I have deployed my ear on JBoss 4.0.5 GA with Seam 1.1 Beta 2 and Facelets.
What happens is that my web app automatically does hard page refreshes (I'm
getting close to using ICEfaces so that I don't have hard page refreshes, but
it's still a few weeks away). The user, via a select menu on a
I found the problem - and it took quite a while to solve because the exception
stack traces weren't very helpful...
It seems if one uses a JBoss URL or directory property in properties service
(in this case, to specify the trust store) - and if the property contains
spaces (e.g. C:\Program
Hi,
When a user attempts to login using LdapExtLoginModule, I get the following
error:
2006-11-17 11:38:41,041 DEBUG [org.jboss.security.auth.spi.LdapExtLoginModule]
Bad password for username=johndoe
| javax.naming.CommunicationException: mycompany.com:636 [Root exception is
I just saw this...
System.out.println(Artikelnummer: + getSelectedSearchArticle().getArtName());
Why are you using getSelectedSearchArticle()... where are you defining this? -
I don't see it in your class (I'm wondering why it would even compile, unless
you deliberately left this out in this
What I did is basically added some code in the getters and setters methods that
are bound to the boolean checkbox. I'm pretty sure there's a better way of
doing this, and if anyone knows, please tell me. But I believe this is
probably what jazir had in mind and here's what I implemented a
Hi,
I've seen the same problem, too! In this case, my last node is a Long
object... Hope this gets fixed soon. Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3976859#3976859
Reply to the post :
Hi Gavin,
I retried with the proper viewID - /error.jspx - and I hate to say it, it's
still failing...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3976643#3976643
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3976643
I'm really interested in the pojocache configuration and usage (rather than the
remoting stuff)... so I'd be interested in a working Seam example with
pojocache. Just wondering when this example will be fixed. Thanks!
View the original post :
Sorry about that. I just didn't try hard enough and figure it out. I tried
ant deploypresentation in the actual example project directory. Sorry for
wasting your time!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3976721#3976721
Reply to the post :
via JNDI on Tomcat. I would appreciate any help.
Thanks!
8 wrote : I'm running Seam in Tomcat (EJB 3 embedded) and my client
program cannot perform the lookup. I'm not sure if I'm missing something in my
configuration files. My jndi.properties has the following (which is the
default
Yes, it is provided a valid ID. I can say that because if I type in the viewID
explicitly, it goes to that page (and displays it correctly).
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3976458#3976458
Reply to the post :
Don't worry about not believing me. There's a good chance I did something
stupid. :)
The viewId that I see in the debugger is exactly the same as the one I put in
the @Redirect annotation: /error.faces
View the original post :
[EMAIL PROTECTED] wrote : Put breakpoints in the Seam code and check that:
|
| (1) ExceptionInterceptor.handled() gets called
| (2) SeamExceptionFilter.isExceptionHandled() gets called
|
| And tell me what SeamExceptionFilter.isExceptionHandled() returns.
1. Yes,
I recently upgraded my Seam libraries from 1.0.1 GA to the 9/28/2006 build. I
just noticed that a session bean that I've annotated with Roles doesn't seem to
work any more - it worked with 1.0.1 GA. When I mean work, I mean my JSF
markup that's referencing one of the roles somehow always
I'm running Seam in Tomcat (EJB 3 embedded) and my client program cannot
perform the lookup. I'm not sure if I'm missing something in my configuration
files. My jndi.properties has the following (which is the default content in
the jndi.properties file given in the Seam examples):
Hi Gavin,
Unfortunately, I'm still having problems with using the @Redirect annotation.
Perhaps I'm just missing something in translation about the purpose of the
@Redirect annotation.
I corrected the bean (i.e client) that was used to call the ConnectionBean
stateless session bean - instead
One more thing - I've noticed that since I made the move from Seam 1.0.1 GA to
the latest CVS version of Seam (Sep. 26), application exceptions that are
thrown automatically take me to the JBoss Seam Debug page, similar to what was
seen in this thread:
Thanks for the info Brian. I've only quickly glanced at the tutorial - and
perhaps I should do some extra reading before I ask this - but do you have any
examples that relate to caching Web services. I couldn't find this in the
tutorial. In particular, I'm looking for examples (or just some
8 wrote : Hi Gavin,
|
| Thanks for the quick response! For now, I just made message non-null, but
I've come up with a slightly different error.:
|
| ERROR 27-09 13:41:48,204 (ApplicationDispatcher.java:invoke:704)
-Servlet.service() for servlet jsp threw exception
[EMAIL PROTECTED] wrote : ie. set org.jboss.seam.core.init.debug=false, the
default
Hi Gavin,
What's strange about this is I've always set it to true - and it never
redirected me to the Debug page in Seam 1.0.1 GA - but it does so for the
latest code. So that's what caught me out. That
Hi Gavin,
Thanks for the quick response! For now, I just made message non-null, but I've
come up with a slightly different error.:
ERROR 27-09 13:41:48,204 (ApplicationDispatcher.java:invoke:704) -Servlet.servi
| ce() for servlet jsp threw exception
| javax.faces.el.EvaluationException:
I couldn't get this answered in the Beginner's Corner forum, so hopefully it
can be answered here. Does JBoss have anything in the middleware stack that
helps address this issue? Is JBossCache only for DB interactions?
View the original post :
Does JBoss have anything in the middleware stack that helps address this issue?
Is JBossCache only for DB interactions?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3973758#3973758
Reply to the post :
These are EJB 3 annotations for stateless session beans, yet they are not
mentioned in the Seam documentation. Consequently, I'm wondering if is it safe
to use the PreDestroy and PostConstruct annotations? Just wondering if it may
not function as expected...
View the original post :
I'm wondering why my method that's marked with the @Factory annotation in my
stateless session bean isn't being invoked. Because I'm still new to EJB and
Seam, I'm wondering if I don't understand the concepts well enough yet. Here's
what I have (some sample code - the syntax may not be
Is it possible to use the components.xml file to configure stateless session
beans? I know the documentation says that it is not possible to configure
stateless session beans via the seam.properties file (section 2.3.1), but it's
a bit unclear as to whether or not this can or cannot be done in
Hi Gavin,
Thanks for the reply. Actually, something in the init and testSLSBMethod
methods would reference testVar. I just left that out.
In terms of @Create, is that not possible from a stateless session bean?
Thanks!
View the original post :
What I'm trying to achieve (or figure out) is why the init method isn't being
invoked when I call the testSLSBMethod. I assumed that because the init method
has been annotated with a Factory annotation and the testVar component is
initially null - that this would cause the init method (i.e.
My company has two LDAP environments in use. One LDAP environment is used to
authenticate users. The second LDAP environment is used to retrieve role
information. I have already configured my first login module to authenticate a
user (I'm using LdapExtLoginModule). However, I'm not sure how
I'm having problems injecting the value of an EL expression, in this case with
a session context component. For example, I'd like to inject the following:
@In(#{sessionContext.testString1})
| String string1;
|
| @In(#{sessionContext.testInteger1})
| Integer integer1;
Unfortunately,
Thanks Gavin. That then leads me to ask the question - what happens if there
are two variables with the same name but in different contexts? For example, a
testString1 in the sessionContext and a testString1 in the conversationContext.
How is this resolved and how should I invoke it in EL?
It would be nice to change the Seam spec such that one can apply the DataModel
annotation to the getter method of the list so that one can use the DataModel
in multiple roles without explicitly wrapping the list (in the source code) in
a DataModel object. I guess I'm suggesting this because
[EMAIL PROTECTED] wrote : You can use @DataModel on a getter method.
Hi Gavin,
I understand you can use the DataModel annotation on the getter method, but if
you have two instances of this component alive at the same time, with one
component associated with the default component name and the
I hate to move this thread up (and it's probably bad etiquette), but I would
really appreciate some help here. I'm really at a lost here and I certainly
don't want to explicitly wrap the List object in a DataModel object... I don't
think it should take too long to respond either - please tell
I'd like access a JSF DataModel from my JSP using EL. Normally, this is a very
easy thing to when one doesn't use multiple roles. But in this case, I'm
assigning multiple roles to a component and I can't seem to figure out the
correct syntax for accessing the DataModel.
For example, here's a
I'm always getting a null conversationStack component value whenever I use it.
I've followed the instructions listed in the reference documentation, creating
a pages.xml file, populating it with a page entry that matches a page view ID
in my faces-config.xml file. I'm using MyFaces 1.1.2 (and
I have some questions about components.xml, too.
In terms of managed beans and faces-config.xml, I would like to do something
similar in components.xml in terms of reusing Seam components. I understand
that Seam offers annotations to do this: @Role and @Roles. However, I'd like
to set
To clarify, I mean in the Seam reference documentation.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3965509#3965509
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3965509
___
I'm getting the typical:
java.lang.IllegalStateException?: No conversation context active
in my application when I use the binding attribute for my component. I know
that the Seam Problems FAQ details this problem, but does not suggest a
solution for it.
Unfortunately, I don't think I can
Yes, the JBoss extensions... I was just a bit concerned because the JBoss EJB
3.0 extensions were not mentioned in the reference documentation...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3965373#3965373
Reply to the post :
I'm having trouble implementing a multi-select table in my project. By
multi-select table, I mean a datatable where one can select via a checkbox one
or more table rows. When a JSF action is invoked, the action operates on the
chosen row(s).
I'm implementing this in an ugly fashion right
Hi texan,
That's one way of doing it, but I don't want to modify the entity (or class) to
add a selected attribute in the entity. Moreover, there are cases when one
cannot (easily) do this - e.g. the class has been created by JAX-RPC, etc. It
would be cleaner if one did not have to pollute
Amen brother! I agree that the setup and configuration are by far the most
difficult steps - I especially found that out since I'm using the Embeddable
EJB 3.0 microcontainer. I think I still need to resolve some configuration
issues (i.e. logging configuration, etc.)
And I still seem to be
I'm migrating to JBoss Seam, while sticking with Tomcat - which means that I'm
using the embeddable EJB3 container. I've followed the steps outlined in
section 9.3.3 of the JBoss Seam reference documentation:
http://docs.jboss.com/seam/latest/reference/en/html/configuration.html#d0e4780
I've
Oops, that was a typo:
Cannot get value for expression '#{messages['RequestNumber.Short']}'
should have been:
Cannot get value for expression '#{messages['TestNumber']}'
The error still occurs...notwithstanding my bumbling copy and paste.
View the original post :
I'm getting the same error. Did you ever get an answer to this problem?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964809#3964809
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964809
Hi,
I'm a newbie with Seam, but I've been having trouble with the DataModel
annotation. I'm not sure if it's a configuration problem, but I've used the
messages example in JBoss Seam 1.0.1 GA as a baseline for my configuration
(took many of the configuration values and jars from there). I'm
Thanks Gavin! It works! Thanks for the quick reply and for pointing out my
idiocy! :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964193#3964193
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964193
67 matches
Mail list logo