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
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
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
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
|
|
|
|
|
|
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.
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
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
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
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
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
__
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
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
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
_
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
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
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
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
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
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
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
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
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
_
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
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
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 {
I change the mail-service.xml to
|
|
|
|
|
|
|
| java:/Mail
| some
| some1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
___
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
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&
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
|
|
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
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:
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
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
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
_
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
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
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:
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
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
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
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
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
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
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
"koriel" wrote : Ok I'm having some problems with seam...I have defined a
simple class which is
| |
| |
| | @Stateless
| | @Name("myejb")
| | public clas
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";
|
47 matches
Mail list logo