Hi !
Just a guess, is your network configuration ok ?
I mean your localhost has the right aliases in /etc/hosts, etc ?
Simon
> -Original Message-
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: martedi 17 luglio 2001 1:23
> To: JBoss 2
> Subject: [JBoss-user] HELP! I AM NOW
Hi !
> So after 10 minutes of inactivity (jboss's default of 600
> secs) it should be
> passivated --not destroyed.
Right.
> Shouldn't I be able to continue
> to use the bean
> at 12 minutes (upon which the server will de-passify the bean
> ie. activate
> it) without the client ever bei
> Which port numbers do i have to configure if i want to use JBOSS with a
> firewall?
> I'm currently using JBOSS 2.2 on Linux and the port numbers 1099 and
> aren't enough.
>
> Thanx
>
> Tilmann
>
> Dr. T. Ludwig
> CMG Finance GMBH
> [EMAIL PROTECTED]
>
_
Not sure whether this helps, here is our conf, the relevant section is
org.postgresql.Driver
PostgresDB
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
l
jdbc:postgresql://127.0.0.1/WMS
120
notTelling
10
notTelling
false
false
Hi,
Ampie Barnard wrote:
> I read that JBoss does not support JTS
> (http://theserverside.com/reviews/thread.jsp?thread_id=2918)
Right. JTS is the Java mapping of OTS, and thus
implies a specific kind of transaction service.
We have decided _not_ to be dependent on any
particular transaction se
To answer my own question, it works. That covers the technical part.
Still wondering, it is good practice to do so? This is the code:
public Long ejbCreate(String userNickName, String codeId, Integer
gadgetId, Integer value)
throws RemoteException, CreateException{
if (Globals.DEB
Oh yeah, psql works just fine. And the same queries from psql are
sub-second. It's on the same box. I also use the 2.4.4 kernel. I'm sure it's
definately a config issue that I've got wrong somewheres, but I see nothing
wrong, of course, how would I know, heh ... it's my first time w/ JBoss and
I'v
Very good. Thank you.
All business methods had the 'Required' attribute, but all home interface
methods - including the offending create() method - had the attribute
'NotSupported'. A long time ago I thought it should be that way and it
always worked with the Sun platform. After I changed the TX
Have you tried connecting using psql?
What happens when you run the same queries?
How do you connect to the database? Maybe
your networking is stuffed ... is it on
the same box? Try pinging ...
We use postgres against jboss (standalone, no tomcat)
and Linux 2.4 and it works like a dream (we did
Well, seems I've finally got the database configured correctly, at least it
starts w/o any errors. But I'm still getting my same original behavior. The
problem I started to try and fix.
My dbase queries are extremely slow, but they work. I'm doing a query
through *7* records in a table w/ only 5
At 06:45 PM 7/16/01 -0500, you wrote:
>Now I am getting confused again. I do not see any jboss.jcml files in
>~/tomcat/conf/default nor do I see anywheres in the docs that state this.
That's /jboss/conf/tomcat/jboss.jcml I believe.
r.b.
___
JB
Now I am getting confused again. I do not see any jboss.jcml files in
~/tomcat/conf/default nor do I see anywheres in the docs that state this.
I had put my ~/jboss/conf/default/jboss.jcml into ~/tomcat/conf/default, and
got those previous results, and did not delete my old
~/jboss/conf/default/j
Definately getting closer. I was editing the wrong set of files. Thnxs. Now
it hangs w/ the following output at the last line. Don't know why it see's
InstantDB still. jboss-auto.jcml has been removed also (but it was basically
empty, so don't understand that).
My main question is the correct syn
Can somebody please give me an example of BMP whose primary key is set to be
identity(MS sql property) and also one of its fields is a foreign key to a
table whose primary key is also identity. i am having problems with ejbload
since it is not allowing me to update the foreign key since it it an
i
Okay, maybe I'm being daft - but I just don't get it.
from the manual
specifies the max age a bean can have
before being passivated by the overager ... the
specifies the period of the resizer, that is a periodic task that
runs ... Purpose of this periodic task is to shrink / en
It's posibble developer application Client/Server for JBoss
I stay developer one simple aplication , but only connect in the local
machine where run JBoss.
Anybody could get a simple example of Client/Server that run over 2 PCs
Please I need help
my jndi.properties is:
java.naming.factory.initi
That's the spec. finders returning collections return an emtpy
collection rather than throw FinderException.
Surprised me too.
-danch
Kevin Meldorf (NBK) wrote:
> When I do a findBy that will return a collection in CMP, no FinderException
> is thrown, if no entities are found. Is this part o
Hi,
now, the value come from jaws.xml in the META-INF dir of your jar. If you
don't provide type mappings there, the one from (you guessed it)
standardjaws.xml are picked (as well as the Datasource mapping which seems
to confuse may since they allways end up thinking they would have to use
Default
I believe CMPs generate their own primary keys and include them in
the INSERT statements that are generated. If you want to keep your IDENTITY
column, you will have to defer creation of the primary key to the database
as IDENTITY column values cannot be specified unless IDENTITY INSERT i
This seems to be a configuration control issue for JBoss development:
When should each of the subj jar files be used?
ejb.jar exists in 2 locations in the JBoss-2.2.2 directory structure:
- %JBOSS_HOME%\client\
- %JBOSS_HOME%\lib\ext\
ejb2.0.jar exists in:
- %JBOSS_HOME%\lib\ext\
1) Wh
Is a resource preferred to a property file, or
are they the same thing?
Ivan
- Original Message -
From:
Lorenzo
Resta
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 2:12 AM
Subject: Re: [JBoss-user] Setting &
Accessing Resource Files in JBoss
Hi Burkard,
Thanks Ole and Michael, will return the object with all the data.
Ivan
- Original Message -
From: "Ole Husgaard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 3:27 AM
Subject: Re: [JBoss-user] pass by reference
> Hi,
>
> Ivan Novick wrote:
> > Can an object be p
Dear Cecile,
Thanks for your reply. The problem ended up to be what you mentioned
(along with what Claudia said about the deployment descriptor). Not only the
classpath issue, but the deployment issue too!
So, in summary, I think your suggestion hit the nail right on the
head. Tha
When I do a findBy that will return a collection in CMP, no FinderException
is thrown, if no entities are found. Is this part of the EJB spec or is this
a bug?
I am using jboss 2.2 with MS SQL Server 2000 on Windows
2000 using the Opta 2000 inet driver
Thanks,
Kevin Meldorf
Systems Analyst
Wo
Is anyone using Jboss with the database sapdb at www.sapdb.org? If so, how
do you find the combination?
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
"Larry Kim" <[EMAIL PROTECTED]> writes:
> hello,
>
> the javax.ejb.EJBHome interface has methods:
>
> ...
> void remove(Handle handle)=20
> //Remove an EJB object identified by its handle.=20
> void remove(java.lang.Object primaryKey)=20
> //Remove an EJB object identified
Hi,
I would be interested to hear if anybody has integrated SonicMQ with JBoss -
so that SonicMQ is the MOM provider for message driven beans?
thanks,
Dean
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jb
Hi !
> Passivation should definitely not kill a stateful session
> bean. (Does JBoss
> do this?
No. JBoss doesn't do this.
> So far, I haven't deployed anything in JBoss that
> is idle for that
> long a period.) However, I wouldn't be surprised if JBoss
> periodically
> aged-out unused s
Mr. Burkhard Vogel,
my question if i have a column which is an identity (which can be specified
with ms sql, and means that this column cannot be updated by any other
applications other than ms sql and is unique, usually used to generate
unique id's). i have a CMP which has a field which maps to
my question if i have a column which is an identity (which can be specified
with ms sql, and means that this column cannot be updated by any other
applications other than ms sql and is unique, usually used to generate
unique id's). i have a CMP which has a field which maps to this column. if i
use
Hello,
I have a possibly silly question. How are EJB 2.0 Home Methods implemented
in JBoss? When a home method gets called is a random instance from the
cache selected and it's remote interface returned just for that method
call? I'm trying to determine the overhead of using them, as well as
c
Hi,
I figured out that I can change the behavior for a specific bean using
However, how do I provide unrestricted access? Do I have to code a
LoginModule that always allows acces?
If this is the case does anybody know what methods I have to overide? Will
just overide checkPassword do the trick?
"Burkhard Vogel" <[EMAIL PROTECTED]> writes:
> Hi,
> why is this wrong? I think this depends on the type of DB and the purpose.
> if you don't like it, change it! its anly an mapping!
> Burkhard
Note that it says java.sql.TimeStamp and not java.sql.Timestamp. This
never works.
Of course the ma
hello,
the javax.ejb.EJBHome interface has methods:
...
void remove(Handle handle)
//Remove an EJB object identified by its handle.
void remove(java.lang.Object primaryKey)
//Remove an EJB object identified by its primary key.
...
however upon deploying my bean, i get a
Hello,
Have you included your entity bean remote/home interfaces (i.e. client
needed interfaces) in your session bean package (i.e. the other package, the
client)?
Cheers,
Sacha
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PRO
The container can prevent you from using IO if it defines a server
security policy file that denies java.io.FilePermission and you don't
have control over changing it (ie: you're not the admin).
Concerning "shutting down the EJBs gracefully," - I dunno. Maybe it's a
container thing per vend
Passivation should definitely not kill a stateful session bean. (Does JBoss
do this? So far, I haven't deployed anything in JBoss that is idle for that
long a period.) However, I wouldn't be surprised if JBoss periodically
aged-out unused stateful session beans. I think that most good app serv
Nothing prevents an EJB container from allowing multiple clients to access the same
entity object using multiple instances. If the scenario described is two clients
creating EJB instances that access the same file, then conflicts are possible.
A transaction delimits serializable db operations r
The only way to pass something by reference, sort of, in EJB is to use a
remote object. You create an interface for your object which implements
Remote, use that as a parameter in the EJB, and then send int an instance of
that remote object's implementation. This way, the actual object will sit
Hi,
I've got a problem with the RMI CLass Loader.
This problem appears while a session bean is trying to access an entity bean from a
different jar file.
I've got this message :
javax.naming.CommunicationException. Root exception is [SphfGeneratorBean]
java.lang.ClassNotFoundException:
pcc.
I believe the issue is that the if the container is not managing the IO,
then it cannot garentee that when it is shutdown that the IO process
terminates gracefully. I don't think there is anything a container could
really do to prevent you from useing IO, but if the app is shutdown then in
theory
Yup, thanks for correction. Burkhard
- Original Message -
From: "Lorenzo Resta" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 11:12 AM
Subject: Re: [JBoss-user] Setting & Accessing Resource Files in JBoss
Hi Burkard,
As far as i know you should not access file
Hi,
first, posting the exception is fine, no doupt even if the exception has 100
lines, but posting the whole digest???
It's hard to tell what happens, you need to provide whether you use BMP or
CMP, if BMP your ejbLoad code (which fails) if you use
CMP give the piece of code that fails, the struc
But the only files I write to are ones returned by
File.createTempFile(...), which are guaranteed to be unique...
--
Peter Wone wrote:
> File I/O is discouraged purely because it is outside the scope of the
> transaction manager.
>
> It would be more accurate to say that file OUTPUT is discou
>> On machine #1 the tomcat site comes up with just the regular
>> http://www.site.com URL.
>>
>> On machine #2, that site only comes up if http://www.site.com:8080 is
>> specified.
I found the solution. This link to an online forum has the instructions for
using virtual servers with mod_jk &
Hi,
check your transaction attribute for your bean methods, have you assigned
one? what is it? (Should read required for *)
Burkhard
- Original Message -
From: "ralph" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 10:33 AM
Subject: Re: [JBoss-user] cloudscape only
Hi,
sorry, BUT RTFM!! chapters 3 - 6. If you still got problems come back here.
Burkhard
- Original Message -
From: "Paolo" <[EMAIL PROTECTED]>
To: "JBoss" <[EMAIL PROTECTED]>
Sent: Sunday, July 15, 2001 11:15 PM
Subject: [JBoss-user] Install and Configure interclient driver
- How can I
doesn't work because my session and my entity beans are not packaged in the
same jar.
I've got a new exception thrown when doing the lookup():
javax.naming.CommunicationException. Root exception is [SphfGeneratorBean]
java.lang.ClassNotFoundException:
pcc.pccdb.eb.erudit.EruditReferenceHom
Hi,
why is this wrong? I think this depends on the type of DB and the purpose.
if you don't like it, change it! its anly an mapping!
Burkhard
- Original Message -
From: "Nicolai P Guba" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 12:05 PM
Subject: [JBoss-user] E
That's another discussion, in fact JBoss support (for the moment?) files
manipulation, and it doesn't crash.
Try to imagine any other resource instead of files..
SAINT-MARTIN Cecile
[EMAIL PROTECTED]
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de
Hi,
still you are completly misconfigured, I really wonder how it works
anyhow...
Frist:
The jboss.jcml is not real xml, so comments won't allways work as expected,
to be sure, make a backup-copy of the vanilla config-file and DELETE
anything you don't want.
Second:
Make sure you are editing the r
Well, tag doesn't work because my session bean is package on a different
jar archive
than my entity bean !
"Hermann RANGAMANA" <[EMAIL PROTECTED]>@lists.sourceforge.net on 16/07/2001
17:17:06
Please respond to [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Add tag your entity beanz name.
--hermann
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 4:16 PM
Subject: [JBoss-user] Session - Entity Beans binding
> Hi to all,
>
> i'm a newbye to J2EE deployment and i have some problems with s
File I/O is discouraged purely because it is outside the scope of the
transaction manager.
It would be more accurate to say that file OUTPUT is discouraged. File input
does not involves updates, and therefore cannot lead to update anomalies,
obviating the concern.
Read files to your heart's cont
Hi,
Trying to get jBoss 2.2.2 running via VisualAge
When deploying interest.jar I get a 'invokers not bound' error - any ideas
would be appreciated
I've imported the source and all the jar files under lib into VisualAge and
the jBoss-client.jar from ./client and replaced ../.. or ../ with ./ i
EJB 1.1 Spec Section 18.1.2 item 3:
An enterprise bean must not use the java.io package to attempt to access
files and directories in the file system.
Your code will not run on any EJB server, and likely crash most EJB servers.
-dain
- Original Message -
From: "Saint-Martin Cecile" <[E
Hello,
Is it allowed to make a internal B2B call inside the ejbCreate
method. I have a CMP entity bean whose primary key is a Long
value. The new Long value is stored in a separate table with a
separate entity bean. While creating the bean I would like to make a
call to get the new primary key of
We do files manipulation, and we know that it's prohibited in EJB spec, but
it works with JBoss.
However, we're conscious that it's a temporary solution. In a perfect world,
files would be mapped with kind of entity bean, but they are not.
So comes the problem of concurent access (especially with
Title:
Hi ,
I'm working with JBoss 2.0
and now we started using the newest versions of Oracle jar files :
xmlparserv2.jar
xsu12.jar
xschema.jar
It seems like there's a "collision" of jar files and class files contained by the jar files.
Some of the class files in xml.jar ( used
Hi to all,
i'm a newbye to J2EE deployment and i have some problems with session - entity beans
bindings.
i try to write a session bean which is using an enity bean packaged in a different jar
archive.
i have definied an ejb-ref in the deployement descriptor (ejb-jar) of my session bean
like
I have an application that needs to convert, merge, and extract files of
different formats. Because the files already reside on the server (and
could often be large), and the manipulation tools I use are only on the
server, I've created a File Manipulation API of Stateless Session Beans
that
Mr. Burkhard
thanks for the help, but i am still getting ROLLBACK EXCEPTION when using a
finder method. i am using Integer as the primary key class and am not
setting it to null anywhere in the bean class. also i am not setting any
instance fields of the bean to null. sorry about the no. o
I read that JBoss does not support JTS
(http://theserverside.com/reviews/thread.jsp?thread_id=2918)
What are the implications:
A.) Would I be able to do the following in the same transaction context when
running in JBoss?
1.) Send a JMS message
2.) Change an EJB's state
3.) Update a table throug
I read that JBoss does not support JTS
(http://theserverside.com/reviews/thread.jsp?thread_id=2918)
What are the implications:
A.) Would I be able to do the following in the same transaction context when
running in JBoss?
1.) Send a JMS message
2.) Change an EJB's state
3.) Update a table throu
Mr. Burkhard
thanks for the help, but i am still getting ROLLBACK EXCEPTION when using a
finder method. i am using Integer as the primary key class and am not
setting it to null anywhere in the bean class. also i am not setting any
instance fields of the bean to null. sorry about the no. o
I'm trying to run the example MDB application from the JBoss web site with
no changes in any of the critical areas (some name and text changes, but no
structural changes), using JBoss 2.4.0BETA. It runs apparently without
error, but the message isn't processed. The log file contains an entry tha
I think your deployment descriptor describes the service as being on
ce.ready2ware.authentication.AuthenticationService when in fact the class is
in the package
com.screamingmedia.ce.ready2ware.authentication.AuthenticationService
cpp
-Original Message-
From: Saint-Martin Cecile [mailto:
Richard Bottoms <[EMAIL PROTECTED]> writes:
> I have an interesting problem.
>
> On one machine the Apache+Tomcat combo is working great with the fire
> located on the same machine.
I hope you with 'fire' means firewall. :-)
> On machine #1 the tomcat site comes up with just the regular
> ht
Would be interesting to see if JBoss would smoke their butts.
http://www.theserverside.com/home/thread.jsp?thread_id=7826
- vineet
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Hi. See the work-around lower:
> sorry miss send previuos message
>
> Hi all
>
> what write this select to JAWS?
>
> select max(col1) ... where col2="xxx"
>
> I try:
>
> findByMaxCol
> MAX(col1) WHERE col2 = {0}
FIRST: the above equals to: "select * from THE_TABLE WHE
Using ejx that is distributed with Jboss 2.2.2
It gives me this typemapping for a TIMESTAMP value.
java.sql.TimeStamp
TIMESTAMP
TIMESTAMP
Surely, this is horribly wrong. Has this been fixed? If not, where
do I need to look for fixing it m
Anthony IVETAC <[EMAIL PROTECTED]> writes:
> I have an entity bean whose semantics require that a subset of it's
> attributes are used as the primary key, rather than just one
> attribute. It has 4 attributes, 2 of which I need to constitute the
> primary key.
>
> The problem is that I don't kno
I have an entity bean whose semantics require that a subset of it's attributes
are used as the primary key, rather than just one attribute. It has 4
attributes, 2 of which I need to constitute the primary key.
The problem is that I don't know hoe to declare more than one cmp-field as the
prima
Hi,
[EMAIL PROTECTED] wrote:
>
> Hello,
>
> in the Borland Applicationserver i can get the
> org.omg.CosTransactions.Current doing the following:
[snip]
> Is there a way to do that in JBoss ?
IMHO that would be a bad idea, as:
- JBoss is not dependent on any particular
transaction service im
Hi
Tamir,
I have
jms.jar in classapth, still it gives error. I think there must some other
configuration needed.
Rajesh
-Original Message-From: tamir korem (Kamoon IL)
[mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 3:14
PMTo: '[EMAIL PROTECTED]'Subject: RE:
[JBos
Hi,
Ivan Novick wrote:
> Can an object be passed by reference to an EJB, filled with data, and than
> have that data analyzed in the function that called the EJB?
>
> The problem is, I need to return multiple values from the function.
>
> So I setup an EJB method like such
>
> boolean GetUserD
Hi ,
You
need to add jms.jar to your
CLASSPATH
It's in :
Jboss_home\lib\ext\
and it contains javax.jms.XATopicConnectionFactory.class
Tamir Korem
Developer http://www.kamoon.com
-Original Message--
Hi,
I
tried example given in JBoss manual: MDB . When jar file is deployed on jboss it
gives error:
[Container factory]
Deploying MDB[Container factory] Serious error in init:
javax.naming.NameNotFoundException: XATopicConnectionFactory not
bound[Container factory] java.lang.Exception:
Hi Burkard,
As far as i know you should not access files directly through file IO operations,
or make assumptions on an existing filesystem
at all in EJB's.
The "/" in a resource name is relatively seen, the package root from the
class that calls the getClass().getResourceAsStream() method. Th
Hi Jorge,
Your class is probably not finding the resource. The directory "/config"
has also to exist in the jar.
It really depends from which class you call the getClass().getResourceAsStream()
method.
The classloader tries to load relative or absolute (depending if you add
a "/" or not in fr
> My experience doing BLOB inserts with Postgres and DB2 and with
JBoss is that it's horribly slow.
This can be caused by the application design. Lets asume You have a
lage resultset and display some fieldes of each entiy in a table on the
client. Than all blobs are read from
Thanks. Very important tip. ( I'm sure it's in the manual. )
However, I still have the same problem which I tried to solve this way:
I run a jboss client application which reads some Cloudscape tables and
then writes a record to another table.
The reading works okay.
The fact that running the sa
Hello Alex,
there is no CORBA support in jBoss build in by now.
We use a simple MBeans to create a name service for CORBA services. If You
are intrested I'll mail the code.
Andreas
> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: 16 July 2001 08:17
> To
83 matches
Mail list logo