It seems the @Column annotation doesn't work for some reason?
using
jboss-4.0.5.GA
EJB 3.0
|
| @Entity
| @NamedQueries({
| @NamedQuery(name = "SdsDataLoadPat.findAll", query = "select o from
SdsDataLoadPat o"),
| @NamedQuery(name = "SdsDataLoadPat.findAllbyId", query = "select o from
Little lost.. is it done via the persistence.xml in the ear?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031300#4031300
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031300
__
I am setting up the latest version of JBoss and trying to enable show_sql=true
but I don't seem to see hibernate.cfg.xml?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031207#4031207
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
Problem solved. Even though it wasn't in the jar... it was in
WEB-INF/classes
Took it out of there and problem solved.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031181#4031181
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
Also I did make sure that the jar file that contains my SessionEJBBean,
SessionEJB, SessionEJBLocal is not in the WEB-INF/lib directory of my
webapp.war (it was at one time) so as not to have problems with the
classloader. It is only in the ear file.
But I am still having the same problem.
I a
I don't understand why I am getting a classcastexception...
>From the rmx console
| +- SDS_DATA (class: org.jnp.interfaces.NamingContext)
| | +- SessionEJB (class: org.jnp.interfaces.NamingContext)
| | | +- local (proxy: $Proxy97 implements interface
org.usiis.model.SessionEJBL
I have been looking for a good IDE to develop EJB 3.0's and JSF for use with
JBoss 4.0x
JBoss IDE (eclipse) doesn't seem to handle automatic generation of Enity Beans
right? and lacks visual jsf development.
Oracle's JDeveloper seems to do quite well at both visual JSF development, and
automa
Bump with a good question.. Are there any plans for automatic generation of
Enity EJB 3.0's?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999104#3999104
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999104
__
This is an old post but your problem lies in with the default jndi location of
EJBs. Usualy goes Jarfile/Helloworldbean/remote if your using jboss
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993104#3993104
Reply to the post :
http://www.jboss.com/index.h
Good question. I see there is a trailblazer for EJB 3.0 for jboss. But nothing
really for Jboss IDE. Is there a way to create entity beans 3.0 from tables?
Some kind of wizard?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993108#3993108
Reply to th
Bump?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991697#3991697
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991697
___
jboss-user mailing list
jboss-user@lists.jboss.or
Anyone?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991101#3991101
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991101
___
jboss-user mailing list
jboss-user@lists.jboss.
I am getting the following error when deploying because of a named query. It
seems that hibernate is not following the mapping correctly?
org.hibernate.QueryException: could not resolve property: serviceCode of:
org.usiis.model.ProviderUsers [select o from org.usiis.model.Users o Where
o.provid
Looks like no one else has had this problem...
I think it might be my compiler in JDeveloper. When I deploy using it I get
these errors.
But when I add my sources to the source project of the TrailBlazer EJB from
jboss.org, and compile using the ant build script. It works fine.
Hm
View t
Ok I added the code from the EJB 3.0 trailblazer from jboss website and I am
still getting the same problem.
| javax.ejb.EJBAccessException: Authentication failure
| at
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSe
| curityException(Ejb3AuthenticationInterc
Ok I added the code from the EJB 3.0 trailblazer from jboss website and I am
still getting the same problem.
| javax.ejb.EJBAccessException: Authentication failure
| at
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSe
| curityException(Ejb3AuthenticationInterc
Bump?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990144#3990144
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990144
___
jboss-user mailing list
jboss-user@lists.jboss.or
What I don't understand is I haven't setup any secruity domains.. When I tried
to access the EJB I got an error stating it could not find user.properties or
roles.properties. So I added those.
But all I am trying to do is access the sesssion facade from the war side. Does
every EJB need securit
I am trying to build a simple webapp / EJB 3.0 project. But running into some
difficulty.
After getting the session context bean, while trying to run a procedure that
returns rows from a the DB, I get
javax.ejb.EJBAccessException: Authentication failure
Anyone know why? I don't even have @S
Awesome that was it
now Im getting a different error
[Code]
java.io.IOException: No properties file: users.properties or defaults: defaultUs
ers.properties found
at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
at org.jboss.security.auth.spi.UsersRolesLogi
| Global JNDI Namespace
|
| +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
| +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
| +- WebkidsAdminLite (class: org.jnp.interfaces.NamingContext)
| | +- webkidsFacade (class: org.jnp.interfaces.N
Can't seem to get the stateless facade from within my webapp. I hava the webapp
and the jar (bean) in the same ear. It appears the the context for the bean is
correct. I also made sure there were no references to that bean in my
WEB-INF/classes or lib. Anyone have a clue as to what is going on h
If you have a remote client, how do you specifiy which server to connet to?
Ie if I am running jboss and OC4J, how does it know to lookup jboss beans and
not OC4J?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989374#3989374
Reply to the post :
http://w
Thank you for your reply... I will test it out!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989364#3989364
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989364
___
jboss-u
Also remove the jsf libaryies from your web-inf/lib
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987958#3987958
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987958
___
jbo
I am a little confused on how to lookup the context of an EJB. In using the
Oracle tutorals they seem to suggest using
@Stateless(name = "myName")
and then looking it up like context.lookup("myName");
This seems to work fine in OC4J but not in JBoss
What is the correct way to lookup a EJB?
I added this to my web.xml and it fixed it...
|
|
org.apache.myfaces.webapp.StartupServletContextListener
|
|
But I am not sure why
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987933#3987933
Reply to the post :
http://w
I have a small faces app that I am trying to deploy to Jboss.. It works fine in
Tomcat but for some reason when I deploy to JBoss I get
| java.lang.NullPointerException
| at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165)
| at
org.apache.catalina.core.StandardW
Use the ServletContextListener to create the first request.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961095#3961095
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961095
___
I am new to JBoss, but I have experance with Tomcat and Struts. I have also
played with webservices, jsf, and session beans.
I have some standalone code that works well that is written in Java. Is it
possiable to convert this code so that it can be deployed in a war file and ran
automaticly eve
30 matches
Mail list logo