Re: [JBoss-user] [Beginners Corner] - Re: Deployment problem I cannot solve

2004-05-05 Thread Marco Tedone
Well, this seems a bit nusty. - Original Message - From: momi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 8:42 AM Subject: [JBoss-user] [Beginners Corner] - Re: Deployment problem I cannot solve I have a same problem for a bean which extends another class. If

[JBoss-user] Running a RMI server into JBoss

2003-12-07 Thread Marco Tedone
Hi, is there a best practice to run a RMI server into Jboss? I'm thinking of realizing a RMI application to manager an email server, and would like to run it into Jboss as a service. Any suggestion as what shall I do? Thanks, Marco ---

Re: [JBoss-user] Geeee...Everybody on the net can see my JMX-CONSOLE. Jboss 3.2.1 Config problem.

2003-11-22 Thread Marco Tedone
You should change the listening port to another port (let's say 8080). This way, if you want clients to access your web applications running on JBoss, you can configure Apache as front end, and redirect each context to Tomcat/Jetty setting the appropriate configuration. Should you decide for this

[JBoss-user] [NEWBIE]Questions about JBoss 3.2.2 bundled with Tomcat 4.1

2003-11-11 Thread Marco Tedone
Hi, I just changed my configuration from two separate bundles (Jboss + Tomcat) to one unique one. I have few questions, as the configuration is not exactly the same: 1) What is now the path for CATALINA_HOME? 2) How do I deploy now applications that before I was deploying under

Re: [JBoss-user] how to access servlet context

2003-09-17 Thread Marco Tedone
I wouldn't say something wrong, but it seems to me that the content under WEB-INF is not accessible from outside a web application. I think to remember it from a couple of books, and additionally I had the confirmation in the past few days, when I tried to build an index folder under WEB-INF and

Re: [JBoss-user] How to setup 2 jboss installations on the same machine?

2003-09-13 Thread Marco Tedone
You need Jboss 3.2.2. 1) Copy the server type folder you want (i.e. default) with the new name (i.e. test) 2) Edit sample-bindings.xml under JBOSS_HOME\docs\examples\binding-manager and either modify or add a new server definition 3) Edit JBOSS_HOME\server\new_server\conf\jboss-service.xml adding

Re: [JBoss-user] JBoss project and Eclipse

2003-09-13 Thread Marco Tedone
It seems that you need to set up the classpath for each project, but it's only the Jboss classes you need, you can add the Jboss/client jars, which are enough. Hope this will help, Marco - Original Message - From: Brian Wallis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday,

Re: [JBoss-user] logging sometimes works, sometimes doesn't

2003-08-29 Thread Marco Tedone
I cannot give you an answer to your question, but I can tell you what I do to get a logger from within my EJB: //The logger instance private transient final Category log = Category.getInstance(getClass().getName()); from now on, you can use log.info(String msg) or the other methods associated

Re: [JBoss-user] ClientLoginModule

2003-08-27 Thread Marco Tedone
- Original Message - From: Holger Baxmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 1:36 PM Subject: Re: [JBoss-user] ClientLoginModule On Mon, 25 Aug 2003 16:07:27 +0100, Marco Tedone [EMAIL PROTECTED] wrote: Hi, could someone please forward me where I could find any

Re: [JBoss-user] [NEWBIE] Jboss and security

2003-08-27 Thread Marco Tedone
documentation and samples for more details. PS: on the client side, you will have to also use the JAAS api. Check the current thread in this mailing list about the client login module for more details. Thomas Cherel -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent

[JBoss-user] ClientLoginModule

2003-08-26 Thread Marco Tedone
Hi, could someone please forward me where I could find any documentation on how to use the ClientLoginModule in jboss? From the login-config.xml file, I can read that this can be used by Servlet which try to access an EJB (exactly what I'm going to do). Thanks, Marco

[JBoss-user] [NEWBIE] Jboss and security

2003-08-26 Thread Marco Tedone
Hi, how could I tell Jboss that a client which wants to executed a restricted method on a RemoteInterface has some Principals associated with it (I assume that the Principals mapping between the deployment descriptor and the client will be performed somewhere)? Thanks, Marco

[JBoss-user] Jboss 4.0 book

2003-08-24 Thread Marco Tedone
Hi, are you preparing a book for Jboss 4.0 (I mean a printed version)? Thank you, Marco

[JBoss-user] [NEWBIE-OT] Few questions about security implementation

2003-08-23 Thread Marco Tedone
Hi, we're trying to build a security model for our J2EE application. I'm studying that, once a client has been associated with a Principal object, any call to any method in the Remote Interface results in an implicit propagation on the Principal object to the EJB Server. Few questions: 1) Once a

Fw: [JBoss-user] Creating a new instance of JBoss

2003-08-14 Thread Marco Tedone
Could someone confirm this, please? Thanks, Marco - Original Message - From: Marco Tedone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 11:12 PM Subject: Re: [JBoss-user] Creating a new instance of JBoss Sacha, thank you. I downloaded the 3.2.2 and I found

[JBoss-user] Creating a new instance of JBoss

2003-08-14 Thread Marco Tedone
Alexey, I am having a look at the BindingService.pdf manual downloaded from SourceForge. It refers to a book which contains an example for creating two instances of jboss (jboss0 and jboss1) which I cannot find. From this manual, once one has a bindings xml example file, it could be a process

Re: [JBoss-user] [NEWBIE] Running more than one Jboss instance

2003-08-12 Thread Marco Tedone
, Marco - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: Marco Tedone [EMAIL PROTECTED] Sent: Sunday, August 10, 2003 9:58 AM Subject: Re: [JBoss-user] [NEWBIE] Running more than one Jboss instance Hello Marco, it is covered in BindingService.pdf on sourceforge.net

[JBoss-user] [NEWBIE] Running more than one Jboss instance

2003-08-10 Thread Marco Tedone
Could please someone help me with this issue or tell me where could I find how to do it on a free guide? Thank you for your help, Marco Hi, I would like to have a Test and a Production environment where to copy a production applicatation when we want to update some features, make our

[JBoss-user] [NEWBIE] Running more than one Jboss instance

2003-08-10 Thread Marco Tedone
Hi, I would like to have a Test and a Production environment where to copy a production applicatation when we want to update some features, make our updates, and test as it would be the production environment. Could please someone tell me how to do it and which would be the implications of it?

Re: [JBoss-user] How can I use VO in CMP?

2003-08-10 Thread Marco Tedone
What I'm doing with my project, I use VO to get/set attributes in the CMP ejb. I manage to receive an already created VO from the client as parameter in the ejbCreate method. If instead I want to retrieve data, fill in a VO and pass it back to the client, than I create a new instance of the VO in

[JBoss-user] [OOT] Passing ResultSet to an external client

2003-08-06 Thread Marco Tedone
Hi everybody, I hope that you are fine :) From my web client (a Struts Action) I am trying to get a ResultSet from a session bean deployed under Jboss. The queried database is MySQL and the query is executed correctly as at the end I can see from Jboss console the log message that the object is

[JBoss-user] Jboss 3.2.1 - Cascade delete doesn't work for me

2003-07-10 Thread Marco Tedone
Hi, I have two entity beans, People and Address with a relationship of 1 to 1. I specified cascade-delete=yes in the ejb-jar in the People entity bean but it doesn't work. Are you aware about any issue related to this subject? Many thanks in advance, Marco

[JBoss-user] Jboss 3.2.1 - Cascade delete doesn't work for me - Problem solved

2003-07-10 Thread Marco Tedone
Sorry, I put the cascade-delete option on the wrong part of the relationship. Everything works fine now. Marco - Original Message - From: Marco Tedone [EMAIL PROTECTED] To: JBoss-user-list [EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 8:40 PM Subject: Jboss 3.2.1 - Cascade delete

Re: Re[2]: [JBoss-user] Question about CMP entity

2003-07-06 Thread Marco Tedone
for you. Regards, Marco - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: Marco Tedone [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 9:51 AM Subject: Re[2]: [JBoss-user] Question about CMP entity You need to implement two interfaces (in package

Re: [JBoss-user] Question about CMP entity

2003-07-04 Thread Marco Tedone
); if (nextId == null || ((nextId.intValue() % BLOCK_SIZE) == 0)) { nextId = getNextBlockStart(sequenceName); } //This is the part of code - Marco Tedone nextId = new Integer(nextId.intValue() + 1); blocks.put(sequenceName, nextId); return nextId; } So, I updated the line nextId = new

Re: [JBoss-user] Question about CMP entity

2003-06-26 Thread Marco Tedone
Loubyansky [EMAIL PROTECTED] To: Marco Tedone [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 7:12 AM Subject: Re: [JBoss-user] Question about CMP entity Hello Marco, if the problem really is a primary key generation you could consider entity-commands in JBoss-3.2. The options are: - database

Re: [JBoss-user] Question about CMP entity

2003-06-26 Thread Marco Tedone
: [JBoss-user] Question about CMP entity - Original Message - From: "Marco Tedone" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 8:19 PM Subject: Re: [JBoss-user] Question about CMP entity Could you please forward some

[JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Tedone
Sorry guru for the [silly] question: I am having a discussion with people in my project regarding the container work with CMP entity beans. More specifically, we want to implement a Numerator table to assign numbers to several entities of our model. Suppose a client wants to assign a value to a

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Tedone
and a stateless session bean that caches blocks of sequences (due to performance issues). I think itsĀ“s pretty nice. Cheers, Marco - Original Message - From: Marco Tedone [EMAIL PROTECTED] To: JBoss-user-list [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 7:06 PM Subject: [JBoss-user

[JBoss-user] Problems with EJB-QL in a finder method - 3.2.1

2003-06-25 Thread Marco Tedone
Hi, I'm trying to use a finder method which I defined with EJB-QL: The signature is as follows: public java.util.Collection findByEmailPassword(java.lang.String email, java.lang.String password) throws javax.ejb.FinderException; in the ejb-jar.xml file I have the following: query

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Tedone
: "Marco Tedone" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 8:19 PM Subject: Re: [JBoss-user] Question about CMP entity Could you please forward some example? You can use thissame bean to create ids for any entity, or create a seq

Re: [JBoss-user] Problem writing an entity bean related to another. Jboss 3.2.1

2003-06-23 Thread Marco Tedone
- Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: Marco Tedone [EMAIL PROTECTED] Sent: Monday, June 23, 2003 7:49 AM Subject: Re: [JBoss-user] Problem writing an entity bean related to another. Jboss 3.2.1 Does People's table have an 'addressId' column? It should. alex

Re: Re[2]: [JBoss-user] Entity relationships. Jboss 3.2.1

2003-06-23 Thread Marco Tedone
Thank you Alex, I'm very grateful to you for your time. Marco - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: Marco Tedone [EMAIL PROTECTED] Sent: Monday, June 23, 2003 7:45 AM Subject: Re[2]: [JBoss-user] Entity relationships. Jboss 3.2.1 Hello Marco

Re: [JBoss-user] Jboss 3.2.1 Problems with table's relationship

2003-06-23 Thread Marco Tedone
should be done in the ejbCreate method. Sorry, I am an EJB newbye. Marco - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: Marco Tedone [EMAIL PROTECTED] Sent: Monday, June 23, 2003 8:03 AM Subject: Re: [JBoss-user] Jboss 3.2.1 Problems with table's relationship Are you

Re: [JBoss-user] Jboss 3.2.1 Problems with table's relationship

2003-06-23 Thread Marco Tedone
BINGOO! Actually in the AddressBean.ejbCreate() method none of the AddressBean fields was set. Thank you Alex, I want to pay you a dinner! Marco - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: Marco Tedone [EMAIL PROTECTED] Sent: Monday, June 23, 2003 8:03 AM Subject

Re: [JBoss-user] Entity relationships. Jboss 3.2.1

2003-06-22 Thread Marco Tedone
Sorry, the question was uncomplete: shall I declare the relationships element in the jbosscmp-jdbc.xml file? Thanks, Marco - Original Message - From: Marco Tedone [EMAIL PROTECTED] To: JBoss-user-list [EMAIL PROTECTED] Sent: Sunday, June 22, 2003 6:11 PM Subject: [JBoss-user] Entity

[JBoss-user] Entity relationships. Jboss 3.2.1

2003-06-22 Thread Marco Tedone
Hi, in the case of an entity beans relation 1:1 shall I declare the relationships element? Marco --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers.

[JBoss-user] Problem writing an entity bean related to another. Jboss 3.2.1

2003-06-22 Thread Marco Tedone
Hi, I deployed two entity beans, People and Addresses, with a relationship 1:1. The key field of Addresses is called addressId. Following the CMP specs (I believe) I have all the abstract method in the People implementation bean for the People table and two abstract get/set methods for the

[JBoss-user] Entity relations 3.2.1...Problem solved

2003-06-22 Thread Marco Tedone
Hi, I followed the Jboss workbook examples (chapter 6_03) and I solved the problem. Probably the problem was that I had persistent-relationships accessor with the same name as the table, and the index wasn't created. Thank to anyone of you who spent some time on this issue. Regards, Marco

Re: [JBoss-user] dynamic primary key generation

2003-06-22 Thread Marco Tedone
An EJB is a software component, and for its nature, once deployed it's quite static (you get what you have written) so there is no much space for dynamicity. Additionally, the primary key object is part of the deployment process, and used by the container to access the related entity beans, thus,

Re: [JBoss-user] Jboss and Xdoclet problem

2003-06-18 Thread Marco Tedone
Jos, thank you for your answers. I downloaded 1.2b3 and now I can deploy automatically. Cheerse, Marco - Original Message - From: Jos Visser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Marco Tedone [EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 8:17 AM Subject: Re: [JBoss-user] Jboss

Re: [JBoss-user] EJB Local and Remote Interfaces.

2003-06-18 Thread Marco Tedone
With the new 2.0 CMP specifications, whenever possible local interfaces are suggested. In your (and many other) cases, a session bean facade (that is hiding from client the entity bean, but managing it through a session bean) it is the right things to do. The main advantage from local interfaces

Re: [JBoss-user] Jboss and Xdoclet

2003-06-16 Thread Marco Tedone
you with my argumentations, Regards, Marco - Original Message - From: Brian Topping [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 4:37 PM Subject: RE: [JBoss-user] Jboss and Xdoclet -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Subject

[JBoss-user] Jboss and Xdoclet problem

2003-06-15 Thread Marco Tedone
/cmp-field cmp-field field-namecity/field-name /cmp-field cmp-field field-namecountry/field-name /cmp-field !-- merge point: jbosscmp-jdbc-load-{0}.xml -- /entity /enterprise-beans /jbosscmp-jdbc What's wrong with the !DOCTYPE declaration? Thanks in advance, Marco Tedone

[JBoss-user] Jboss and Xdoclet

2003-06-14 Thread Marco Tedone
Can I ask question related to Jboss on xdoclet tasks on this list? Marco --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-11 Thread Marco Tedone
/res-type res-authContainer/res-auth /resource-ref jboss.xml: resource-managers resource-manager res-jndi-namejava:/Mail/res-jndi-name res-namemail/Mail/res-name /resource-manager /resource-managers Marco Tedone wrote: Hi, I would like to retrieve

Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-11 Thread Marco Tedone
. Marco Tedone wrote: I tried with your code, Guy. Anyway, I'm trying to getting a Jboss Mail Session from a class running under Tomcat (running as separate bundle), therefore I don't bind the resource-ref element to any session or entity bean. What I would like is just to retrieve a Mail

Re: [JBoss-user] Hello ! The problem of JNDI in JSP !

2003-06-10 Thread Marco Tedone
in this Context if I load the JSP ? Therefore , should I have the futher configurations ? ( I so confuse to place and use jndi.properties and JNDI ) Thank you ! Marco Tedone [EMAIL PROTECTED] wrote: A couple of considerations: 1) If your JSP is running from a context different from Jboss

Re: [JBoss-user] Hello ! The problem of JNDI in JSP !

2003-06-09 Thread Marco Tedone
A couple of considerations: 1) If your JSP is running from a context different from Jboss, then you should create the InitialContext using the jndi.properties file like: InitialContext context = new InitialContext(properties); 2) The jndi name of your bean could be probablylooked upas:

[JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-09 Thread Marco Tedone
Hi, I would like to retrieve a javax.mail.Session object from within a class running under Tomcat. I would like to user the javax.mail.Session provided by Jboss. In the jmx-console, I can see that under the java Namespace there is the 'Mail' name; however, from within my class, when I do the

Re: [JBoss-user] Hello ! The problem of deployment !

2003-06-08 Thread Marco Tedone
Yes, you can access Jboss components from a JSP page. You should set up a JNDI context in order to do so. One way could be to write a jndi.properties file and put it under WEB-INF/classes folder (Tomcat). An example of a possible JNDI properties file could be the one which follows:

[JBoss-user] [NEWBIE] Configuring the mail server with Jboss

2003-06-08 Thread Marco Tedone
Hi, from my book I'm learning that a J2EE container should provide support for JavaMail and that in order to get a Mail session it would be enough to lookup something like the following: javax.mail.Session session = (javax.mail.Session) initial.lookup(java:/Mail); Now, my question is:

[JBoss-user] Configuring Mail with Jboss...Problem solved

2003-06-08 Thread Marco Tedone
Sorry, I just discovered mail-service.xml. Thanks, Marco --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try

Re: [JBoss-user] [NEWBIE] Primary Key class WARN - Jboss 3.2.1

2003-06-07 Thread Marco Tedone
Actually I didn't implemented them at all. Could you please post any sample code? I had a look on my book but there is no example of external Key class. Thanks, Marco - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: Marco Tedone [EMAIL PROTECTED] Sent: Saturday, June

Re: [JBoss-user] jmx docs : Where can I find a good starting point / tutorial / guide

2003-06-05 Thread Marco Tedone
, 4 Jun 2003, Marco Tedone wrote: I just bought the following book: JMX: Managing J2EE with Java Management Extension, by Juha Lindfords, Marc Fleury, the Jboss Group edited by SAMS. If isn't good this book, which has been written by Jboss guru, which one could be good? Marco

Re: [JBoss-user] Create method executed succesfully but I can't see any record on the database

2003-06-04 Thread Marco Tedone
, masrk. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marco Tedone Sent: 02 June 2003 20:10 To: JBoss-user-list Subject: [JBoss-user] Create method executed succesfully but I can't see any record on the database Hi, finally I deployed the entity

Re: HA: [JBoss-user] Oracle XA error on 3.2.1

2003-06-04 Thread Marco Tedone
Have you set pad=true in transaction-service.xml file? I'm using Oracle9i with Jboss 3.2.1 and an XA datasource, and everything is working great. Regards, Marco - Original Message - From: Stefano Maestri [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 2:03 PM

[JBoss-user] [NEWBIE] Naming Space question

2003-06-03 Thread Marco Tedone
I'm deploying a session bean and an entity bean on Jboss. For both, in the jboss.xml file I declared the jndi-name as: session ejb-nameSiteMySQLDbManager/ejb-name jndi-nameejb/site/SiteMySQLDbManager/jndi-name /session entity ejb-nameUsersEJB/ejb-name jndi-nameejb/site/UsersEJB/jndi-name /entity

[JBoss-user] Create method executed succesfully but I can't see any record on the database

2003-06-03 Thread Marco Tedone
Hi, finally I deployed the entity and the session bean succesfully (the problems with local interfaces were due to the mispelling in the ejb-jar.xml definition, solved thanks to the good guys at Jboss. Now I ran a client which executes a method on the session bean; the session bean retrieve the

[JBoss-user] Deployment + database writing problems...solved

2003-06-03 Thread Marco Tedone
Referring to the two emails previsouly sent, I solved the problems by including jbosscml-jdbc.xml in my jar. Thank you to anybody dedicated to my some of his time. Marco --- This SF.net email is sponsored by: eBay Get office equipment for

[JBoss-user] Jboss 3.2.1 - Error in deploying an entity bean with local interfaces

2003-06-02 Thread Marco Tedone
Hi, I just downloaded and installed Jboss 3.2.1 and tried to deploy an entity bean with local interfaces, following the CMP 2.x specifications which I'm reading from 'Professional EJB' edited by wrox. I had the same problem few days ago, so I wrote on the sun EJB forum and I've been told to

Re: [JBoss-user] Jboss 3.2.1 - Error in deploying an entity bean with local interfaces

2003-06-02 Thread Marco Tedone
Stark Chief Technology Officer JBoss Group, LLC On Sunday, June 1, 2003, at 11:13 AM, Marco Tedone wrote: Hi, I just downloaded and installed Jboss 3.2.1 and tried to deploy an entity bean with local interfaces, following the CMP 2.x specifications which I'm

[JBoss-user] Warning with local interfaces + question

2003-06-02 Thread Marco Tedone
I submitted a bug related to the warning I receive trying to deploy an entity bean managed through local interfaces. I have another question: I'm trying to manage the entity through a session bean which acts as facade, thus using the potentiality of local interfaces even if no relationships are

[JBoss-user] Deploying local entity beans

2003-05-30 Thread Marco Tedone
Hi, I'm deploying a very simple entity bean on Jboss. My intention is to deploy it with a Local Interface and manage it through a session bean facade. During deployment I receive the following error: !-- ERROR BEGIN -- 22:51:14,390 WARN [verifier] EJB spec violation: Bean : UsersEJB Section:

[JBoss-user] Re: Deployments crashed because http://www.jboss.org/j2ee/dtd/jboss-app_3_0.dtd is no longer accessible?

2003-03-31 Thread Marco Tedone
I had the same problem, which I solved from Ant by overriding the dtd location on the local repository (${JBOSS_HOME}/docs/dtd/jboss_3_0.dtd). Hope it will help, Marco Message: 5 Date: Mon, 31 Mar 2003 10:41:11 +0300 From: Alexey Yudichev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:

[JBoss-user] Is there a logger service available from Jboss?

2003-03-31 Thread Marco Tedone
Hi, I know that Jboss uses log4j; is there any service available which I could call from one of my Session Bean instead of implementing all the logger architecture [something like Log logger = (Log)context.lookUp(java:/Logger); ] Regards, Marco

[JBoss-user] TransactionImpl - XAException with Oracle Jboss RC2

2003-03-30 Thread Marco Tedone
Hi, I'm running on Jboss rc2 a session bean which simply get a Connection to Oracle via an XADatasource registered in the JNDI namespace as java:/XAOracleDS As you can see from the result (at the bottom) the Session bean gets executed (I just made an 'Hello World' a little bit more

[JBoss-user] To David Jenks - Oracle XA problems...Solved

2003-03-30 Thread Marco Tedone
Hi David, I solved the problem thanks to your suggestion and to some search on internet. Actually in the transaction-service.xml file there is the pad attribute name to set to true in order for Oracle XA to work properly. I changed it and now it works. Marco

[JBoss-user] TransactionImpl - XAException with Oracle Jboss RC2 . Re to David

2003-03-30 Thread Marco Tedone
Sorry David, I haven't said that Jboss is freezing my PC, but that the exception I got causes my PC using all its CPU (not all its RAM) and the control doesn't go back to the client. It's like Oracle, when receives the request for a connection, is looking for something which it cannot find.

[JBoss-user] Retrieving the context with an external-defined jndi.properties file

2003-03-28 Thread Marco Tedone
of your experience? Regards, Marco Tedone --- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en

[JBoss-user] RE: JBoss-user digest, Vol 1 #3996 - 11 msgs

2003-03-21 Thread Marco Tedone
--__--__-- Message: 8 Date: Fri, 21 Mar 2003 10:15:17 -0800 From: Matthew Hixson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Have you configured properly the jndi.properties file? Marco Subject: [JBoss-user] default JNDI location for entity beans Reply-To: [EMAIL PROTECTED] I have a service

[JBoss-user] jxm-console questions. Problem solved

2003-02-14 Thread Marco Tedone
problem solved! (Marco Tedone) 4. jxm-console questions (Marco Tedone) 5. RE: jxm-console questions (Pei Yeong, Cherng) 6. Re: jxm-console questions (Scott M Stark) 7. connector deployment (Gejara Kumar) 8. Re: JBoss Log4J (Rod Macpherson) --__--__-- Message: 1 From: Sonnek, Ryan

[JBoss-user] [Newbie] Oracle Datasource (Marco Tedone)

2003-02-13 Thread Marco Tedone
Title: Message Just wanted to tell that when i wrote yesterday that i solved the problem creating a new role on Tomcat it wasn't true. Since i copied again the original workbook examples, the reference to the datasource in the ejb-jar were the same as the example, that's why the example

[JBoss-user] [Newbie] Oracle Datasource

2003-02-13 Thread Marco Tedone
Title: Message To make your life simpler, use 3.2: the datasource dds are much simpler, and xa works ok. Do not use Oracle xa in 3.0, it basically doesn't work. Your previous problem was caused by not using the example from the distribution. You need to change

[JBoss-user] RE: JBoss-user digest, Vol 1 #3783 - 10 msgs

2003-02-13 Thread Marco Tedone
(Marco Tedone) To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] This is a multi-part message in MIME format. --Boundary_(ID_PaX8eJjEj4e3IQ+JwwkHzw) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT MessageMarco, you said you tried to get a non-XA working and then switched

[JBoss-user] OracleXA Datasource problems with JBoss 3.2

2003-02-13 Thread Marco Tedone
Title: OracleXA Datasource problems with JBoss 3.2 Hi, as per today morning discussion, i downloaded the version 3.2 of JBoss and i installed the oracle services as per XML instructions(i.e. configuring the url to my coordinates and inserting an application-policy element in the

[JBoss-user] XAOracle problem solved!

2003-02-13 Thread Marco Tedone
Hi all, I followed David's suggestion(i used the oracle-xa-ds instead of the service) and the database connection was simplier. My problem was due to the jboss.xml in the ex06_1 of the workbook which encoding was Cp1252 instead of UTF-8. The parser so was giving to me one error. Marco

[JBoss-user] jxm-console questions

2003-02-13 Thread Marco Tedone
Hi, due to some conflicts on port 8080, i would like to change the port for jetty(for instance on port 8787). I'm using Jboss 3.2: where should i change these values? For now i changed the values in jboss-service under /deploy/http-invoker.sar but i'm not sure, also becuase pointing the browser

[JBoss-user] [newbye]Configuring Oracle DS

2003-02-12 Thread Marco Tedone
Hi, i'm reading the workbook and trying to configure an Oracle DataSource following the spec in ExAppendixA. I created an xmlop-ora-service.xml basicly modifying the database name in titandb-service.xml Obviouvsly i missed something: the error i receive from the console is the following:

[JBoss-user] [Newbie] Oracle Datasource

2003-02-12 Thread Marco Tedone
Hi, i'm referring to my previous email when i was asking help about the Oracle Datasource. Instead of a normal connection i switched to an XA connection, following the template under %JBOSS_HOME%/docs/examples/jca. I hope to have followed all the instructions correctly and that's what i

[JBoss-user] [newbye]Configuring Oracle DS (Marco Tedone)

2003-02-12 Thread Marco Tedone
I solved the problem. After using the OracleXA driver, i still had a problem with principal=null, so my table wasn't created. The problem was caused by the fact that the security-role in the ejb.jar file was mapping to 'Employees' while in the Tomcat users there was not such a role. I defined a

[JBoss-user] Question: Properties mapping between entity beans and database?

2003-01-29 Thread Marco Tedone
Hi, I'm trying to solve the following question: Let's say that I have an object in my business domain which defines a series of get/set methods for the following properties: userName userPassword userDescription userInitialMenu Let's say that the user who install my application on Jboss is

[JBoss-user] Jboss handbooks

2003-01-21 Thread Marco Tedone
Hi, I saw that at the moment there is an handbook manual on Jboss. It's named 'JBoss 3.0 Deployment and Administration Handbook'. As Jboss is nearly to its 4.0 release and as you may know, are any other handbooks planned for the 4.0 release(I wouldn't like to waste my money)? At the moment, I'm

[JBoss-user] Jboss handbooks

2003-01-21 Thread Marco Tedone
next release. Best Regards, Bill Burke Chief Architect JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marco Tedone Sent: Tuesday, January 21, 2003 6:11 AM To: JBoss-user-list Subject: [JBoss-user

[JBoss-user] Jboss handbooks - Apologizes for Bill Burke

2003-01-21 Thread Marco Tedone
Relating to my last message I wanted to make my apologizes to Bill. Actually I downloaded the Getting Started guide from Sourceforge and from a first look it seems to me that there is everything needed for a beginner to deploy and use an EJB on Jboss. Thank you and in any case I'm looking forward

RE: [JBoss-user] Using a Bean outside from the Jboss JVM

2003-01-20 Thread Marco Tedone
Message - From: Marco Tedone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 19, 2003 4:07 PM Subject: RE: [JBoss-user] Using a Bean outside from the Jboss JVM Thank your for the code. I still get an error while doing what you suggested: NamingException

[JBoss-user] Building Jboss from the source

2003-01-20 Thread Marco Tedone
I downloaded the latest jboss-all module. When the build script is launched, I receive an error like the following: == == == Executing 'most' in module 'common'... == == configure-modules: Overriding previous definition of

RE: [JBoss-user] Building Jboss from the source

2003-01-20 Thread Marco Tedone
-archive.com to find the list of modules.. I know jboss-head is one, and maybe something like jboss-3.0 or something for the latest 3.0 code?! HTH, James -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 7:48 AM To: JBoss-user-list Subject

RE: [JBoss-user] Increase memory originally allocated to running JBoss

2003-01-20 Thread Marco Tedone
Which is the size unit of measure? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 7:20 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Increase memory originally allocated to running JBoss If you are using jboss/run/run.bat or

RE: [JBoss-user] classpath order in jboss-service.xml

2003-01-20 Thread Marco Tedone
Based on the 2.3 Servlet Specification, the web application class loader must load classes first from the WEB-INF/classes directory, then from library JARs located in the WEB-INF/lib directory -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Muruga

[JBoss-user] Deploying tools

2003-01-19 Thread Marco Tedone
Is there any tool which could help in deploying EJBs on Jboss? --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all

RE: [JBoss-user] Deploying tools

2003-01-19 Thread Marco Tedone
tools ever tried Ant ? http://jakarta.apache.org/ant Werner Marco Tedone wrote: Is there any tool which could help in deploying EJBs on Jboss? --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web

[JBoss-user] Using a Bean outside from the Jboss JVM

2003-01-19 Thread Marco Tedone
Hi, I deployed succesfully a simple session bean under the /default directory. I can't use this bean from a client not deployed with the same bean.jar. I know that when creating the InitialContext some properties shall be present. Could someone send me some code on how to use a Session bean

RE: [JBoss-user] Using a Bean outside from the Jboss JVM

2003-01-19 Thread Marco Tedone
(java.naming.factory.initial, org.jnp.interfaces.NamingContextFactory); properties.put(java.naming.provider.url, localhost:1099); properties.put(java.naming.factory.url.pkgs, org.jboss.naming); return properties; } - Original Message - From: Marco Tedone [EMAIL PROTECTED

RE: [JBoss-user] Deploying tools

2003-01-19 Thread Marco Tedone
What is it cp and mv? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Holger Baxmann Sent: Sunday, January 19, 2003 11:23 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Deploying tools cp and/or mv may be of help too ;-) bax Von: Marco Tedone