[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running JBoss as non-root user while listening on ports

2008-02-19 Thread zzzz8
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 :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Running JBoss as non-root user while listening on ports 80 a

2008-02-18 Thread zzzz8
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Setting up JBoss (JBossWeb) to listen to different ports for

2008-01-20 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Identity component and support of multiple users

2007-09-03 Thread zzzz8
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

[jboss-user] [JBoss Seam] - @Destroy-annotated method is not getting called when SFSB is

2007-08-07 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Unit Testing EL in EJB-QL/HQL

2007-05-12 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: ICEFaces DR and Seam

2007-05-07 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Outjection and component instantiation question

2007-05-07 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Seam component as a listener

2007-05-07 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Seam component as a listener

2007-05-07 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Re: Having problems looking up a Seam component in the JNDI

2007-04-14 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Integration testing action events or value change events

2007-01-07 Thread zzzz8
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:

[jboss-user] [JBoss Seam] - Re: Passing messages using JBoss Seam managed exception hand

2006-12-15 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Passing messages using JBoss Seam managed exception handling

2006-12-08 Thread zzzz8
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,

[jboss-user] [JBoss Seam] - Re: Passing messages using JBoss Seam managed exception hand

2006-12-08 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Multiple page actions per single view-id?

2006-12-01 Thread zzzz8
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/* |

[jboss-user] [JBoss Seam] - Re: Facelets does not submit

2006-11-28 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Seam exception handling failing

2006-11-25 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Seam exception handling failing

2006-11-25 Thread zzzz8
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 |

[jboss-user] [JBoss Seam] - java.lang.UnsupportedOperationException - exception in Phase

2006-11-22 Thread zzzz8
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

[jboss-user] [Security JAAS/JBoss] - Re: Cannot authenticate using LdapExtLoginModule against AD

2006-11-18 Thread zzzz8
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

[jboss-user] [Security JAAS/JBoss] - Cannot authenticate using LdapExtLoginModule against AD

2006-11-17 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Problem with DataModelSelection

2006-11-04 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Implementing a multi-select table

2006-10-20 Thread zzzz8
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

[jboss-user] [JBossCache] - Re: Eviction Policy problem cache clear

2006-10-08 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-10-06 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Chatroom example fails to build

2006-10-06 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Re: Chatroom example fails to build

2006-10-06 Thread zzzz8
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 :

[jboss-user] [EJB 3.0] - Looking up a Seam component in the JNDI ENC

2006-10-05 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-10-05 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-10-05 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-10-04 Thread zzzz8
[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,

[jboss-user] [JBoss Seam] - Roles bug?

2006-10-04 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Having problems looking up a Seam component in the JNDI ENC

2006-10-01 Thread zzzz8
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):

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-10-01 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-09-28 Thread zzzz8
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:

[jboss-user] [JBossCache] - Re: Caching for Web services?

2006-09-28 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-09-28 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-09-28 Thread zzzz8
[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

[jboss-user] [JBoss Seam] - Re: @Redirect issues - not redirecting to a page

2006-09-27 Thread zzzz8
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:

[jboss-user] [JBossCache] - Caching for Web services?

2006-09-26 Thread zzzz8
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 :

[jboss-user] [Beginners Corner] - Caching for Web services?

2006-09-24 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Is it OK to use PreDestroy and PostConstruct annotations for

2006-09-24 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Using the @Factory annotation and stateless session beans

2006-09-24 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Configuring components for stateless session beans

2006-09-24 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Using the @Factory annotation and stateless session bean

2006-09-24 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Re: Using the @Factory annotation and stateless session bean

2006-09-24 Thread zzzz8
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.

[jboss-user] [Security JAAS/JBoss] - Stacking login modules or writing a custom login module?

2006-09-22 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Problem injecting the value of a context component expressio

2006-09-20 Thread zzzz8
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,

[jboss-user] [JBoss Seam] - Re: Problem injecting the value of a context component expre

2006-09-20 Thread zzzz8
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?

[jboss-user] [JBoss Seam] - Re: Multiple roles and accessing the DataModel

2006-09-14 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Multiple roles and accessing the DataModel

2006-09-14 Thread zzzz8
[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

[jboss-user] [JBoss Seam] - Re: Multiple roles and accessing the DataModel

2006-09-13 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Multiple roles and accessing the DataModel

2006-09-10 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Problems with workspace management and breadcrumbs

2006-08-21 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: components.xml suggestion

2006-08-20 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Can I use the EJB 3.0 extensions?

2006-08-16 Thread zzzz8
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 ___

[jboss-user] [JBoss Seam] - How does one deal with UI bindings?

2006-08-16 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Can I use the EJB 3.0 extensions?

2006-08-15 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Implementing a multi-select table

2006-08-15 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Implementing a multi-select table

2006-08-15 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: Praise for Seam

2006-08-15 Thread zzzz8
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

[jboss-user] [Installation, Configuration Deployment] - Log4J configuration in the embeddable EJB3 container/Seam

2006-08-12 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: UI Labels and displaying the hash sign #

2006-08-12 Thread zzzz8
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 :

[jboss-user] [JBoss Seam] - Re: ClassValidator, java.util.MissingResourceException

2006-08-12 Thread zzzz8
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

[jboss-user] [JBoss Seam] - DataModel not made available as a context variable

2006-08-09 Thread zzzz8
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

[jboss-user] [JBoss Seam] - Re: DataModel not made available as a context variable

2006-08-09 Thread zzzz8
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