Whoops, you're right.
OK, just a few things then.
I noticed that Seam assume syou're using the default configuration, and doesn't
allow you to specify otherwise unless you do a mass search-replace.
Everything else is looking great. Only thing is that it'd be nice if the
generator would detect
Oh, just got this:
Error - /CommentEdit.xhtml: Bean: com.azavia.blog.User_$$_javassist_5,
property: id
| An Error Occurred:
| /CommentEdit.xhtml: Bean: com.azavia.blog.User_$$_javassist_5, property: id
| - Stack Trace
| javax.el.ELException: /CommentEdit.xhtml: Bean:
com.azavia.blog.User
Hi,
Unfortunately, that did not resolve the issue:
Error - Error Parsing /ArticleEdit.xhtml: Error Traced[line: 135] The element
type "s:button" must be terminated by the matching end-tag "".
| An Error Occurred:
| Error Parsing /ArticleEdit.xhtml: Error Traced[line: 135] The element type
"
OK, some more problems.
I was trying a bit more complicated example.
I had some tabls like the following:
mysql> show create table user;show create table article;show create table commen
| t;
|
+---+---
|
---
I figured it out. It was reading an old datasource configuration I guess, and
it was expecting a certain table that no longer existed.
It all works, now. :) Now just have to read the Seam reference and get more
comfortable with all of this.
Thanks for the replies.
View the original post :
htt
OK, I'm closer to having it work now. :)
I switched to mysql for now, just to test how this works.
I create a table named users, generate the entities, and it works. But then, I
go to the test application, click "Users List", and get this:
Error - EntityManagerFactory not found in JNDI
| An E
Hmm, interesting. I do prefer Postgresql, so I'd like to know if there's some
way to resolve the problem.
thanks for the replies.
By the way what is the new-action command of the seam -gen tool supposed to be
for? All it seems to do is respond to a button click. Isn't there a command for
just
Hi,
It does have a primary key. The create table statement was:
CREATE TABLE users
| (
|username character varying(50) NOT NULL,
|email character varying(255) NOT NULL,
|CONSTRAINT username PRIMARY KEY (username)
| ) WITHOUT OIDS;
| ALTER TABLE users OWNER TO "Brandon";
Hi,
I'm trying to use the seam-gen tool, but am getting some errors.
When I go to generate entities from the database, i get the following:
C:\jboss-seam>seam generate-entities
| Buildfile: C:\jboss-seam\seam-gen\build.xml
|
| validate-workspace:
|
| validate-project:
|
| genera
It looks like I fixed that problem. I had to change the jndi name in
calculator-ds.xml, because apparently it was conflicting with something else.
Now there's only one issue left:
11:30:33,031 WARN [MessagingContainer] Could not find the queue
destination-jndi-name=queue/azavia/testmdb
with dependencies:
| 10:06:35,312 INFO [EJBContainer] STARTED EJB:
com.azavia.calculator.ejb.Hello ejbName: Hello
| 10:06:35,359 WARN [MessagingContainer] Could not find the queue
destination-jndi-name=queue/azavia/testmdb
| 10:06:35,359 WARN [MessagingContainer] destina
azavia.calculator.ejb.Hello ejbName: Hello
| 01:29:21,968 WARN [MessagingContainer] Could not find the queue
destination-jndi-name=queue/azavia/testmdb
| 01:29:21,968 WARN [MessagingContainer] destination not found:
queue/azavia/testmdb reason: javax.naming.NameNotFoundException:
queue/a
Hi,
I've made progress. Not sure why, but the error has changed to:
java.lang.ClassCastException: $Proxy75 cannot be cast to
com.azavia.calculator.ejb.Calculator
The line is:
Calculator calculator = (Calculator)context
| .lookup("CalculatorApplication/CalculatorBe
OK, I still can't get this darn thing to work. I'm still getting the "remote
not bound" exception.
Not much has changed since my first post, except I'm usingthat skeleton now,
but the code is mostly still the same.
Any clue what it could be? I'm exasperated.
View the original post :
http://ww
Hi,
I was trying to follow the skeleton project given at
http://wiki.jboss.org/wiki/Wiki.jsp?page=StarterSkeletonEclipseProject to see
if i could get that to work. It seems like if it'd work, it'd be a lot easier.
However, where are the web files supposed to go, such as the jsp, etc? It
didn't
"[EMAIL PROTECTED]" wrote : Yeah, I built that skeleton project as a start to
my EJB3 prototype project I was working on
(http://golfchairman.sourceforge.net/ is what the skeleton project is growing
up into but even that project doesn't have any webapp to it yet).
|
| I thought that skeleto
Thanks for the replies.
The remote interrface is com.azavia.math.Math
In the JNDI view, I see the top level Math, and then under that, MathBean, but
no remote.
When I don't use remote and just lookup Math/MathBean, it is able to look it
up, but I can't cast it to Math.
I did see something at
s/stateless.html.
I should also note that JBoss Eclipse IDE won't automatically deploy the files;
I have to manually copy them. When I try to "run" them, it says those type of
modules can't run.
Apparently I can't attach files, so I'll copy the code.
Math/
Hi,
Thanks for the reply. I downloaded jboss-ejb3 rc9, and according to the
install.html I'm supposed to use ant to build and install into jboss. so I ran
ant -f install.xml -Djboss.server.config=default[/coe]
|
| And it looks like it worked. I've not tested it but it looks like it.
|
Just another update:
I saw in other parts of the forum that people had this same problem, and fixed
it by just using the zip download instead of the jar installer. I tried the
same, and it worked.
But the problem is that this doesn't include EJB3. Is there a way I can include
EJB3 in it? Appar
Hi,
I found a twiddle.log in the bin directory of JBoss.
It contains the following:
[code08:54:06,562 DEBUG [Twiddle] args[0]=-s
08:54:06,562 DEBUG [Twiddle] args[1]=localhost:1099
08:54:06,562 DEBUG [Twiddle] args[2]=-a
08:54:06,562 DEBUG [Twiddle] args[3]=jmx/rmi/RMIAdaptor
08:54:06,562 DEBUG
OK, I installed the EJB3 configuration.
I figured out that the port 1098 was being used due to some process on my
computer. I stopped the process and then got no more of those errors.
Now it looks like it is starting fine; it is like my original post, minus the
warnings. But, in the JBos server
hi,
Thanks for the response. I reinstalled, with the "all" configuration. Is this
supposed to support EJB3? i thought I read somewhere it should, but I am not
sure.
Anyway, now when I start, i get something like this at the end:
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectN
Hi,
I've just recently installed JBoss, and the eclipse ide with the jboss plugins.
I'm having trouble getting JBoss started though. When I installed it, I used
the jems installation package, and specified the ejb3-clustered install. It
doesn't seem the "all" option includes ejb3, and I wanted
24 matches
Mail list logo