> In short, there is no Linux 6.1. There is a RedHat Linux
>distribution that has a 6.1 version
That's what the RH refers to:
>I'm running RH Linux 6.1.
Thanks,
r.b.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sour
My DBase queries are
extremely slow, but they work. I'm doing a query through *7* records in a table
and it literally takes 10-20 seconds for each query.I copied the
postgresql driver into ~/lib/ext dir. I also added the following to my
jboss.jcml file.--- jboss.jcml (JDBC section) -
I'm needing whatever
configuration examples/data I can find on configuring a queue in JBoss from
session beans. I've got my queues coded but am confused w/ the descriptor
information.Are there any examples in the JBoss CVS that show how to
configure a Queue from a Session Bean (not MDB's as
This configuration is
working, but I think I'm having a few side effects (workig poorly, very slow).
I've had serveral suggestion but none of them have worked. Could someone please
check mostly my jboss.xml and jboss-web.xml files to see if they're
correct?Any help much appreciated.--- jboss
Hi,
I developed a MDB
called TestMDB. This MDB uses queue.
I want to send
message to this MDB through java client running on different machine. how to do
it? I have already seen example in jboss manual, but it doesn't give code/method
for accessing MDB through client.
my question is how
Anjan Rao wrote:
> Hi all,
> I have a doubt. It goes like this...I am using Oracle and entity beans on
> JBoss. So, there are entity bean instances corresponding to records in
> Oracle tables. Now, if some other application that also uses the same data
> store deletes a few records, what ha
So to create an Entity Bean for that stores a blob, would you have to use
BMP?
Ivan
- Original Message -
From: "david" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 12:20 PM
Subject: Re: [JBoss-user] BLOB
> Hi,
> Well, I wonder if it can work, I could find no w
In an effort to track down some problems with the tomcat realm, I attempted
to build the tomcat service jar from the contrib sources via anonymous CVS,
somehow when I asked for the contrib packaged labeled JBoss_2_2_2 the
resultant built jar file is different in size to the one shiupped in JBoss
2
Anyone know how to use JAAS to
authenticate against the NT Domain. The
NTLoginModule that comes with JAAS won't work. It just gets the logged in user's
info. I am running the web app from
Linux and need to authenitcate against the NT domain.
James Hicks
The authentification flag returns whether the server has any authentication entries. A
user/password authentication enty can be added programmatically using the JMX
interface. However, there is no obvious way to obtain the HtmlAdaptor object on which
to make the call. If you're adventurous, yo
Wow, Thanks a lot Lorenzo... Now I have better hopes!
I still have some Issues with this:
I made it to code and deploy a Session bean that access to a resource file from the
source code you send me. I got the correct name and location of the file with
theResourceName = (String)theInitialContex
Hi all,
I have a doubt. It goes like this...I am using Oracle and entity beans on
JBoss. So, there are entity bean instances corresponding to records in
Oracle tables. Now, if some other application that also uses the same data
store deletes a few records, what happens to the entity bean i
i am getting the following exception using MS SQL as dabase and jdbc-odbc
driver while runing a client on a CMP running a finder method. below is the
trace of the exception
[User] java.rmi.ServerException: Load failed; nested exception is:
[User] java.lang.NullPointerException
[User] java.lang.N
The latest in my on-going attempts to monitor object transfers from ejbs is
to try and monitor sockets. When I get the input stream associated with port
1099 I translate it to an object and find that its a Marshalled RMI object.
When I call get() on it and print it I get the following:
org.jnp.se
On the client machine, make sure you have updated the client files
(jboss-client.jar, jbosssx-client.jar, jnp-client.jar) to JBoss-2.4.0 as
well.
---
Michael R. Maraya
> --
> From: Daryl Beattie[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent:
> Date: Fri, 13 Jul 2001 15:20:04 -0400 From: david <[EMAIL PROTECTED]>
> Well, I wonder if it can work, I could find no way in the jdbc spec to
> create a new blob! So maybe you could read the picture but I don't know
> how JAWS could insert a new row. I hope I'm wrong, please tell me how.
A
Not %100 what context you need it in, but exolab's castor offers (free) O/R
mapping and persistence. Even a link to it off the Jboss page (3rd party
tools).
I just wrap the calls in a session bean, but there are others that use it as
a persistence tool in BMP.
Type of things it does:
I have a c
I haven't done much experimenting with performance settings, but you might
be able fix this with some adjustments the container cache policy. See
http://www.jboss.org/documentation/HTML/ch06s08.html, the section on
"Advanced cache configuration". You might try adjusting the
setting. (I assume
you'll need to create a class that implements blob, and knows how to
serialize your image according to the blob interface.
j\s
-Original Message-
From: david [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 3:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] BLOB
Hi,
Well, I
Can I create more
than one TopicConnectionFactory?
I would like to use
one for Durable Subscribers and the other
for
non-durable.
But when I
try to
access the DurableTopicConnFactory it says it's not bound.
In JNDIView there is
only one entry for TopicConnectionFactory.
HELP!
jbo
Hi
everyone,
Does anybody
know what this error means? I'm using JBoss-2.4.0_Tomcat-3.2.2. The code works
in normal JBoss-2.2.1... But in 2.4.0 it gives me this. The code is not much
more complicated than the InterestBean example. After "Got context" I usually
see "Got reference",
I needed to persist some arrays as part of an entity bean too. I was
formerly using Orion, which does that automatically. With JBoss, it looks
like you have to do it one of three ways:
1. Save it yourself using JDBC to write to another table, keyed to your
bean. (requires a certain amount of c
I've deployed a simple JMX bean an can use the html protocol adaptor to
manage this bean via port 8082.
If I want to save configuration changes to my mbean I use the
'Configuration' mbean 'Save Configuration' action, and I notice that the
jboss-auto.jcml file gets updated with my changes.
After
It looke like I was missing the first sentence, doh! It should have read
I have a basic problem calling invoking an EJB from a servlet when using the
embedded (single VM) tomcat solution. If I use a separate vm everything
works fine. With the separate VM solution I has to ensuer that I called
Title: LOCKING-WAITING (CTX)
Hi,
When I perform jUnit testing with 200 threads on my BMP, there is numerous LOCKING-WAITING, what do I need to change in order to avoid all these locking issues? All I'm doing is to retrieve the EJB by primary key and retrieve it's fields, there is no write.
Please see the email at the bottom for a
complete description. I took out the
index.jsp file and replaced it with the snoop.jsp file that comes in the tomcat
example.war. When running the snoop from
example.war ( using the embedded tomcat
but deployed in the tomcat/webapps directory as a
Hi,
I'm probably misunderstanding what you want, but are you familiar with
metaclasses, aspect oriented programming, generative programming, and
the
stuff at e.g. http://www.cs.utexas.edu/users/schwartz/?
david jencks
On 2001.07.12 03:45:48 -0400 joel cordonnier wrote:
> Hi !
>
> I don't known
everything works fine. With the separate VM solution I has to ensuer that I
called System.setProperty("java.security.auth.login.config",
"file:../client/auth.conf"); so that ClientLogin module was used. The
client login module seems to store the userid and password and marshall it
along to the s
Hi,
Well, I wonder if it can work, I could find no way in the jdbc spec to
create a new blob! So maybe you could read the picture but I don't know
how JAWS could insert a new row. I hope I'm wrong, please tell me how.
Thanks
David Jencks
On 2001.07.12 04:31:21 -0400 Burkhard Vogel wrote:
> Hi
If I let a 'connected' client sit around for more than apporx 20
minutes it blows on its next attempt to use a remote method
of the SessionBean (only the one session appears to be blown, since
I can start a new client session without restarting the server).
What I want is to be able to have the c
[whoosh] <-- the sound a joke makes when it goes over one's head
The Linux version is meant to refer to the kernel version, not the
version of the operating system distribution. The current Linux kernel
version is 2.4.x, as far as I know. There are several distributions of the
Is there a way to disable security on a specific bean?
I have security setup with a security domain at the top of jboss.xml
I have an entity bean that needs full access..
I tried removing the method permission section in ejb-jar.xml but this
didn't
work. Is there a way to have this bean use a di
Hi,
[Warning: I know about transactions, but very little
about web components.]
>From JBoss' point of view, a servlet is just another
client.
I would advice against demarcating transactions from
the client. Consider using session beans instead.
For standalone clients there is a UserTransaction
At 12:39 PM 7/13/01 -0400, you wrote:
>
>> My question has been, what run level and symlink have been effective in
>making the script run as written on Linux?
>
> The best way I can think of to answer this question without knowing
>what distribution you have is for you to boot up the machine
>Linux 6.1? Are you our visitor from the future?
If it ain't broke, don't fix it. Excpet for security patches. YMMMV :-)
r.b.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
> My question has been, what run level and symlink have been effective in
making the script run as written on Linux?
The best way I can think of to answer this question without knowing
what distribution you have is for you to boot up the machine the way it
normally would, open up a conso
Richard Bottoms wrote:
> Still hoping for an answer. Has anyone found a runlevel or other setup to
> activate JBoss on startup. In using Linux 6.1.
>
Linux 6.1? Are you our visitor from the future?
With redhat, you'd probably put jboss in runlevel 3 if you boot to
console or runlevel 5 if y
L. Yeung wrote:
> jboss-user:
>
> i have decided to create a table "Trans" with a pk
> "transno" of type bigint without auto-increment
> defined. next i created a table "counter" with one
> field "cnt" which stores the last value of "transno"
> of table "Trans". I have an autonumber entity bean
>A few follow ups to the FAQ on this subject indicate folks, such as myself
>are still having problems making it work:
A further followup. I've got this script running:
##
#!/bin/sh
#
# Startup script for JBOSS, the J2EE EJB Ser
File a bug at sourceforge.
- Original Message -
From: "Oleg Orlov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 5:43 AM
Subject: [JBoss-user] BUG: custom SecurityManager
> Hello!
> Does anybody tried to set custom security manager?
> I use JBoss-2.2.2_Tomcat-3
My question is :
can we use the user defined primary class for ex. UserPK instead of
java.lang.Integer, if yes can someone tell weather the ejb-jar.xml file
should have entries for both the primark-key-class and primary-key-field ?
thanks in advance.
> -Original Message-
> From:
At 11:01 AM 7/13/01 -0400, you wrote:
>
> Please read the FAQ on the JBoss website.
A few follow ups to the FAQ on this subject indicate folks, such as myself
are still having problems making it work:
>I've got jBoss-2.0_FINAL up and running on my linux box, and now I want
> to integ
Hi everybody,
Sorry to bug you all with this; it might very well be a soap-users
question. But for some reason the soap-users list won't let me subscribe. :(
I am getting the following error while trying to run a SOAP client
with JBoss-2.4.0, Tomcat 3.2.2 and Apache SOAP 2.2. I am
It's in the FAQ on the website. The FAQ is here:
http://www.jboss.org/faq.jsp and the answer on the FAQ regarding your
question links to here:
http://www.mail-archive.com/jboss-user%40list.working-dogs.com/msg10908.html
.
---
Michael R. Maraya
> --
> From: Richard Botto
The second-to-the-last bullet in in
http://www.jboss.org/documentation/HTML/ch06s08.html states the following:
"The tag specifies the period of the resizer, that
is a periodic task that runs (in the above case) every 400 seconds. Purpose
of this periodic task is to shrink / enla
Please read the FAQ on the JBoss website.
---
Michael R. Maraya
> --
> From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Friday, July 13, 2001 5:34 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] help about boot j
Hi,
try same as Object??
Burkhard
- Original Message -
From: "Anthony IVETAC" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 4:09 PM
Subject: [JBoss-user] O/R mapping for an Array
> I would like one of my entity beans to have an attribute of type Array (or
any
>
Still hoping for an answer. Has anyone found a runlevel or other setup to
activate JBoss on startup. In using Linux 6.1.
Thanks,
r.b.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Pardon a question from a newbie to the list. I'm trying to test a Message
Driven Bean using JBoss 2.4 beta, but am missing a jar file. (Well, 2.4 is
missing a couple jar files, but I copied them from 2.2.2.) Specifically,
the test case is failing with a NoClassDefFoundError looking for
EDU/oswe
With that answer, then Lennart is right, there is certainly a bug since I've built my
bean like that (I just wanted to
be sure I haven't forgotten anything).
Could you please indicate me how to get the traces you need ?
Ludovic
--On Friday, July 13, 2001 15:40:29 +0200 Burkhard Vogel <[EMAI
Hi all,
I have copied all the .jar files for the
$JBOSS_HOME/client to the lib folder of the
tomcat-3.2.2 context serving the client ejb servlet.
Now where I am I going wrong.
Thank you in advance.
Allan Kamau.
--- Allan Kamau <[EMAIL PROTECTED]> wrote:
> I am reposting this question after unsucc
I would like one of my entity beans to have an attribute of type Array (or any
Java list), but am not sure how to define the O/R mapping for this type - can
anyone please help me? I assume that a new table will be created for the array
to be stored in.
The values stored in the array will all b
P.S. This 'javax.transaction.serTransaction' is copy-pase-into-mail
error. Real conf contains valid 'javax.transaction.UserTransaction'
Scooter
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Hi everybody.
I've got following problem. I try to get 'User Transaction' object from
servlet 'InitialContext' to control transactions in servlet, but I get
'NameNotFoundException'. No problem with EJBs using this technique.
Here's my conf & stack trace. BTW if I try to lookup 'UserTransaction'
This is not configurable in JBoss. Here is the relevant code that gets the
isModified method:
isModified = container.getBeanClass().getMethod("isModified", new
Class[0]);
if (!isModified.getReturnType().equals(Boolean.TYPE))
isModified = null; // Has to have "boolean" as return type!
The onl
Hi,
thats simple, alter you ejbCreate method to need an id AND a string:
public Long ejbCreate(Long IS, String Name) throws CreateException
note that you need to change ejbPostCreate accordingly, as well as the
create method in you home interface.
Burkhard
- Original Message -
From: "
Hi Lennart,
Hmmm... could be a bug in JBoss but I would not bet on that since I'm not sure if I
implemented correctly the bean. I
think we should first start with this before stating that I've hit a bug.
My question was "how should I implement the bean for it to correctly manage this
situatio
You need to provide the ejb with all of the information required for the
SQL insert statement in one operation. Hence it needs to be included in
the ejbCreate method.
Just create a new ejbCreate method which takes in both the primary key and
all of the "not null" fields.
eg:
public Object ejbC
nah, that has to be some other problem. i've lot of CMP entity beans with NOT NULL
constraints in db on non pk fields - no problems. Please turn on sql debugging in
jboss and see what are happening.
/L
- Original Message -
From: Ludovic Orban <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
And for those who would like to read the forum on mobile devices supporting
WAP can call me ... ;-)
/peter
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Hi,
If I've got a table like this one, in an Oracle repository:
create table DEVICES (
ID NUMBER(32) not null,
NAMEVARCHAR2(255) not null
);
alter table DEVICES add constraint DEVICES_PK primary key(ID);
Then I created an EJB that maps this table, but
Hello!
Does anybody tried to set custom security manager?
I use JBoss-2.2.2_Tomcat-3.2.2 and edit jboss.jcml :
my.CustomSecurityManager
But after deployment security manager remains
org.jboss.security.plugins.JaasSecurityManager.
After some investigations i catch the source of th
huh ...
I belive critisism is good when *and only when* a sugested solution folows
... as I se it those who need it, should write it ... the mail service
module ... do not jive support it now ? ...
To replicate the web forum to a maillist ... one way would be to have all
new postings go to the w
If you don't really want to change your method name ... why not to wrapp it
in a isModified method () ?
--hermann
- Original Message -
From: "Lennart Petersson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 12:19 PM
Subject: SV: [JBoss-user] isModified Method
>
Hi,
You can do something like this:
First create an environment entry in your ejb-jar.xml file like:
ConfigFile
java.lang.String
/config/ConfigFile.xml
private String getResourceNameFromEnvironment(String anEnvResourceName) throws
NamingException{
String theResourceName;
whoops, then why not change your code and tell wls to use isModified ;-)
I mean, isModified is almost THE standard name on this kind of method. And then i
think that getIsXxxx is a terribly mix of getter names (boolean getter should be named
isXxxx)!
ps. don't think that it is confiurable in
well not really, just add a method leave both in...
Burkhard
- Original Message -
From: "Syed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 12:00 PM
Subject: [JBoss-user] isModified Method
> Is there anyway to configure the name of the method "isModified".
>
>
Is there anyway to configure the name of the method "isModified".
Currently we are using weblogic and weblogic has a tag to indicate the name
of this method.
So our method name is "getIsModified" and if we want to use our ejbs in
JBoss, we would have to modify our
source code to change the method
I have solved the problem by changing the cache-type to C...
thanks ...
I would appreciate if I can get some help on the Source code docs..
ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
Thanks & Best Regards,
Mustaffa Syed Meerkasim.
ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸
Title: help about boot jboss_tomcat at linux_boot
pls. tell me How to start jboss_tomcat at linux boot.
I don't write the boot file in /etc/rc.d/init.d
double check that your client has correct version of these jar files (check against
client dir in jboss inst).
/L
- Original Message -
From: Jaime Gomez <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 1:28 AM
Subject: [JBoss-user] Problem with jar file client
>
Hi,
What are your transaction attributes?
Burkhard
- Original Message -
From: "Saint-Martin Cecile" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 9:30 AM
Subject: RE: [JBoss-user] New records not loaded by BMP Entity Bean
Why do you call ejbCreate()?
ejbCreate i
Ouch.
--jason
On Thu, 12 Jul 2001 [EMAIL PROTECTED] wrote:
> On Thu, Jul 12, 2001 at 03:41:12AM +0200, Peter Fagerlund wrote:
> > Ahhh ... pushing forward is hard ... change ... the pain of growing ...
> > cognisance dissonance - from having to change a GUI ... ;-) ... I to feel
> > uncomforta
Why do you call ejbCreate()?
ejbCreate is called by EJB Container on event creation.
To create a record, call homeInterface.create(parameters);
SAINT-MARTIN Cecile
[EMAIL PROTECTED]
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Syed
> Envoyé : v
I think your session bean have to be bean managed transaction
(Bean).
You should begin a transaction to read your table, increment (cnt = cnt +
1), update table, commit transaction.
Then you shouldn't have problem with concurrent access.
SAINT-MARTIN Cecile
[EMAIL PROTECTED]
> -Message d'ori
75 matches
Mail list logo