How do I get the endorsed libs to show up in the sun.boot.class.path?
I'm using JBoss 4.0.5 on Fedora where it is not showing up, however,
on the Windows XP install of 4.0.5 the endorsed libs show up.
The only difference is we are using a wrapper to start the server on Linux.
View the original
I'm trying to replace Transaction failed with a message that will tell the
user that they have violated a unique constraint.
The problem I'm having is that if I override the message in messages_en
it will be specific to unique constraints.
I tried overriding the FacesMessage in the EntityHome
I am using a login application, home grown, that places an object into the
HttpSession. I need to retrieve that object in my SFSB to display information
stored in that object on the home page of my application.
How can I access the HttpSession from inside an SFSB?
Thanks,
JR
View the
I couldn't get the Faces Context to work because, it keep looking for a
non-null attribute.
I did get the Contexts method to work though.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4062106#4062106
Reply to the post :
I found the problem. I needed to use a combination of @AutoCreate and inject
the POJO into my calling class which, in this instance was an EntityHome.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059230#4059230
Reply to the post :
I'm getting a NPE when I try to inject any Seam managed components into a POJO
that is also Seam managed.
Here is the code:
| @Name(titleXiProjectFolder)
| @Scope(ScopeType.SESSION)
| public class TitleXiProjectFolder
| {
| @Logger
| private Log log;
| ...
| }
|
I
Here it is:
anonymous wrote :
| 13:16:19,375 ERROR [ExceptionFilter] uncaught exception
| javax.servlet.ServletException: Error calling action method of component
with id borrower:save
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
| at
I used seam-gen to generate my entities from my db schema.
I have one entity, Foo that has a subclass SubFoo.
The problem I'm having is that I never directly use Foo, it's always a subclass
so, I'm trying to figure out how to wire the super class Foo to a Collection of
data that does not have a
First let me explain what I trying to do.
I'm using Seam 1.2 with Ajax4JSF and I'm trying to change the value of a
selectOneMenu by using ajax on a selectOneRadio.
The problem is that the value sent back never changes even as the value on the
page is changed. Do you have to submit the page to
I figured it out. It needed a setter.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045949#4045949
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045949
___
jboss-user mailing
I downloaded the jboss-seam project but, it seems to be missing the
org.jboss.seam.text package.
Which folder should that be in?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4030738#4030738
Reply to the post :
Apparently that was just a problem with eclipse.
Everything got built but, it appears to be incompatible with icefaces 1.5.3.
It's throwing this exception:
15:17:35,439 ERROR [SeamUtilities] Exception loading seam environment:
| java.lang.NoSuchMethodException:
One more thing. The version I checked out from cvs does not contain a
convertEntity tag.
Is the path in the wiki correct?
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-seam
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4030816#4030816
Reply to
Not sure what the problem was but, I'm past it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4030357#4030357
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4030357
___
jboss-user
You are correct, and I did use a selectManyMenu, I mistakenly posted the code,
containing a selectOneMenu. Nevertheless, the problem is that the tag is
having a problem with the states collection referenced by
companyHome.instance.states, it appears to want an Array but, seam-gen produced
a
I switched to a List and that got me past the Array error, however, it does
look like it might be a problem with ICEFaces because now with the List I get
this error:
12:49:21,031 ERROR [D2DFaceletViewHandler] Problem in renderResponse: null
| java.lang.NullPointerException
| at
Seam 1.2 Patch 1
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029412#4029412
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029412
___
jboss-user mailing list
I successfully used, the EntityHome generated by seam-gen with selectOneMenu
like this:
| h:selectOneMenu value=#{companyHome.instance.state}
|converter=#{converters.stateConverter}
| s:selectItems value=#{stateList.resultList} var=state
| label=#{state.name}
I'm getting the following error when using the CRUD EntityHome object:
15:34:34,569 WARN [JDBCExceptionReporter] SQL Error: 1400, SQLState: 23000
| 15:34:34,569 ERROR [JDBCExceptionReporter] ORA-01400: cannot insert NULL
into (CPPMS.CPPMS_USER.NAME)
|
| 15:34:34,569 WARN
I'm using Seam 1.2 and an Oracle 10g db. The problem is when I use seam-gen on
my db, where ever I have have a need for an Integer I'm getting BigDecimal,
int, short etc.
Since there is no Integer type in 10g how do I get Number in Oracle to produce
an Integer in my generated code? Has anyone
Anyone,
Is there a way to get a sortable icefaces dataTable to work with Seam or
does this need to be added to the JIRA?
thanks,
JR
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4025124#4025124
Reply to the post :
I needed to move the jboss-seam-ui.jar from WEB-INF/lib to the root of my EAR.
Thus, I had to extract the taglib.tld. This is causing errors in my eclipse
project:
cvc-complex-type.2.4.a: Invalid content was found starting with element
'description'. One of
OK, but, is it safe to go to production with UseJBossWebLoader = true?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024768#4024768
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024768
Hi Norman,
I tried that but I got a NoClassDefFoundError from that bean.
I'm confused because I don't have that problem in my tree bean
that imports that same class. Of course it's not injected, is that the
difference?
JR
| 2007-02-23 11:05:48,031 WARN [org.jboss.system.ServiceController]
I'm using Seam 1.1.6 with ICEFaces 1.5.3 I built a tree with a panel stack.
I need to be able to execute my business logic and then set the selected panel
to the page that will contain the generated output.
I can forward to the page by itself but, I'd like to stay on the page with the
tree and
How do I get my EAR to ignore the xalan.jar and use JAXP instead?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4015163#4015163
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4015163
I'm using Seam 1.1 and trying to use xpath. I'm getting the following error:
| javax.ejb.EJBTransactionRolledbackException: java.lang.ClassCastException:
org.apache.xml.dtm.ref.DTMNodeList
| at
org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
| at
I'm using Seam 1.1GA with ICEFaces 1.5.2 and I'm trying to store a string in my
HTTPSession.
Can someone tell me the steps I need to store a variable in the session and
later retrieve it ? I've tried storing it using:
| ServletContext context = new MockServletContext();
| HttpSession
This is the first and only attempt to use usersDatabase. I'm not sure where
else to inject it. It doesn't exist yet. Can you explain how I'm supposed to
reference an EntityManager for the first time using the Framework?
Using Stateless session beans I just used this method:
|
I found the answer I was looking for. You have to initialize the EntityManager
in the components.xml first.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4002417#4002417
Reply to the post :
I'm trying to get the framework to do CRUD but, I'm getting an error.
I'm using Seam 1.1 and ICEFaces 5.1. Here's the error:
javax.faces.el.EvaluationException: Cannot get value for expression
'#{users.username}'
| at
OK, I read the posts and I tried (create=true) and (required=false) and I even
tried @PersistenceContext, nothing else is working, nothing of that worked.
Do I need to initialize the EntityManager somewhere else?
JR
View the original post :
Here's the stacktrace:
| $ ant -verbose generate-entities
| Apache Ant version 1.6.5 compiled on June 2 2005
| Buildfile: build.xml
| Detected Java version: 1.5 in: c:\Program Files\Java\jdk1.5.0_08\jre
| Detected OS: Windows XP
| parsing buildfile
I'm using an Oracle Express db with seam-gen and I'm getting the following
error message:
generate-entities:
| [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse
engineering)
| [hibernate] 1. task: hbm2java (Generates a set of .java files)
| [hibernate] An
Hi,
I was wondering if you solved your problem?
Also, I'm curious to know how you integrated ldap?
thanks,
JR
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3997382#3997382
Reply to the post :
35 matches
Mail list logo