Hello,
I have the following xml config files:
// jboss.conf
// jboss.xml
false
I have a stateful session bean and I'm not declaring any container-transaction for
the bean(is that allowed?). Here is the ejb-jar.xml descriptor:
SecurityTests
A secured project repository stateful session bean
ProjRepository
org.jboss.test.security.interfaces.Pr
> Hi,
>
> are there already Mappings available for the Informix RDBMS ?
>
> Thanx in advance !
> Mo
>
> Dresdner Bank AG
> Global Transaction Banking
> Global Cash Management / Treasury Solutions
> Information Technology
> Reconciliations
> WM 14, 4D/ UB TB CTS IT2
>
> 60301 Frankfurt am Main
Hi,
May i know how the transaction work
do we need to get the connection from the datasource or can i
get the connection directly using
DriverManager.getConnection("myDBLocation");
I've tested with the direct way (DriverManager.getConnection), it doesn't
work.
Which make sense to me, cos'
I've an EJB on which I use JAAS to protect its methods. I add a web GUI on
top of it. The web app deployed in Tomcat also has its own way to
authenticate users. My question is, after a web user logins at the web
app's end, does the user's principal get propagated? When JSPs that call
JAAS pro
Hi,
I am trying to deploy the Petstore example on the recent
jboss2.1+tomcat package. I have folled the instructions in
the petstore patch archive, successfuly rebuilt the petstore ears, which
I successfuly tested on jboss+tomcat without modifying jboss.jcml and
standardjaws.xml. However when I ma
Hello,
Has any body used Timer MBean with JBoss
2.0?
Can you send me an example of how to use
it?
TIA
Regards
Rama Rao
I've manually installed Tomcat 3.2.1 in VAJ 3.5 . May I use it in place of
the VADD Tomcat 3.1 Test Environment ?
Dom
- Original Message -
From: "Lorin Blumenfeld" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 9:38 PM
Subject: [jBoss-User] Integrating jBo
I want to develop a secured application with Tomcat (v3.2.1) that
stands as an EJB client but where the security is managed by the
EJB container. I use the BASIC authentication method to let the
web browser get the user and password. I wrote a
RequestInterceptor, similar to JDBCRealm, that c
look at
> http://www.mail-archive.com/jboss-user@list.working-dogs.com/msg07903.html
>
>
Bye
Annegret
> --
> Von: Rama Rao[SMTP:[EMAIL PROTECTED]]
> Antwort an: JBoss-User
> Gesendet: Donnerstag, 1. März 2001 13:37
> An: jBoss
> Betreff: [jBoss-User] Timer Bean Examples
>
(I'm back. The new baby is doing fine, but she puts some pressure on my
programming time.)
To run integrated Tomcat and jBoss 2.0 FINAL as a daemon from Linux Redhat 7...
1) Download
http://jboss.org/newsite/bin/jboss_tomcat.zip
2) Unzip to /usr/local as /usr/local/jboss_tomcat, which will
Hi JBoss-User,
I> i have deplyed two beans in seperate jars. And i'm calling one bean from
I> another. but when calling a bean through another it throws a naming
I> exception.
I> I tried calling each bean individually, and they worked fine. what would be
I> that i'm missing here. need a reply as
>
> Hi,
> I am trying to deploy the Petstore example on the recent
> jboss2.1+tomcat package. I have folled the instructions in
> the petstore patch archive...
>
JBoss has been somewhat of a moving target lately, and there is some
discontinuity between the Pet Store documentation and the patch
Hi,
You are facing a bootstrap problem.
You should have secure and non-scure EJB's.
Logging in should be reachable for anybody, hence
creating your security service EJB should be a
non-secure EJB. Anything beyond the authorization
can be secure using the attributes you established
with your non-s
Hi,
I jave problems with trying it.
Can i call JNDIView::list() function from client?
I do trying
JNDIView aView = (JNDIView)new InitialContext().lookup("JNDIView");
System.out.println(aView.list( true ));
but I get NameNotBoundException. Should I describe JNDI name i
Do jboss and tomcat run on IIS with Windows NT Server 4.0? Any
risks/issues?
Do jboss and tomcat run on Apache on Windows NT Server 4.0? Any
risks/issues?
Thank you,
Laura
--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe
> This is ejb jar worked in jboss2 but gets following error in 2.1:
>
> [J2EE Deployer Default] Deploy J2EE application:
> file:/D:/jboss-tomcat-2.1-beta/jboss-2.1/deploy/RoomsBeans.jar
> [J2EE Deployer Default] Create application RoomsBeans.jar
> [J2EE Deployer Default] install module RoomsBean
Need to add OracleDriver to jboss.properties file. (I forget the full
classname, oracle.jdbc.driver.OracleDriver or something like that)
If you continue having issues posting console output + stack trace would be
helpful
> -Original Message-
> From: Thierry Templier [mailto:[EMAIL PROTE
Oh! Using 2.0 FINAL is the problem. You'll need a CVS pull for 2.1 PRE that
post dates Dec 21. Try out the beta Rickard just posted for
jBoss2.1/Tomcat. It works well.
http://www.jboss.org/newsite/bin/jboss-tomcat-2.1-beta.zip
Try that and let us know how you make out. We can go from there.
J
"Castro, David" wrote:
>
> Yeah. you need a configuration-name tag in your bean to match the
> container-name tag in the congfiguration. Otherwise it uses the default
> from standardjboss.xml (you have to read the dtd really carefully to find
> this out).
>
> so:
> >
> >
> >
Can the Observable class
(http://java.sun.com/j2se/1.3/docs/api/java/util/Observable.html) be used
on an EJB ?
I have a stateful session EJB that shall be observable, and a javabean (JSP
helper) that shall observe.
example:
public class SidtexterFacadeEJB extends java.util.Observable impleme
Its an mbean not an object in JNDI. You have to use the JMX agent view
to access the bean. Use the html protocol adapator by browsing
http://localhost:8082/ViewObjectRes//DefaultDomain%3Aservice%3DJNDIView
- Original Message -
From: "Darius Davidavicius" <[EMAIL PROTECTED]>
To: "JBoss-Us
Hi!
Roland S Nygren wrote:
> Can the Observable class
> (http://java.sun.com/j2se/1.3/docs/api/java/util/Observable.html) be used
> on an EJB ?
No.
> I have a stateful session EJB that shall be observable, and a javabean (JSP
> helper) that shall observe.
>
> example:
> public class SidtexterF
Hi,
> Hi,
>
> I jave problems with trying it.
>
> Can i call JNDIView::list() function from client?
>
> I do trying
>
> JNDIView aView = (JNDIView)new
> InitialContext().lookup("JNDIView");
> System.out.println(aView.list( true ));
>
> but I get NameNotBoundExceptio
Title: RMI through HTTP proxy
Hi,
I've been playing with the possibility of doing rmi on beans deployed in jboss through HTTP proxy and there are some things that are very funny, so if someone can clarify things it would be great.
Ok. When there is a code like this in the client:
Initi
Thanks,
nice view.
D&D
On Thu, 1 Mar 2001 08:00:13 -0800, Scott M Stark wrote:
>Its an mbean not an object in JNDI. You have to use the JMX agent view
>to access the bean. Use the html protocol adapator by browsing
>http://localhost:8082/ViewObjectRes//DefaultDomain%3Aservice%3DJNDIView
>
Da
You need to have an tag in the ejb-jar.xml file. You also will
need to put the remote and home interfaces in the classpath.
-Original Message-
From: Imran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 12:50 AM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] Bean to Bean
Hello
Timo. I believe you cannot use configuration-name in ejb-jar.xml, but
rather in jboss.xml where I indicated. That would explain part of your
problem.
in the bean class define the function
public boolean isModified()
Before store operation commences this function will be called. If return is
Look at org.exolab.castor.jdo.engine.DatabaseImpl and
org.exolab.castor.persist.TransactionContext
First of all JBoss calls beforeCompletion in DatabaseImpl
if (_transaction == null || _ctx == null || ! _ctx.isOpen())
throw new IllegalStateException ..
..
_ctx.prepare();
Yes on both questions. Risks and issues? For what purpose? No more risks
than running any other open source software.
- Original Message -
From: Carlton, Laura <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 01, 2001 9:53 AM
Subject: [jBoss-User] web server questions
On Thu, Mar 01, 2001 at 04:59:14PM +0800, Penn wrote:
> Hi,
>
> May i know how the transaction work
>
> do we need to get the connection from the datasource or can i
> get the connection directly using
> DriverManager.getConnection("myDBLocation");
>
> I've tested with the direct way (Driv
Roland,
I don't believe its ok. I think you should you JMS for these things.
Mica
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Roland S Nygren
Sent: Thursday, March 01, 2001 9:51 AM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] Can EJB extend Observable
Hi,
I have finally got this to work, for the record, this is what I did wrong...
. in the manifest.mf file, my Class-Path entry was the last entry in the
file and did not have a newline character after it - which means it gets
ignored by the JarFile/Manifest processing (standard java).
. I had
I took a look into the source code, and it appears (although I'm not sure) that
the while the container does call ejbStore, it does not actually send SQL to the
database unless some data has changed. So that works if all you're doing is
calling getXXX methods.
Does anyone have an explanation of
I'm having a similar problem (only I'm using PostgreSQL)... Only when I
look it up
it returns the hypersonic datasource and hence everything fails. I'm
figuring somehow
its causing it to go to the "DefaultDS"
Could someone do a step by step with a postgres or oracle example on how to
setup the
Has anyone done this successfully? CAn you give me a play by play on what
you
did to get it to work? I just keep getting hypersonic and I've guessed at
several
ways to configure it and none of them work. I'm using postgres in a BMP
Entity Bean.
Thanks,
Andy
-Original Message-
From:
Hello gurus,
I have set up a configuration jboss+embeddedtomcat+cocoon (the last
embbeded version as of the 25 february, and cocoon 1.8.2), and i want to
use Log4j with that.
I have followed the direction stated in http://geocities.com/phox_2/
( except i made the change in jboss.conf instead o
This is "tuned-updates" in jboss.xml (If I understand your question
correctly)
true - update if data changed
false - update always
> -Original Message-
> From: Jonathan Keller [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 01, 2001 10:47 AM
> To: JBoss-User
> Subject: Re: [jBoss-Use
Dominique:
I've tried the same thing, and, although, I found that you can run servlets fine
in Tomcat 3.2.1, the JSP compiler couldn't find the JSP files inside of VAJ.
This feature does work with IBM's Tomcat 3.1 integration and is the reason why I
stayed away from trying to import the "jBoss
On Thu, Mar 01, 2001 at 03:22:36PM +0800, Ricky wrote:
> Hi Toby ,
>I download JBoss-2.0_FINAL zip file and download to /home/wt/ .
>
>I run the jboss by using java -jar run.jar.Below is full output from
> jboss log.
Is there a reason for not using the included run.bat? I think there ar
for 2.1:
setup datasource in jboss.jcml (RealDBName)
link coded name to real name in jboss.xml (resource-manager -
res-ref-name(CodedName) - jndi-name(RealDBName))
declare reference to coded name in ejb-jar.xml (resource-ref -
res-ref-name(CodedName))
lookup coded name in code (InitialContext.loo
I can't seem to make the Opta2000 driver (SQL Server driver from i-net
software) work in pre-2.1. I have their latest driver that supposedly
includes a fix that makes it work with JBoss. Does anyone have this
working? Anyone? Anyone? Bueller?
Thanks,
Dewayne
TestDS
com.inet.tds.
Has anyone done this successfully? CAn you give me a play by play on
what
you
did to get it to work? I just keep getting hypersonic and I've guessed
at
several
ways to configure it and none of them work. I'm using postgres in a BMP
Entity Bean.
Thanks,
Andy
-Original Message-
Fro
There could be several issues, including misconfiguration.
I've had this when Cloudscape was not running. Make sure you have started
the Cloudscape database and it is populated.
To start the database, you need to go to j2eeskd bin directory (or
something of that sort) and start Cloudscape. Anot
Hi,
Can the Webserver be replaced by EmbeddedTomcat? This would save a port.
Regards,
Tim Taylor
--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Hi,
Is it possible to have a look at the TOC? It takes 1-2 weeks before the book
is available in Europe. I am especially interested to know if IIOP is
covered as transport protocol.
Regards,
Wim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rickard Ö
Try to add this jboss.xml to your jar.
false
jdbc/efindsDS
efindsDS
beanname
lookup-name
jdbc/efindsDS
jdbc/efindsDS
- Original Message -
From: "oliver2, andy" <[EMAIL PROTECTED]>
To: <[EM
We aren't necessarily looking for the ability to execute cgi on JBoss, but
we
have a little .exe file that computes authorization information for a
pay-for-service
site we link to.
I've got it so that the jsp can find it ok, but it attempts to download
the file
instead of actually executing i
Get the module "contrib" from the CVS.
There is a LOG4J directory which explain you how to configure JBoss to use
LOG4J instead of the JBoss logger.
It is mainly used to log JBoss messages but you can also use it in your EJB.
Vincent.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EM
Hi,
Yes, sorry, this is a bug in Castor 0.9
(no such code in Castor 0.8.11 BTW).
Either use a CVS version of Castor 0.9, or remove
"|| ! _ctx.isOpen()" yourself and rebuild.
Regards,
Oleg
On Thursday 01 March 2001 18:22, Nimbus Partners Ltd wrote:
> Look at org.exolab.castor.jdo.engine.Datab
Hi,
Scott M Stark wrote:
> I have a stateful session bean and I'm not declaring any container-transaction for
> the bean(is that allowed?). Here is the ejb-jar.xml descriptor:
>
Yes it is allowed . It defaults to REQUIRED attribute as far as I know.
>
>
> SecurityTests
>
>
>
What's the res-class attribute of resource-manager for?
> "JbossKnut" == JbossKnut <[EMAIL PROTECTED]> writes:
JbossKnut> Try to add this jboss.xml to your jar. encoding="Cp1252"?>
JbossKnut> false
JbossKnut> res-class="org.jboss.ejb.deployment.JDBCResource">
JbossKn
Title: Off Topic: COM Server
I apologise for the off topic, but
Has any one integrate JBoss with M$- COM. I need to iteract with legacy COM objects in Jboss. Has anyone any solutions please ?
I have tried the OLEBridge from IBM alphaworks, but it failed when used on ADO 2.1.
I need
Have you tried Bridge2Java, also from IBM alphaworks?
-Original Message-
From: Scott Warren [mailto:[EMAIL PROTECTED]]
Sent: 01 March 2001 23:07
To: [EMAIL PROTECTED]
Subject: [jBoss-User] Off Topic: COM Server
I apologise for the off topic, but
Has any one integrate JBoss with
Title: Off Topic: COM Server
Try this list of
products for J2EE/MS integration..
http://www.jguru.com/jguru/faq/view.jsp?EID=74302
regards,-Rob--Robert
Castaneda[EMAIL PROTECTED]http://www.customware.com
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
> -Original Message-
> From: Rao Bhethanabotla
> Sent: Thursday, March 01, 2001 1:42 PM
> To: '[EMAIL PROTECTED]'
> Cc: Satya Chauhan; Jagdev Dhillon
> Subject: Losing SessionContext in ejbActivation of Stateful Session
> Bean
>
> Hi,
>
> I am working on windows NT
Hi,
I have written a chapter on how to use Message Driven Beans in JBoss. It
treats how to code the beans, write deployment descriptors and the
configurabillity of the MDB container in JBoss.
I hope it is possible to read, english is not my first language you
know.
The documentation is in the "
Off Topic: COM ServerI have used the J-Integra product from
Linar(http://www.linar.com/) on the client side
to integrate COM on the desktop and it is a pure Java product. They have examples
of using the product with several EJB servers.
- Original Message -
From: Scott Warren
To: [EMAIL
Not really a jBoss bug, but possibly worth while fixing: When sending a
non-parsable
bmp SQL statement, the transaction it uses seems to never get closed.
I wrote a simple load test which just creates entity beans and invokes a
method on it.
It worked fine for about 16,000 beans - about 100 or s
I have used the Neva tool for the past 3 years and have been very pleased
with it.
Regards,
Garvin LeClaire
[EMAIL PROTECTED]
- Original Message -
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: "JBoss-User" <[EMAIL PROTECTED]>
Sent: Thursday, March 01, 2001 6:41 PM
Subject: Re: [jBoss
"Is all of this controversial? You bet it is. Despite
the number of vendors that have embraced the EJB 2.0
specification, I'm not aware of a single vendor that's
implemented dependent objects, including BEA WebLogic
and JBoss Server, which are usually the most updated
implementations. It's likely
Hi Toby,
when #echo $CLASSPATH
/usr/local/java/common/postgresql.jar
That it is . nothing else.
Thanks.
Toby Allsopp wrote:
>
> On Thu, Mar 01, 2001 at 03:22:36PM +0800, Ricky wrote:
> > Hi Toby ,
> >I download JBoss-2.0_FINAL zip file and download to /home/wt/ .
> >
>
On Fri, Mar 02, 2001 at 08:45:45AM +0800, Ricky wrote:
> Hi Toby,
> when #echo $CLASSPATH
> /usr/local/java/common/postgresql.jar
>
> That it is . nothing else.
Well, unless there is something sinister in that jar file, I'm stumped.
You're using JDK 1.3, right?
Looking at the
Hi,
Earlier I have posted this problem of losing SessionContext information
in stateful session beans after activation. I have done some
investigation and found out that session context is set wrongly on
old instance and not at all on the new instance read from passivation store.
To state brief
Hi all ,
Anybody have any sample code to autogenerate primary key in CMP
bean using JBoss ?
I can do it easily using IAS container but not with jboss. Maybe
I am missing something in the jboss.
Are there any documentation in jboss regarding autoincrement
primary k
On a related note, can anyone clear up the issue of library jars with
respect to j2ee. There is support in the reference edition for library
jars, but after reading through the spec, I couldn't find much information
on the how to use them. The deploytool in the RI doesn't do anything
special wit
On Thu, 1 Mar 2001, Roland S Nygren wrote:
>
> Can the Observable class
> (http://java.sun.com/j2se/1.3/docs/api/java/util/Observable.html) be used
> on an EJB ?
>
> I have a stateful session EJB that shall be observable, and a javabean (JSP
> helper) that shall observe.
>
> example:
> publ
On Thu, 1 Mar 2001 [EMAIL PROTECTED] wrote:
> We aren't necessarily looking for the ability to execute cgi on JBoss, but
> we
> have a little .exe file that computes authorization information for a
> pay-for-service
> site we link to.
>
> I've got it so that the jsp can find it ok, but it att
The spec stipulates that shared jars can be referenced by ejb-jars using the
manifest Class-Path entry (in the ejb-jar manifest). It does not stipulate
where in the .ear they must be located. (Someone else can quote the spec if
they like...)
> -Original Message-
> From: Stan Ng [mailto:
On Thu, 1 Mar 2001, oliver2, andy wrote:
>
> Has anyone done this successfully? CAn you give me a play by play on
> what
> you
> did to get it to work?
Tobias gave you several options... the first one is probably the
best. You need to specify the data source to use in jaws.xml in you ejb
jar
Funny and it is also wrong
I mean that a BEA director would say that...
Also he is wrong in saying that we did not implement it (is anyone following
what is going on here? :)
So Dan, you want to let the man know he is wrong.
anyway the dependent objects are a moving target in the spec so even
RTFM already! A datasource with the name OracleDB is rebound to
java:/OracleDB which is NOT accessible outside the server VM. This is not
possible because database connections, result sets etc. are not guaranteed
to be serialisable.
Man, do we need a FAQ...
Tom
On Thu, 1 Mar 2001, Thierry Tem
Hi Toby ,
I am using jdk1.2.2. It something wrong with the jdk .
Toby Allsopp wrote:
>
> On Fri, Mar 02, 2001 at 08:45:45AM +0800, Ricky wrote:
> > Hi Toby,
> > when #echo $CLASSPATH
> > /usr/local/java/common/postgresql.jar
> >
> > That it is . nothing else.
>
> Well, un
Hi,
I have written my custom MBean and could start it at the startup.
But i want to look up a queue at the startup. When i try to look up
QueueConnectionFactory, it is giving the error
that QueueConnectionFactory not bound.(This is happening because SpyderMQ is
initializing by this time and not st
On Fri, 2 Mar 2001, Tom Cook wrote:
> RTFM already! A datasource with the name OracleDB is rebound to
> java:/OracleDB which is NOT accessible outside the server VM. This is not
> possible because database connections, result sets etc. are not guaranteed
> to be serialisable.
>
> Man, do we ne
Ricky wrote:
> Hi Toby ,
>
> I am using jdk1.2.2. It something wrong with the jdk .
If you're using 1.2, where are you getting the javax.rmi stuff from?
It's not part of 1.2, there's a download from Sun with it. Have you
downloaded that and added it to your classpath somehow (maybe jre/lib/ex
Hi,
You didn't show your xml files... but I think you can set the charset in
jboss.jcml like this:
DefaultDS
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl
jdbc:interbase://localhost/usr/java/jboss/dev/jboss/dist/db/firebird/jbosstest.gdb
sysdba
masterkey
false
77 matches
Mail list logo