Hi,
I am using EJB3.0 and the integrated EntityManager from Hibernate to persist a
UserEntityBeans with the username as unique column. Whenever I insert the same
username the second time, I always get an exception
| 17:38:08,182 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
it did. THANKS ALOT!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3938988#3938988
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938988
---
Using Tomcat but need to do
if you use EJB3.0 its just as simple as putting the following annotations above
the primary key:
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936812#3936812
Reply to the post :
Hi,
I am using the EJB3.0 stuff with JBoss 4.0.4RC1. Even though I looked at the
available migration guides, I could not find a proper answer. In the 4.0.3
Version I used
| @Id(generate = GeneratorType.NONE)
| public String getUsername() {
| return this.username;
|
Hi!
I am using EJB 3 quite a while and with JBoss 4.0.3SP1 everything was working
fine. So I updated to 4.0.4RC1... well here is my question: I have an pretty
simple stateless session bean with a method
| public UserEntityBean findUserByUsername(String username) {
|
the field names in the html form have to much the attribute names in the Struts
form
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925788#3925788
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925788
in tc5-cluster-service.xml you can change the broadcasting attribute to false
UDP mcast_addr=${jboss.partition.udpGroup:230.1.2.7}
mcast_port=45577
ip_ttl=8 ip_mcast=false
this advices jboss to supress multicasting... but this still spams my log
or use screen as a quick (dirty) solution
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925598#3925598
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925598
---
This
Hi,
I want to disable all caching and all clustering functionality of JBoss
4.0.3SP1 (ran the installer and chose ejb3), to be able to run different JBoss
servers and to develop software locally. Therefore, I changed in
cluster-service.xml
!-- A flag to disable the auto discovery via
[EMAIL PROTECTED] wrote :
| Now that said, wscompile has issues with document/literal and will always
wrap parameters (even if there is only one parameter). So, don't rerun
wscompile because it will attempt to rewrap your wrapper object.
|
that is the behaviour that I expected to happen
the bug and its fix are described in
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSDOCServiceStepByStep
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3881576#3881576
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881576
Hi everybody,
I follow the step under
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSDOCServiceStepByStep
wrote the code, compiled everything and deployed it. I get the The operation
desciption was not synchronized message as written in the tutorial.
The bug fix states to re-write the interface to
thanks a lot md5georg, I got my webservice working ... well at least the
namespace error message is not coming up anymore. But: I tried
http://www.soapclient.com/soapTest.html to interact with my webservice and
another error is coming up. Even though I followed the jboss tutorial and the
I am experiencing the same problem (Namespace URI cannot be null) and I tried
to create a webservice using the jboss documentation
(http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch12.html). I also used the
recommended wscompile over AXIS Java2WSDL...
I am using JDK1.5.0_01 with
I am having the same problem: request.getUserPrincipal() is null in my jsp even
when I am authenticated sucessfully. I am using a simple jsp to understand the
whole JAAS stuff but where do I have to change the security-constraint you
mentioned?
View the original post :
the problem with table not found happened for me too but I am using
hypersonic sql (defaultDS).
I try to setup JAAS and I am already fail with the database itself :-(
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861219#3861219
Reply to the post :
can you give me a paragraph number please?
10.3.4 explains removing from a relationship. As far as I understood it you just have
to entityBean2.remove() and entityBean2 gets removed from the relationship of
entityBean1 (suggest there was a relationship between entityBean1 and entityBean2). Is
Hi,
I set up a m-n bi-directional CMR relationship with XDoclet (with some little help
from http://www.jboss.org/index.html?module=bbop=viewtopict=41050).
So, my UserEntityBean looks like:
/**
* @ejb.interface-method
*
* @ejb.relation
* name = user-role
*
can someone provide a correct, working XDoclet example for a 1-N CMR?
That would be great. tnx
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836935#3836935
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836935
what would be the equivalent XDoclet tags for that?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836939#3836939
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836939
Hi everybody,
I have to EJB with 1-N CMR field (properly configured with xdoclet).
/**
* @ejb:persistent-field
*
* @ejb:relation name=idLectureQuestion
* role-name=each-lecture-has-a-lot-of-questions
* target-ejb=QuestionEntity
*
everything is generated by xdoclet.
Here is jbosscmp-jdbc.xml:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE jbosscmp-jdbc PUBLIC -//JBoss//DTD JBOSSCMP-JDBC 3.0//EN
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd;
jbosscmp-jdbc
java:/DefaultDS
datasource-mappingHypersonic
Here is ejb-jar.xml:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN
http://java.sun.com/dtd/ejb-jar_2_0.dtd;
ejb-jar
![CDATA[No Description.]]
display-nameGenerated by XDoclet/display-name
enterprise-beans
I am using j2sdk1.4.2_03/ and xdoclet-1.2.1/ but I am bound to
jboss-3.0.7_jakarta-tomcat-4.1.24/
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836841#3836841
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836841
Hi everybody!
I thought I would never use hypersonic sql as db but now I have to :-/
A short description of my situation:
I have a QuestionEntityBean and a AnswerEntityBean. It is obvious the ONE Question can
have MANY Answers. So I defined
/**
* @ejb:persistent-field
*
Hi folks,
If I create QueueConnections with a UIL2ConnectionFactory, a new thread
seems to be generated for this QueueConnection. However, if I close this
QueueConnection, the thread seems to live for another minute or so.
I'm running a linux box with JDK-1.4.2 and JBoss-3.2.3RC1.
I guess this
Hi folks,
I tried the new JBoss-3.2.3 and found a problem with a non standard
partition name.
For our project we use XXXPartition as partition name. After searching
the code
for the undocumented switches I added the attributes PartitionName to the
new
MBeans
Hi,
From the behaviour of the JMS implementation of JBoss 3.2.x I assume, that
JBoss
holds an in memory index of all JMS messages in all queues, no matter
whether
they are persistet in files or an RDBMS. Is this true?
Even with setting the MessageCache to low values we encounter OutOfMemory
, mixed mode)
Its a bug then. Is this only on win32 or all platforms?
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
Didi Posselt wrote:
Hi,
Since the option --host=yourhost causes lots of problems in applications
Hi,
Since the option --host=yourhost causes lots of problems in applications
that don't specify a host to connect to, I cannot use it for my JMS-problem.
I figured, that everything works fine, if I drop the Attribute BindAddress
in the deployment descriptor for the UIL2 Invocation Layer (the
Hi everybody,
I have a problem with access to queues from remote hosts. We use JMS
a lot and had no problems up until 3.2.2RC4. With 3.2.2final and
3.2.3RC1 the remote access to JMS queues doesn't work anymore.
I already posted this problem on the developer list after we tried
3.2.2final and got
Hi folks,
The '--host=yourhost' option solved my problem (Thanks to Bjoern)
Any idea why it worked in 3.2.2RC4 without this option?
@Markus: I read your message right when you posted it and tried
it with no success. Thanks anyway.
Greetings,
Dietmar
--
GMX Weihnachts-Special:
32 matches
Mail list logo