[jboss-user] [JBoss Seam] - Re: Following Seam Pay example - Error

2007-05-24 Thread koriel
well this is the stacktrace...ignore the smtp error | | 19:19:51,069 INFO [STDOUT] 5 | 19:19:51,069 INFO [STDOUT] 5 | 19:19:51,069 ERROR [STDERR] java.lang.NullPointerException | 19:19:51,071 ERROR [STDERR] at c2iff.logic.StatusProcessor.checkCitations(StatusProcessor.java:6

[jboss-user] [JBoss Seam] - Following Seam Pay example - Error

2007-05-24 Thread koriel
I wanted to follow the seam pay example and all works fine using this code | @Asynchronous | @Transactional | public Timer checkCitations(@Expiration Date when, | @IntervalDuration long interval, | Processor p

[jboss-user] [JBoss Seam] - Re: Seam Jaas Problem

2007-05-14 Thread koriel
no this was a copy paste error...anyway problem fixed.. I just deleted the ear,war and jar files that the packaging tool produced and run the packaging again and problem solved.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045379#4045379 Reply to the post

[jboss-user] [JBoss Seam] - Datamodel question

2007-05-14 Thread koriel
I have a list that I want to expose using the Datamodel annotation | @DataModel | List listUsers; | also Users entity contains a list of names like | public class Users { | | .. | List names | .. | } | in my xhtml page i have this code | | | | | |

[jboss-user] [JBoss Seam] - Seam Jaas Problem

2007-05-12 Thread koriel
I want to use seam jaas module so I followed the instructions from docs. I use seam 1.1.6 and here is my config files... components.xml | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:security="http://jboss.

[jboss-user] [JBoss Seam] - Re: submit on enter

2007-05-11 Thread koriel
Well after some searching I found this...dont know if it's working but I'll try it right now | http://www.jsftutorials.net/defaultActionTag.html | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045025#4045025 Reply to the post : http://www.jboss.com/in

[jboss-user] [JBoss Seam] - submit on enter

2007-05-11 Thread koriel
hi all I have an xhtml page that has an element and in it I have alot of and and I have two for this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044908#4044908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044

[jboss-user] [JBoss Seam] - Escape from a form that needs validation

2007-05-10 Thread koriel
I got an xhtml page that has a form and some fields needs validation...also in the same page I have a menu for the user...each menu item is a commandLink all of the above are rendered inside one pair. My problem is that if I try to leave this form using a menu commandLink I get those validation

[jboss-user] [JBoss Seam] - Re: Exception getting value of property

2007-05-07 Thread koriel
I'm using Seam 1.1.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043601#4043601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043601 ___ jboss-user mailing list jboss-user

[jboss-user] [JBoss Seam] - Re: Exception getting value of property

2007-05-07 Thread koriel
Felix, thx for your answer but by injecting the component what do you mean exactly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043588#4043588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043588 __

[jboss-user] [JBoss Seam] - Exception getting value of property

2007-05-06 Thread koriel
Ok here is my stateful bean | @Stateful | @Name("uaiContext") | @Scope(ScopeType.SESSION) | public class UaiContext implements uaiContx,Serializable { | | /** | * | */ | private static final long serialVersionUID = -5059323890154970180L; | | @Logger

[jboss-user] [JBoss Seam] - Forms with seam

2007-04-10 Thread koriel
I have an h:form with 3 commandLinks and each link calls a different method..when I click one link all three methods are being executed..how can I avoid this...? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035919#4035919 Reply to the post : http://www.jb

[jboss-user] [JBoss Seam] - Re: SeamLoginModule

2007-02-13 Thread koriel
Well everything is ok now...thx all, jaas is working just fine... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015658#4015658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015658 _

[jboss-user] [JBoss Seam] - Re: SeamLoginModule

2007-02-12 Thread koriel
Well I did tried 1.1.6 and it was alot better...now I can login and authenticate but when the flow returns from the authenticate method the value (true) I got this exception | 16:37:00,505 ERROR [SeamExceptionFilter] uncaught exception | javax.servlet.ServletException: Error calling act

[jboss-user] [JBoss Seam] - Re: drools rule file.

2007-02-11 Thread koriel
oops wrong topic View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014649#4014649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014649 ___ jboss-user mailing list jboss-user@lis

[jboss-user] [JBoss Seam] - Re: SeamLoginModule

2007-02-11 Thread koriel
ok thx..I'll try 1.1.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014648#4014648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014648 ___ jboss-user mailing list jboss-us

[jboss-user] [JBoss Seam] - Re: drools rule file.

2007-02-11 Thread koriel
Ok thx, I'll try 1.1.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014647#4014647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014647 ___ jboss-user mailing list jboss-us

[jboss-user] [JBoss Seam] - SeamLoginModule

2007-02-11 Thread koriel
Hi all. I want to use the SeamLoginModule that uses JAAS in SEAM 1.1.5 and I've read the docs and I try to do it like it says to run an example but it doesn't work... here is my components.xml | | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/pro

[jboss-user] [JBossWS] - Re: web services samples

2006-10-24 Thread koriel
ok I updated my xerces jars and now I got this error | init: | [echo] jboss.home = /usr/local/jboss-4.0.4.GA/ | [echo] tomcat.home = ${tomcat.home} | [echo] java.home = /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre | [echo] node0 = ${env.HOSTNAME} | | | c

[jboss-user] [JBossWS] - web services samples

2006-10-24 Thread koriel
I tried to run the samples so when I run ant in the samples directory somewhere in the end I get this exception | init: | [echo] jboss.home = /usr/local/jboss-4.0.4.GA/ | [echo] tomcat.home = ${tomcat.home} | [echo] java.home = /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre

[jboss-user] [JBossWS] - web services client

2006-10-24 Thread koriel
I want to implement a user authentication service using web services..so I have these classes | package server.webservices; | | import javax.ejb.Local; | import javax.ejb.Remote; | | @Local | @Remote | public interface LoginService | { | public boolean Authenticate(String

[jboss-user] [JBossWS] - Re: Problem starting user guide

2006-10-08 Thread koriel
sorry my bad...I used the @Remote annotations that imports the java.ejb.Remote... :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976805#3976805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976805 _

[jboss-user] [JBossWS] - Problem starting user guide

2006-10-08 Thread koriel
I want to implement some web services in my app which is a j2ee web application based in jsf,ejb3.0 with seam. I download the jbossws-1.0.3.GA and I start the user guide... So I created the following classes | package some.webservices; | import java.rmi.RemoteException; | import javax.ejb

[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss mail-service.xml localhost, port 25

2006-09-26 Thread koriel
actually when I'm using | @Resource(mappedName="java:/Mail") | the mailsession is always null. if I use | InitialContext ctx = new InitialContext(); | mailSession=(Session)ctx.lookup("java:/Mail"); | everything is fine..so I guess there must be something wrong wit

[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss mail-service.xml localhost, port 25

2006-08-30 Thread koriel
well the problem seems to be in bounding the mbean. Here is the code for my RegisterMessage | @Resource(mappedName="java:/Mail") | Session mailSession; | | | | public Message UAIMessage(User user) { | | try {

[jboss-user] [Installation, Configuration & Deployment] - Jboss mail-service.xml localhost, port 25

2006-08-30 Thread koriel
I change the mail-service.xml to | | | | | | | | java:/Mail | some | some1 | | | | | | | | | | | | | | |

[jboss-user] [JBoss Seam] - Re: Conversion Error

2006-08-11 Thread koriel
I have The Names class named "names" but not the AuthorUser View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964565#3964565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964565 ___

[jboss-user] [JBoss Seam] - Conversion Error

2006-08-11 Thread koriel
My user entity | @Entity | @Table(name="USERS") | public abstract class User implements Serializable | { | |private String password; |private List name; |private long id; | | |@Id |@GeneratedValue |public long getId() { | return id

[jboss-user] [JBoss Seam] - Re: Injection problem

2006-08-10 Thread koriel
You were right. I put the ejb-jar.xml in my jar archive and there is no need for the @Interceptor annotation any more in my ejb class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964358#3964358 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Seam] - Re: Injection problem

2006-08-10 Thread koriel
You are refering to the packaging configuration? If yes all my classes are in the jar archive but I don't have the ejb-jar.xml there. I'll try that. Now I have another issue. I want to use utf-16 by default so I wrote a class filter and I put those lines in my web.xml | |

[jboss-user] [JBoss Seam] - Re: Injection problem

2006-08-10 Thread koriel
well I'm not sure if what I'm going to say is stupid but User entity is in the entities package and register in the blogic package. So they are in different packages..Does that matter? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964343#3964343 Reply to th

[jboss-user] [JBoss Seam] - Re: Injection problem

2006-08-10 Thread koriel
this is my ejb-jar.xml | | | | * | org.jboss.seam.ejb.SeamInterceptor | | | | problem solved by placing | @Interceptors(SeamInterceptor.class) | in my RegisterAction ejb but why do I need this? View the original post : http:

[jboss-user] [JBoss Seam] - Re: Injection problem

2006-08-10 Thread koriel
And the funny thing is that this code is copy paste from the seam booking examples that works just fine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964331#3964331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=396433

[jboss-user] [JBoss Seam] - Re: Injection problem

2006-08-10 Thread koriel
Also I set the scope to SESSION but still the user and FacesMessages are null. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964330#3964330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964330

[jboss-user] [JBoss Seam] - Re: Injection problem

2006-08-10 Thread koriel
I debug at the user is null. FacesMessages also null. Only the entityManager is not null View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964327#3964327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964327 _

[jboss-user] [JBoss Seam] - Re: Injection problem

2006-08-10 Thread koriel
I'm calling this method online 44 user.getPassword(). is like nothing comes from the context in my ejb so the user is null but why? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964322#3964322 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Seam] - Injection problem

2006-08-10 Thread koriel
I can inject with seam as it seems My user class | | @Entity | @Table(name="USERS") | @Name("user") | @Scope(SESSION) | public class User implements Serializable | { |private String username; |private String password; |private String name; | |public

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

2006-08-09 Thread koriel
ok I did the modifications you suggest about the inject name and I put h:messages to my form. No I'm getting for all the fields the Conversion Error. What that means? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964008#3964008 Reply to the post : http:

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

2006-08-09 Thread koriel
What u mean by saying that at no point I create an authorName to write into? Yes, is like the method is never called when I hit enter. I ll try with the h:messages to see what happens. And thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964001#3964001 Re

[jboss-user] [JBoss Seam] - Problem with forms

2006-08-08 Thread koriel
I have two entity classes users and names with a onetomany relation...the problem is that when I have this names entity in my form when I hit submit nothing happens. If I have only the users in my form everything goes well. The submit action calls the registerUser.register method...anyone can ex

[jboss-user] [Installation, Configuration & Deployment] - Jboss Logger

2006-07-30 Thread koriel
Can I configure jboss to use different log files for different log levels for my application. For example the info level to be logged in file myapp_info.log and the debug level in the myapp_debug.log so when I use log.info("some text") this entry goes to the myapp_info.log and accordingly for lo

[jboss-user] [Installation, Configuration & Deployment] - Jboss Logger

2006-07-30 Thread koriel
Can I configure jboss to use different log files for different log levels for my application. For example the info level to be logged in file myapp_info.log and the debug level in the myapp_debug.log so when I use log.info("some text") this entry goes to the myapp_info.log and accordingly for lo

[jboss-user] [JBoss Seam] - Re: jboss and https

2006-07-24 Thread koriel
Sorry wrong forum View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960506#3960506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960506 ___ jboss-user mailing list jboss-user@li

[jboss-user] [JBoss Seam] - jboss and https

2006-07-24 Thread koriel
I want to enable ssl with jboss and that works fine..the part tha I can't figure out is how to redirect all requests from http to https. Is there some configuration trick or something View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960505#3960505 Reply to the

[jboss-user] [JBoss Seam] - jboss seam example

2006-07-23 Thread koriel
Ok I tried to import the seam registration example to eclipse and I'm using the jboss-ide packaging to create ear,war and jar files but although the final structure is identical to jboss seam's structure I got the following error | 13:42:16,395 INFO [Pages] no pages.xml file found | 13:42

[jboss-user] [JBoss Seam] - Re: Seam Application Deployment

2006-07-22 Thread koriel
"koriel" wrote : Ok I'm having some problems with seam...I have defined a simple class which is | | | | | | @Stateless | | @Name("myejb") | | public clas

[jboss-user] [JBoss Seam] - Seam Application Deployment

2006-07-22 Thread koriel
Ok I'm having some problems with seam...I have defined a simple class which is | | | @Stateless | @Name("myejb") | public class TestEjb implements Serializable { | | /** | * | */ | | private String mystring="hi koriel"; |