I've tryed also setting the post create method, but whit no result.
public WorkweekPK ejbCreate( WorkweekData pWorkweek, CalendarLocal
lCalendar )
throws
InvalidValueException,
EJBException,
CreateException
{
// Clone the given Value Object to keep changed
Hello kiuma,
what is the type of Calendar's primary key? What pk values you tried?
alex
Thursday, November 14, 2002, 11:38:27 AM, you wrote:
k I've tryed also setting the post create method, but whit no result.
k public WorkweekPK ejbCreate( WorkweekData pWorkweek, CalendarLocal
k lCalendar
Hi
Please don't send any email to [EMAIL PROTECTED], because receiving
PE_nimda_E virus from You.
I have been forced to take down the server handling mail for
[EMAIL PROTECTED]
So, pleace mail your responce to
[EMAIL PROTECTED]
---
This
Craig,
Thanks for the example, although you didn't have to. I'll look up
Effective Java. The problem with doing a printStackTrace() for each
exception in the causation chain, is that the exceptions share part of the
stack trace, and this of course drives us all mad, seeing the same 20
function
---
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
___
Try to search archives titled "For all..." or
"Connection problem..." this theme floating around for long time.
By the way JBoss3.x has "lib" directory for 3
different configurations(minimal/default/all).
Regards.
- Original Message -
From:
David
Marko
To: [EMAIL
Thx for your attention Alex,
this is a piece o sql (postgresql) I use to create tables.
--calendar section--
CREATE SEQUENCE calendar_seq;
CREATE TABLE calendar (
id INTEGER DEFAULT nextval('calendar_seq'),
validity_start date NOT NULL,
validity_end date CHECK(validity_end =
AFAIK, generally, this won't work.
If you would like to make use of db sequences consider pk-sql entity
command. But it's available since 3.2.
Anyway, try to fetch calendar's pk before assigning a relationship and
see what value it has. Post the results here, please.
alex
Thursday, November
Title: Nachricht
David,
have a
look into http://jboss.org/forums/thread.jsp?forum=144thread=22900,
and follow advice there.
I have
a successful deployment for JBoss 3.0.3 so 3.0.4 should be
identical.
I was
writing there about a MappingException: I had just an error in my ant buildfiles
Some time ago, I was involved in a project that was pretty much
in the opposite way, i.e, a java client running inside a app server
calling CORBA components.
The basic problems are:
1. If you intend to use a nanimg service, configure both sides use the same
(CORBA) naming service.
2. Which IDL
Alex, I've found the problem
if calendar id is 0 it doesn't work.
But I can't understand why? I've never read about it.
Alex Loubyansky wrote:
AFAIK, generally, this won't work.
If you would like to make use of db sequences consider pk-sql entity
command. But it's available since 3.2.
I added this code:
CalendarData cCal = lCalendar.getValueObject();
System.out.println( Calendar pk id id: + cCal.getId() );
wHome.create( pView, lCalendar );
return true;
Calendar pk id id: 0
The effective Calendar value .
Alex Loubyansky wrote:
AFAIK, generally, this
This link may be of your interest:
http://java.sun.com/j2se/1.3/docs/guide/corba/index.html
- Original Message -
From: Emerson Cargnin - SICREDI Serviços
To: [EMAIL PROTECTED]
Sent: quarta-feira, 13 de novembro de 2002 12:36
Subject: [JBoss-user] delphi client to jboss through iiop
Hello.
Is there any solution to handle the entity container activity?
To keep synchrionized cache of VO on client-side I need to know what happens on
server, is it possible?
Thanks.
---
This sf.net email is sponsored by: To learn the basics
k Alex, I've found the problem
k if calendar id is 0 it doesn't work.
If it's the only problem, then checkout a fresh version from CVS.
I fixed it yesterday in 3.0, 3.2 and HEAD.
How do you obtain a Calendar before doing
wHome.create( pView, lCalendar )?
There is no guarantee that calendar will
Alex I'didn't understand about pk generator.
As you have suggested I'm already using a Sequence gen session bean.
I've put those directives on db, as redundant code.
Ps.:
You are a mith, thx very much ! ;-)
Alex Loubyansky wrote:
k Alex, I've found the problem
k if calendar id is 0 it doesn't
Hi.
I'm using jboss 2.4.0.26 with tomcat 3.2.3 and struts classes, and I'm
getting
a NoClassDefFoundError while starting the application .ear file.
The class that generates the problem is been used in a session bean,
but if I use this class in a org.apache.struts.action.Action class, the
error
I thought that it's the db sets the value for calendar's pk in
ejbCreate. If your code does it then it's ok.
alex
Thursday, November 14, 2002, 4:02:01 PM, you wrote:
k Alex I'didn't understand about pk generator.
k As you have suggested I'm already using a Sequence gen session bean.
k I've put
Hi JBoss users,
I know that there are a lot of developers writing MBeans to use in JBoss.
I guess that many of them are reinventing the wheel over and over again.
What about putting together a list of 3rd party MBeans on jboss.org?
Developers can submit their stuff and (maybe) there is a
Has anyone gotten jsp:useBean style session's to propagate across clusters
in 3.x (3.2.0beta2 in my case)?
For example:
jsp:useBean id=userInfo scope=session
class=org.foo.session.UserInfo/
I have found that if I include the distributable/ tag in my web.xml file,
that any session scoped classes
Hi Folks,
I am looking for a J2EE Scheduler which works in a clustered
Environment.
Can anybody enlighten me about this? Any idea about Jboss Scheduler?
TIA,
Saroj
---
This sf.net email is sponsored by: To learn the basics of securing
your
Here is a reply I wrote to the same problem recently - the guy came back
and told me it worked fine:
Bernie,
I haven't had time to run the app, but I think that I know what is
happening.
Imagine you are talking to a remote object (e.g. an EJB).
you create a HashTable - ht
you call
Hello
I was wondering if it is possible to map a table with a cmp question,
and doing some poeration with std SQL in a session.
Is it possible is it syncronized?
reagards
---
This sf.net email is sponsored by: To learn the basics of
Hello
What do i need to do to run JBoss 3.0.3 with MySQL
?
reagards
Fabiano Cruz
If the mbeans are of good quality I'll take them under
org.jboss.mx.services package. If someone wants to contribute please drop
a note on the JBossMX forum.
-- Juha
On Thu, 14 Nov 2002, Andreas Mecky wrote:
Hi JBoss users,
I know that there are a lot of developers writing MBeans to use in
I tried what you suggested, but it still doesn't function right.
Below is test.jsp which sets up the initial session object:
%@ page import=java.util.*%
html
head
titleTest Page/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
body leftmargin=4 topmargin=4
I can't tell where this problem is, but the classloader of my ear file seems
to be failing. i've got an ear file packaged with a war file. within the
war's WEB-INF/lib i have a jar file with reporting classes. i'm continually
getting a class not found exception. if i pull the jar file out of
I can't tell where this problem is, but the classloader of my ear file seems
to be failing. i've got an ear file packaged with a war file. within the
war's WEB-INF/lib i have a jar file with reporting classes. i'm continually
getting a class not found exception. if i pull the jar file out of
I've just notice that you are using 3.2beta ?
Try in 3.0.4 - if it doesn't work there, we have a problem. If it does,
you should wait for the next 3.2 release - out very soon, I believe
Jules
Barlow, Dustin wrote:
I tried what you suggested, but it still doesn't function right.
Below is
I'm curious about a side issue. Wouldn't it also work to make the class a
j2ee stateful session bean and cluster that? It could be an alternative to
storing classes in the session data, correct?
-Original Message-
From: Jules Gosnell [mailto:jules;mortbay.com]
Sent: Thursday,
I am using the 3.2.0beta2 from CVS. I just did a update this morning and a
fresh build, so I'm pretty much up to speed with the bleeding edge on the
3.2 series. Are you basically saying that 3.0.4 has additional code/fixes
that 3.2.0beta2 does not?
I will try the 3.0.4 version tomorrow and
Hello,
I am using JBoss 3.0.4 and I'm getting some
errors at startup.
I have a Java class that starts both JBoss
and Resin in 2 threads, so that I can run
them in the same JVM (source snippet at the
end of the message).
In order to stop getting
ClassNotFoundException, etc, I had to add a
few
On Friday, November 15, 2002, at 04:47 AM, Fabiano Cruz ((Cilix Software)) wrote:
What do i need to do to run JBoss 3.0.3 with MySQL ?
To begin with, you need to read this http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.Draft3.pdf>.
Steve
Cool,
Thanks.
We should probably
see about weaving that into the jboss3 book.
.peter
-Original Message-From: Greg Turner
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 13,
2002 5:23 PMTo: [EMAIL PROTECTED]Subject:
Re: [JBoss-user] Lookup MBeanPeter,For use in
Title: RE: [JBoss-user] Initial release of xPetStore, an implementation of PetStore using xDoclet
If you have any prob compiling the app on Windows because the command line is too long, remove unecessery jar files from
XPETSTORE_HOME/src/petstore/lib/main/xdoclet-1.2b1
and keep the following
It works for me using 3.0.4/Jetty.
I have some thrirdparty jars in my .ear/.war/WEB-INF/lib.
Where inside your EAR is the code located that can't access the stuff in
WEB-INF/lib?
I would guess that it might be some kind of a classloader scope problem
but that seems strange with JBoss' new
There is already an example of accessing the
MBeanServer via the RMIAdaptor.
You are looking for a non-external usage example of
the MBeanServer?
Scott StarkChief Technology
OfficerJBoss Group, LLC
- Original Message -
From:
Actually this one turned out to be due to using some bad sample/test
code in the JBoss source, which has an extraneous character.
If you look in EJBTester.java and SimpleServlet.java, the code there
sets the Context.URL_PKG_PREFIXES (aka java.naming.factory.url.pkgs)
value to
38 matches
Mail list logo