I figured it out: the list box on the New Driver Definition dialog got squeezed
into two line, then I just made the dialog larger and the Oracle Thin Driver
showed up.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189248#4189248
Reply to the post :
http:/
My setup is Eclipse 3.3 and JBossTools 2.1.2GA. When creating a new Seam web
project, on the Seam Facet dialog, I selected Oracle 10g for database type,
then clicking "New" for connection profile. In the "New Connection Profile"
list that pops up, I don't see an Oracle connection profile, there
I tried to run GWT in host mode (I need this for debugging GWT code), but got
the following exception:
java.lang.NullPointerException
|
org.jboss.seam.servlet.SeamResourceServlet.loadResourceProviders(SeamResourceServlet.java:43)
|
org.jboss.seam.servlet.SeamResourceServlet.init(Se
JIRA issue created: http://jira.jboss.org/jira/browse/JBSEAM-1748
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069452#4069452
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069452
_
Just confirmed this works for GWT 1.3.3, but not 1.4.10. I will open a JIRA
issue for this.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069451#4069451
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069451
__
Hi Pete,
Would you be able to forward the following issue (GWT - Seam remoting
integration) to Michael Neale, the author of the Seam GWT example.
Thanks,
wt
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=114829
View the original post :
http://www.jboss.com/index.html?module=bb&op=v
BTW, anyone succeeded in running GWT in hosted mode? I tried "ant gwt-shell",
it's complaining about "can't load module". I then manually created a command
line script following GWT's examples, it's complaining about "can't connect to
resource seam/resource/gwt".
View the original post :
http
This is an issue regarding @WebRemote in the seam-gwt example, running on JBoss
4.2.0 with Seam 2.0.0 B1. The GWT compilation output files are shipped with
seam 2.0 under examples/remoting/gwt/view and there are 16 files, when I just
run "ant deploy" (which uses the shipped GWT files). It works
Hi,
I have a bunch of entities with persistence annotations and all worked well.
Now that I need to remove the annotation and instead, use orm.xml to define the
mapping. I did that for one of the entities and tried to deploy to JBoss 4.2.0
GA, but got an exception.
Here is my orm.xml:
|
Have you tried examples/remoting/gwt? That works for me just fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068240#4068240
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068240
___
Hi,
We are planning on a J2EE application with fair amount of web flow and also
expected even more flow in the future. We want to achieve the best
performance/price ratio, so what we planned is to use commodity quality desktop
PCs to construct a server grid. JBoss AS as a leading open source J2
Is this working now with Seam 2.0 B1 and Trinidad 1.0.1/1.2.1?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065551#4065551
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065551
___
I found the problem. I had
|
in my components.xml and apparently Seam 2.0 doesn't like the
conversation-is-long-running-parameter. Once I remove that, it gets pass that.
But then, I got another exception on a component that uses Richfaces API (I am
using rich:tree and need to build the t
This problem is for integrating Trinidad 1.0.1, Richfaces 3.0.1 and Seam 2.0.0
Beta1 running on JBoss AS 4.2.0 GA. I know there is a seamdiscs example that
shows the integration. By checking out the seam project from CVS using tag
JBoss_Seam_2_0_0_B1, I had no problem building, deploying and run
Should I run ant at the project root? Just did sync with CVS and all jars under
drools/lib folder are gone, causing Eclipse to complain about missing required
library. It seems to me that most of the time, the seam project is in a broken
state, I just can't find the gap when it is in good mode,
I built the seamdiscs example from cvs with no problem, and deployed with no
problem either. When I open the browser and point it to the url
"http://localhost:8080/seam-discs";, the page doesn't load and I got the
following exception:
12:39:34,765 INFO [Contexts] starting up: org.jboss.seam.se
I found this on apache's wiki
http://wiki.apache.org/myfaces/TrinidadSeamAjax4JsfFaceletDetail. However, it's
about Seam 1.2. Now that Seam is on 2.0 and Trinidad is on 1.2.1, I wonder if
there is any updated information regarding the integration of the two for their
latest versions.
Also, when
Just found two more issues while playing with the seamdiscs example.
1. The EntityQuery "artists" only retrieves the first 5 results, which is fine
for the artist table when paging is desired. However, when editing a disc, the
artist dropdown still uses this query and it only shows first 5 arti
Thank you! It works now after updating from the CVS.
I have one more question: the packaging of seamdiscs.ear looks a little wierd
to me. It has WEB-INF folder directly under the ear file, while it's also
package under the war file at the same time. Also, it seems that the META-INF
folder of th
It looks like the exceptions are too long to put into one post. Here are the
others:
2007-06-11 13:04:33,794 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-discs]]
Session event listener threw exception
| java.lang.NoClassDefFoundError
| at
org.apache.cata
Hi,
I am getting the following exceptions when running the seamdiscs example on
JBoss AS 4.2.0 GA. What I did are:
1. Download and install JBoss AS 4.2.0 GA;
2. Check out the jboss-seam module from CVS;
3. Run ant under the project folder;
4. Run ant under jboss-seam\trinidad;
5. Modify build.pr
Thank you both for the help. Now, I got it to work by adding another @Role to
the BusinessHome. But, I had to create a second page for creating the child
(the page is almost identical to the page creating the parent, except for the
different name used for the Home component), which is a little l
Because the one-to-many relation is on the Business entity itself, both parent
and child have the same EntityHome class, which is BusinessHome. Accordingly,
they will have the same Seam component name - "businessHome". And I don't think
there can be two Seam components with teh same name within
Converter is not needed for id, since it's a Long. Now I can pass the id from
the page to Home and use getEntityManager().find() to load the parent business
entity and wire it up with the child. But we are kind of falling back to the
old style, I was hoping that there be a way to inject the pare
Could you elaborate a little more on this? I only know JSF converter is used to
convert between string representation and object type. However, parentBusiness
here is a managed entity instance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048389#4048389
R
Thanks a lot, Gavin. That really helps.
BTW, could you please comment on my other post about using EntityHome for
nested entities?
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=109328
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048347#4048347
Tried to pass parentBusiness through , but got
java.lang.IllegalArgumentException. It looks like only allows
primitive types plus the String type.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048344#4048344
Reply to the post :
http://www.jboss.com/index
Yes, one Widget has many Feeds. But, both WidgetHome and FeedHome's isWired()
(generated by seam-gen) simply return true, that's where I am confused. To me,
FeedHome.isWired() should be something like:
return getInstance().getWidget() != null;
View the original post :
http://www.jboss.com/index
Hi,
I have an entity named Business defined as below:
@Entity
| public class Business {
|
| @ManyToOne(fetch = FetchType.EAGER)
| @JoinColumn(name = "PARENT_BUSINESS_ID", nullable = true)
| private Business parentBusiness;
|
| @OneToMany(fetch = FetchType.LAZY)
"[EMAIL PROTECTED]" wrote : You only "wire" things from the many end of a
one-to-many association.
|
| If there are no -to-one associations originating at the entity, isWired()
always returns true, and wire() is empty.
But if there are -to-one associations originating at the entity, does is
Hi,
I used "seam generate-entities" to generate a complete CRUD application from an
existing database schema. Everything works great! I just need some
clarification/education to better understand EntityHome.
Here is the background description: there is a bidirectional one-to-many
relation betw
Then you better change the subtitle to "From Dummy to Novice", because the word
"Professional" is not something one can get to after reading this book and thus
is extremely misleading.
"kasim" wrote : "smithbstl" wrote : I skimmed the other book:"Beginning JBoss
Seam: From Novice to Profession
After reading chapter 20 of the Seam book, it seems to me that Seam has built
in security support for access control at the method level of session beans. I
wonder if the @Restrict annotation can be put on entities to control access to
certain entities.
Here is my situation: I have some busines
"[EMAIL PROTECTED]" wrote : Do you have or something similar in your components.xml? If
not, read up on how to wrap non-faces servlets with the Seam context filter in
the Seam documentation.
|
I have that in components.xml, but it seems like the url-pattern "/reporting"
in components.xml do
Hello
I am getting the following exceptions when one of the servlets gets an incoming
request. Any idea?
Thanks,
Tong
| 13:26:09,680 ERROR [ExceptionFilter] uncaught exception
| java.lang.IllegalStateException: No application context active
| at org.jboss.seam.Component.forName(Compo
I read the pages.dtd to find the action element and got it working with that.
Here is how I did it:
1. Add a String property "selectedTab" to the backing EntityHome of the main
page;
2. In each child page's Seam page config XML (child.page.xml), add an action
element that calls "setSelectedTab(
Hi,
I have a question on using the page parameters. Here is the situation: I have a
main page and some child pages, navigation goes from the main page to the child
pages and then back to the main page; some state on the main page needs to be
kept when going to the child page and restored later
Just realized that s:button doesn't submit a form, so changed it to
h:commandButton and it worked.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033824#4033824
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033824
___
Seam version 1.2.1.
I am always getting NULL value for the upload file. I tried using both
InputStream and byte[]; I also tried putting the upload file property in a SLSB
and a class that extends EntityHome, but neither worked. Anyway here is my code:
|
|
|
Just switched to MyEclipse: hot deploy worked perfectly out of the box, no
extra config needed. Although I love most of the JBoss softwares, I have to say
JBoss Eclipse really s**ked.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033376#4033376
Reply to the
I am trying to avoid using Ant. But I guess the reason why seam-gen is
recommended is because JBoss Eclipse's deficiency on supporting hot deployment.
I've used IBM WSAD 5.1 before and I could edit a page and switch to the browser
immediately to see the change. Just hope the Red Hat Deverloper S
Here is what I am trying to achieve: at development time, you often need to
change a page multiple times to get a satisfied result; but redeploying the
whole EAR every time a small change is made is tedious and time consuming. So,
I like to find a way to allow me make changes to the JSF files an
I have a one-to-many relationship, which involves 3 database tables: a table
for the one side, a table for the many side and a link table. After I run seam
generate-entities, it created 3 entity beans, instead of 2 as I would expect!
I can probably get around this by removing the link table and
That worked for me. Thank you very much for the prompt help. BTW, the full file
name is seam-gen.reveng.xml.
Also, is this a generic fix for using seam-gen with Oracle DB? OR it's just a
fix for my specific situation?
View the original post :
http://www.jboss.com/index.html?module=bb&op=view
I didn't get the complete log when redirecting the output to a log file.
Anyway, here is the last past of the output missing from my last post. As you
can see, the build failed without creating the source files.
| [hibernate] An exception occurred while running exporter #2:hbm2java
(Generate
Ok, it looks like lower/upper case does matter for seam-gen. I used "WAS" as
the schema name, which matches exactly what I see in Oracle Enterprise Manager,
however, I got the following exceptions. Any idea?
| Buildfile: C:\jboss-seam-1.2.1.GA\seam-gen\build.xml
|
| validate-workspace:
Hi everyone,
I have problem with the seam generate-entities command. After the following
series of commands, nothing happened:
1. seam setup (enter all the configuration information)
2. seam new-project (new project created)
3. seam generate-entities (I am supposed to get all the CRUD files cr
Greetings, everyone!
I am having a problem running the booking example: every time I typed in a
username and tabbed into the next textbox "Name", the browser takes me into the
seam debug page; and there are some exceptions thrown (attached below) saying
"Exception while invoking expression #{re
Dear Seam Project Team,
While reading Seam Reference Documentation (1.2.0 patch1), in section 1.6.2, it
mentioned: "Finally, the LoggedIn annotation and the LoggedInInterceptor are
used to protect actions that require a logged in user.". However, when looking
at the source directory
jboss-sea
Thanks for the great wiki link. Can you please further point me to some link
that explains how to configure multiple IP address on a single NIC?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015110#4015110
Reply to the post :
http://www.jboss.com/index.htm
Hi friends,
Can someone tell me how to install both JBoss 4.0.1sp1 and 4.0.5GA on the same
server? 4.0.1 is needed for one of our old EJB 1.1 app, while 4.0.5 is for
another EJB3 app.
Thanks,
wt
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013928#4013928
Hi everyone,
I am trouble shooting my JBoss AS 4.0.1sp1 deployment, but before asking help,
I'd like to gain some knowledge on deployment and try it myself first.
So, here is what I'd like to find out: let's say I need to deploy two web
applications under the same server, and both web apps are
As for jboss.xml, I don't have it in my ear; I think if I use annotation, I can
avoid xml configuration.
Also, since JBoss 4.0.5 doesn't support J2EE 5 yet, my application ear is still
J2EE 1.4; not sure if this will cause any problem.
Here is what my application.xml looks like:
| http://
Here is the exception:
22:33:03,944 ERROR [[action]] Servlet.service() for servlet action threw
exception
| java.lang.ClassCastException
| at
com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
| at javax.rmi.PortableRemoteObject.narrow(Portab
I can see the right jndi names in jmx-console. And in fact, I was using the
default jndi names initially, but did not work; then I changed to custom jndi.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001185#4001185
Reply to the post :
http://www.jboss.com
Hi Friends,
I am writing my first ejb 3 project that has a simple stateless session bean,
which is accessed by my struts action class. Here is how the bean class looks
like:
@Stateless
| @Local ({BeanLocal.class})
| @LocalBinding (jndiBinding="myapp/BeanL
Hi,
I am wonder how to install EJB3 on AS 4.0.1, the reason being our production
system is on 4.0.1 and can't be upgraded easily at this time, which our new
feature development calls for EJB3.
Thanks,
Tong
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997
Just got my problem fixed, it's because JFreeChart calls Java2D, which requires
a display environment, which is not available on the Linux server. So, I
changed the batch file to add -Djava.awt.headless=true to tell JVM to use a
headless display. See below link for details:
http://java.sun.com/
The class is PiePlot, which is part of JFreeChart.jar, and this jar IS there in
the WAR file. I thought any class under WEB-INF/lib is automatically under the
classpath, otherwise it would have failed on my local machine also. Or maybe I
am missing something like the difference between running i
Greetings, everyone.
I am encountering a weird problem with deployment. I am using JBoss 4.0.1 and
JBoss Eclipse IDE 1.6. When running the web app on my local machine inside
JBoss IDE (actually on my local JBoss 4.0.1 server), it works fine with no
problem. However, after I deploy my EAR onto
I am using JBoss IDE 1.6 (built on Eclipse) and developing a web app that
utilize JFreeChart (through Cewolf tags in JSPs). It works fine when I ran it
on my local machine through the IDE debug feature.
However, when I deploy it onto the production server (JBoss 4.0.1), the chart
is not drawn a
New to JBoss IDE: I am using JBoss IDE 1.6 GA and trying to bring up a WAR file
as a web project and finally to run it as a web app. Can someone give some
directions? Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983109#3983109
Reply to the post :
Hi everyone,
I've beening using WSAD 5.1/RAD 6 in my previous work and now I am working in
another company that uses JBoss Eclipse IDE. When I was using WSAD, I was able
to make a change in the code (JSP or Servlet or EJB) and without restarting the
testing server, to see the change in the ru
Any hint/document link is appreciated. Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977549#3977549
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977549
___
jboss-us
64 matches
Mail list logo