I am continue help me!
sql:dataSourceset dataSource='postgresDS'
url='jdbc:postgresql://localohost:5432/postgres' driver='org.postgresql.Driver'
passwords= user=post /
sql:dataSource
sql:query var=qery dataSource=postgresDS
SELECT * from friend
/sql:query
.
View the original post :
[Moved from design forum to user forum]
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128053#4128053
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128053
___
jboss-user mailing
nope entityManager.merge() did not work. So it seems that @Pattern validation
is ignored in JSF live cycle and applied at backend logic? I was expecting that
seem handles this? Or what could be wrong?
View the original post :
Posting on the developer forum, cross posting, and using URGENT in the titles
of threads is NOT a good way to get us to respond!!
I am locking this thread
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128055#4128055
Reply to the post :
Posting on the developer forum, cross posting, off topic posts, and using
URGENT in the titles of threads is NOT a good way to get us to respond!!
Please observe basic forum etiquette in future before making posts or you will
be ignore or your posts deleted.
I am now locking this thread, you
Where is the 'transaction.manager_lookup_class':
| property name=hibernate.transaction.manager_lookup_class
value=org.hibernate.transaction.JBossTransactionManagerLookup/
|
and the 'jta-data-source' looks wrong, try:
|
I think the reason could be miscofigured datasource tag. Imo you should use
preconfigured datasource xor url/driver/password approach. Nice tutorial is
here:
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jsps/jstlsql.html
View the original post :
Hell Everyone,
I wanted to know how to create Task Diagrams like the one which is in JBPM
Console under Task Instance View.
Its show a complete process diagram with current node of the process
highlighted in red. The diagram is exactly like the diagram which we create
when defining the
It sounds to me as a difference between OS installs of Glassfish. Maybe you
should take your problem to the Glassfish forums (or whatever they have, I'm
not familiar). Not trying to be rude, I just think they might be more able to
help. This is not a SEAM issue.
BTW, your English is better
hi,
please, how to use dynamic AOP in EJB3 (jbossAS), i need some help,
thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128061#4128061
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128061
Hi everybody,
I'm a newbie in using JBoss and I'm trying to write a simple session
bean that should provide kinda mail-delivery facility.
I've been googling for a couple of nights to finds docs explaining how
to properly configure JBoss in order to be able to send mails by means
of the
first off - the data source - was struggling earlier with where names were
getting posted into the JNDI so i forced the name into the global space -
havent been back to play with this again - so its still there - so heres the
datasource defn as exported to the deploy dir
| datasources
|
anonymous wrote :
| as to your first question about
hibernate.transaction_manager_lookup_class... I dont know! where is this xml
configuration set?
In the persistence.xml:
| persistence xmlns=http://java.sun.com/xml/ns/persistence;
|
After reading your post (I had the same problem) I tried every descendant of
java.util.Collection. It worked only with java.util:collection itself.
the nice thing is that without specifying anything, JBoss created a link table
between the two entities. Which is what should be done.
example:
are okay i see it now
howeevr its the same at work and home - i also set the value in hibernate
console at work also and it still fails.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128069#4128069
Reply to the post :
jpechane is correct in suggesting swimlanes. Task A and Task B need to have
different swimlanes. If there is a transition back from B to A, the original
actor (or group of actors) will be assigned to Task A again. So no need to
store this somewhere.
View the original post :
I have created this JIRA issue: http://jira.jboss.com/jira/browse/JBIDE-1767
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128075#4128075
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128075
the taskdiagrams are created by the eclipse frameworks used in the GPD and
saved as a jpg in the processarchive. They are processdiagrams btw, more than
just tasks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128072#4128072
Reply to the post :
Not that we know of.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128073#4128073
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128073
___
jboss-user mailing list
Or build a custom hibernate query
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128074#4128074
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128074
___
jboss-user mailing list
Just out of curiosity, did you choose jGraph over e.g. SVG or did you not
consider SVG at all. Personally I'd be interested in an xslt that converts the
gpd.xml to SVG. Cool dynamic overlay things can be done than including zooming
etc... without the need to use a jpg
View the original post :
When igenerate source code with the mapping files in the JIRA issue no
exception is thrown. It only generates faulty code. So the exception must come
from another part of the code:-( I will investigate this further.
View the original post :
Thanks again. I understand that they use a node and not a state, what I can't
quite get to grips with is why and when would you use a state node?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128079#4128079
Reply to the post :
On JBossAS, have a look at the @PoolClass annotation.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128080#4128080
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128080
___
I'm not entirely sure if creating a non-table-related class in Hibernate is
entirely supported, but it compiles w/o issue.
In the mapping file below, the class is intended to represent the record
returned by the Named Query defined below it.
The problem is that the query tag doesn't take the
OK. I'm getting close!
Within Eclipse, I selected the JPA facet, which then generated the
persistence.xml.
My next problem brings me to precisely the main point I've been trying to learn
about--CMP! My example Stock class contains these annotions:
@Entity
@Table(schema=BrianDb)
The Eclipse
Hi Community,
I'm trying to run a simple example with this Stateless bean:
| package org.pruebasoft.prueba;
|
| import java.util.List;
|
| import javax.ejb.Stateless;
| import javax.interceptor.Interceptors;
| import javax.persistence.EntityManager;
| import
BTW I took the jpa example out of seam 2.0.1 GA and ran the test. I am still
getting the class casterror ,
bTW my index pages work all the time, the error I am getting is when I am
logging in.
Also I notificed transaction type changed from JTA to LOCAL in the
persistence .xml and its
states by default are wait states. Nodes can have automatic transitions, so do
something and immediately go on. Think of doing something synchronous in a
remote system.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128091#4128091
Reply to the post :
2.0 is not supported anymore... where did you download that? sourceforge?There
already is 3.2.2 so please get that
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128090#4128090
Reply to the post :
Hallo, I try to follow a very simple example for clustering (from Jamae,
Johnson: JBoss in Action)
JBoss 4.2.0.GA
On a Windows XP machine I have started two instances, node1 and node2 which are
copies of the all configuration out of the box. On node2 I use the
BindingManager. Both instances
Hallo
I am using JBoss 4.2.0 and trying to install PHP module for Windows (XP).
I have downlaoded php5servlet-windows-i586-SP1.zip, unziped all dlls
on my class path (for example jboss/bin). I also adjusted web.xml and
server.xml as described here
and copied webapps folder to
I have downloaded jboss-jbpm-2.0-server.zip and extract it and run jboss jbpm
server from start.bat and I could see http://localhost:8080/jbpm but in eclipse
when I want to create process project it asks jboss jbpm runtime where
location of it in jboss-jbpm-2.0-server.zip I have tried every
I just downloaded jboss-5.0.0.Beta3 and jboss-seam-2.0.1.GA. When I deployed
the booking example, I got the following error. Has anyone seen this and can
tell me how to fix it?
| 23:48:58,565 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta3 (build:
SVNTag=JBoss_5_0_0_Beta3
Jay
After few more restarts and cleaning , I got rid of class cast error , but it
is still pointing to open jpa. Here are logs at startup
[2/9/08 10:33:25:125 CST] 0015 Contexts I
org.jboss.seam.contexts.Contexts startup starting up:
org.jboss.seam.security.facesSecurityEvents
[2/9/08
I guess the name of the EAR file don't equals 'prueba'?
| core:init jndi-pattern=prueba/#{ejbName}/local debug=true /
| ^^
| Should be the name of the EAR file.
|
View the original post :
I've found that if I manually create a table called Stock, using the MySql
Administrator, this error message goes away. So I assume my Eclipse project is
correctly viewing my database. I just don't know how to have the tables
created automatically on the basis of my annotations and
So bendpoints are in fact nothing more than line-segments with a kind of weird
coordinate system. Besides that, you cannot draw a diagram without having the
original processdefinition.xml as wel, since you have to know where the
transitions go to. I wonder why Koen implemented it this way.
This is our first Seam application (Seam 2.0.0 GA on Tomcat 6) and we need now
to persist in DB the data received from a jms queue.
The jms connection works ok but then we get a NullPointerException in the last
line bellow, because the entity manager is not been injected
Are we missing
Hi Frusso.
I have in my code the following;
String from =
..
if (from == null)
throw new IllegalArgumentException(No Origin Address);
msg.setFrom(new InternetAddress(from));
Note: This dates back to 2002, so I don't remember everything
Is there a way I can get access to the rendered HTML of a Seam-generated
e-mail? I want store a record of it on the server. I thought this would be the
string that Renderer.render returns, but that only contains an XML header.
View the original post :
Not a direct answer to the question but you could put an archive-mailbox on
your bcc list...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128105#4128105
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128105
Have you configured it in components.xml?
Does the persistence-unit-jndi-name in components.xml match
jboss.entity.manager.factory.jndi.name in persistence.xml?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128101#4128101
Reply to the post :
Hi,
i'm using JBoss AS 4.0.5 and Seam 1.2.1.
I want to use the JBPM Web Console. But i didn't find it. Is it not included in
the seam framework?
I tried to use the .war of this page
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmWebConsole
It doesn't work. Is there someting like a manual, how
Hibernate Version: 3.2.3
Hibernate Entity Manager:3.2.1.GA
Hibernate Annotations:3.2.1.GA
| persistence
| persistence-unit name=WSHPU
| providerorg.hibernate.ejb.HibernatePersistence/provider
| jta-data-sourceOracleDS/jta-data-source
| properties
| property
Just a small feture inquiry:
would it be out of context for the framework to have an s:prefocus tag that
would be used like
| h:inputText value=...
| s:prefocus/
| /h:inputText
|
That would insert at the end of a page a
| scriptdocument.getElementById('...').focus()/script
|
I considered that, but it doesn't accomplish what I want to do. I want to be
able to retrieve the e-mail later via the web site.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128109#4128109
Reply to the post :
http://jira.jboss.com/jira/browse/JBSEAM-2611 created.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128115#4128115
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128115
___
Create a JIRA (new feature).
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128111#4128111
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128111
___
jboss-user mailing list
Well, if you write this imap-view against your mailbox... ;-)
Does it have to be an exact snapshot through the template? Otherwise you could
just store away the information in the template...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128113#4128113
Reply
Thanks for your reply. I know there are other ways to achieve the same effect,
but the easiest solution is for me to to get a handle to the rendered HTML (or
e-mail payload) directly through Seam if that's possible. If it's not possible,
then I'll look at other options.
View the original post
Hello,
The change from JTA to RESOURCE_LOCAL. in the persistence.xml is because we
wanted to use JPA transactions for the example - previously it was using JTA.
Take a look at Chapter 8 of reference guide for some more info on the config.
Do you have transaction:entity-transaction
Jay
OS - Windows
JVM - IBM JDK 5
Here is my persistence.xml
?xml version=1.0 encoding=UTF-8?
persistence xmlns=http://java.sun.com/xml/ns/persistence;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/persistence
I think I got it.
if I will use
| s:validateAll
| h:inputText ...
|f:validateLength minimum=0 maximum=100 /
| /h:inputText
| /s:validateAll
|
It will break hibernate validation. You can assume that f:validateLength does
not need to be there, but what other validators, are
Jay
Thanks, Here is my components.xml file.
?xml version=1.0 encoding=UTF-8?
components xmlns=http://jboss.com/products/seam/components;
xmlns:core=http://jboss.com/products/seam/core;
xmlns:persistence=http://jboss.com/products/seam/persistence;
Your components.xml file looks good. As for the openJpa properties that would
be in the persistence.xml file. If you are just building and the 201_ga
release it should be correct.
I'm not sure where to go from here - right now. What OS or JVM are you using?
I did mine on linux. Also if
If you look at the output, you'll see there is no EAR file. Woops!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128123#4128123
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128123
Are there any known problems with uploading files in Seam 2.0.1.GA?
On Firefox all's working fine (I followed the 5 part tutorial in Seam Wiki),
but on Internet Explorer 6... nothing happens when pressing the Upload button -
other functionalities work fine in IE.
View the original post :
I changed persistence.properties, and that created the tables. Now my editor
is happy. Last task: get the thing to actually run!
Thanks very, very much for your help. I was pretty lost without you.
--McJava1967
View the original post :
As we all know, JBoss is cool. Using JBoss AS 4.2.2 and Seam 2.0.1, I set up
a web service bean by simply annotating a class with @Stateless @WebService,
and then annotated a method with @WebMethod, and presto, I have a working web
service.
On the other side of things, I quickly built a
Agree with Websphere - everything seemed a little (or a lot) harder than it
needed to be.
Try putting the complete persistence.xml file from the release back in. That
is how I have it running. Not to mention that one of the people on the
websphere forums thought that when the application was
Jay
My Persistence.xml looks exactly the same as yours, when I posted it for reply
, it did cut the properties tag off.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128131#4128131
Reply to the post :
IT WORKED!
IT WORKED!
IT WORKED!
I'm PERSISTING!
Thanks for your help!
I'll be back...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128132#4128132
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128132
That explains my confusion then :)
When I get a chance I'll try websphere on windows. I can't really do that this
week though. Its possible that there are different behaviors.
The only other thing I can think of right now is to check the various logs
under:
with the same version of Seam and JBoss, I am able to start JBoss successfully
but deployment of booking EAR is not successfull:
2008-02-09 20:13:17,942 INFO [javax.servlet.ServletContextListener] Welcome to
Seam 2.0.1.GA
| 2008-02-09 20:13:17,947 DEBUG
I am a newbie into Seam/Hibernate world and very much impressed with the
technologies. HAd a simple question on Hibernate mapping and would very much
appreciate response.
In the dvdstore example in Jboss Seam examples, the hibernate.cfg.xml does not
have any *.hbm.xml for the entity classes
I don't understand what you mean by deployer having capabilities.
It's the module that has capabilities.
And there is a module per deployment unit.
Module also has requirements.
It is mean that those requirements are usually resolved by some other module's
capabilities.
Think of this as OSGi
Has anyOne used Eclipse's BIRT with JBoss Seam 2.0?
In birt report design, I have to call a Java class's static method from
javascript. Can I use Component.getInstance() in this Java classï¼
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128144#4128144
gcompienne wrote : I have a few questions the concerning the DESCRIBE and
CLASSLOADER deployer stages.
|
| I understand the principle that DESCRIBE is used to declare/define the
dependencies whilst the CLASSLOADER stage is related to the classloader itself.
|
| I have noticed that the
hi,
I have downloaded jbpm-jpdl-suite-3.2.2.zip too from sourceforge but I tried to
start server from start.bat in server folder but I couldn't run server and so
I saw this error in screen
LifecycleException: Protocol handler initialization failed: java.net.BindExcep
| ion: Address already
I got the command line tool to work, and figured out a few things:
1. I don't need to download the JBoss WS packages. Everything comes with JBoss
AS, including the command line tools.
2. The wsprovide.sh command works easily, with very simple command line
arguments.
3. However, it does NOT
gcompienne wrote :
| I am doing further testing with the deployers and I have noticed that the
ClassLoaderMetaData info does not seem to be used (or fully used?) yet by the
subsystem that triggers the creation of the classloader.
|
It's the ClassLoading class that uses CLMD.
gcompienne
Hi.
I got my database schema generated for PostgreSQL database via Hibernate
annotations.
The schema generated tables definitions and one sequence definition called:
hibernate_sequence
I wrote a couple of SQL text files to populate the database, I run those files
via Apache Ant.
| insert
Hi
It works now!!
In hibernate.cfg.xml, I changed:
| property
name=connection.datasourceArmadaSeamProjectDatasource/property
|
to:
| property
name=connection.datasourcejava:/ArmadaSeamProjectDatasource/property
|
And for injected Seam-managed hibernate sessions, names should be the
74 matches
Mail list logo