[JBoss-user] [Beginners Corner] - Access MSN Messenger from JBoss?

2005-07-21 Thread davout
Does anybody know of any libraries or services that support the idea of sending MSN Messenger messages from a JBoss session? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885983#3885983 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [HTTPD, Servlets & JSP] - How to login BEFORE accessing JAAS controlled restricted con

2005-06-23 Thread davout
have a web app running under JBoss 4.x I'm using JBoss based JAAS authentication to control access to restricted web app content. The web app is configured to use FORM based authentication. However, the default starting page of the web app is open and not subject to security constraints. On

[JBoss-user] [Security & JAAS/JBoss] - How to login before accessing restricted web app content?

2005-06-23 Thread davout
have a web app running under JBoss 4.x I'm using JBoss based JAAS authentication to control access to restricted web app content. The web app is configured to use FORM based authentication. However, the default starting page of the web app is open and not subject to security constraints. On

[JBoss-user] [Beginners Corner] - Access multiple email addresses via 'mail-service.xml' ??!?

2005-06-06 Thread davout
Is it possible to setup multiple entries in 'mail-service.xml' so that my web app can access and use multiple email addresses? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880411#3880411 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Beginners Corner] - Adding my first scheduler - problems

2005-06-02 Thread davout
I've been experimenting with my first schedulable implementation and I've hit a problem with the scheduable class implementation kicking off before my own app is fully activated. My scheduler is defined in the deployment folder 'scheduler-service-.xml' file, as... | | true |

[JBoss-user] [Beginners Corner] - web app under JBoss 4.x - how to add JNDI value?

2005-05-12 Thread davout
To run a specific web app under JBoss 4.x the install instructions state that I have to create a JNDI value. How and where do I create new JNDI values under JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877444#3877444 Reply to the post : http://www.

[JBoss-user] [Beginners Corner] - Re: Problem deploying EJB's to JBoss 4.x

2005-03-30 Thread davout
Please ignore... found the problem... the classes were not being included in the JAR file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872070#3872070 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872070

[JBoss-user] [Beginners Corner] - Problem deploying EJB's to JBoss 4.x

2005-03-30 Thread davout
I'm getting the following error on every EJB bean when i deploy my JAR file. 16:52:23,515 WARN [verifier] EJB spec violation: Bean : SubscriptionOrderLine Section: 22.2 Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's bus

[JBoss-user] [Security & JAAS/JBoss] - How to authenticate JBoss hosted web app from public web pag

2005-03-27 Thread davout
I'm deploying a web app under JBoss with the usual '' based links to a JAAS login module. However, my web app includes some web pages that are 'public' and not covered by the security constraints. On the main public page I want to include some form controls to allow for quick login. But how an

[JBoss-user] [Beginners Corner] - Re: JBoss 3.2.6 - what JAR file holds the Timer and Schedule

2005-01-26 Thread davout
Found it server/default/lib/scheduler-plugin.jar "davout" wrote : JBoss 3.2.6 - what JAR file holds the Timer and Scheduler interfaces? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863784#3863784 Reply to the post : ht

[JBoss-user] [Beginners Corner] - JBoss 3.2.6 - what JAR file holds the Timer and Scheduler in

2005-01-26 Thread davout
JBoss 3.2.6 - what JAR file holds the Timer and Scheduler interfaces? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863779#3863779 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863779 ---

[JBoss-user] [Beginners Corner] - How best to retrieve and process emails from JBoss JavaMail?

2005-01-25 Thread davout
I'm building a JBoss app that includes a business process where an email is dispatched to an external email address and later (asynchronously) a return email is expected back from the original email target. I've setup the JBoss JavaMail service so that the emails can be sent and retrieved from

[JBoss-user] [Messaging, JMS & JBossMQ] - Newbie question - JBoss Java mail link to Message bean

2005-01-24 Thread davout
Is it possible to link a Java message bean to the JBoss Javamail service configued in 'mail-service.xml'? If not, how I do setup a process that checks for incoming mail and posts an entry on the message bena queue? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [Persistence & CMP/JBoss] - Optional CMP many-to-one relationship

2005-01-09 Thread davout
If I'm creating a CMP many-to-one relationship for an entity bean and that link is optional, if the link is not active must I set a null value into the field representing the many end of the relationhip? For example, I have an Address entity bean that includes an integer 'RegionID' field. Thi

[JBoss-user] [Beginners Corner] - Old JBoss Source code --> XDoclet?!?

2005-01-04 Thread davout
Any there any tools available to convert the source code fr om an old JBoss project to automatically generate EJB related xdoclet annotations? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860545#3860545 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Beginners Corner] - Session bean design questions

2004-12-07 Thread davout
hods are possible, I'm just wondering what is the more popular? b). Declarative transactions for session bean methods Should I by default make all session bean retrieval related methods have a 'not supported' transaction setting? TIA .. davout View the original post :

[JBoss-user] [Messaging, JMS & JBossMQ] - Problem deploying JBoss3.2.6 message bean with MySQL

2004-11-25 Thread davout
I'm getting the following error on deploying a JAR that includes a message bean. I'm using JBoss3.2.6 and MySQL4.1 | 14:09:42,570 WARN [JMSContainerInvoker] JMS provider failure detected: | javax.jms.JMSException: Error creating the dlq connection: XAConnectionFactory not bound | at

[JBoss-user] [Persistence & CMP/JBoss] - Re: Phantom CMP/EQL problem with V3.2.6

2004-11-24 Thread davout
I found the problem A finder method in a completely different entity bean had a blank EQL entry. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856357#3856357 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=385635

[JBoss-user] [Persistence & CMP/JBoss] - Phantom CMP/EQL problem with V3.2.6

2004-11-24 Thread davout
I'm getting a deployment error on one of my CMP entity beans. I think the error message is reporting the wrong entity bean. The error appears to report an EQL parsing in the last deployed. Hence, if I delete the last listed entity bean and rerun the deployment it now reports the EQL parsing er

[JBoss-user] [Beginners Corner] - Re: How are you supposed to add a child entity in a CMP CMR

2004-09-16 Thread davout
Many thanks for the response... I'd sought of guessed the answer might be something like you suggested. However, this raises another problem. What if 'Entity2' has a property called 'Color' and the color entity owns a collection of Entity2 objects, like... class Entity1Bean { ejbC

[JBoss-user] [Beginners Corner] - Re: How are you supposed to add a child entity in a CMP CMR

2004-09-16 Thread davout
I'm not sure if I understand your point. The CMR based Entity1 collection of Entity2 instances doesn't appear to be updated after an Entity2 instance is separately created. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848437#3848437 Reply to the post : h

[JBoss-user] [Beginners Corner] - How are you supposed to add a child entity in a CMP CMR 1-to

2004-09-15 Thread davout
I'm a little confused about how a CMP entity bean that has 1-M relationship link to a subordinate entity should handle the creation new subordinate entity instances. For instance,... class Entity1Bean { ejbCreate() Collection getEntity2List() // returns collection of 'Entit

[JBoss-user] [Persistence & CMP/JBoss] - CMR - adding a child - how does tyhis work?

2004-09-13 Thread davout
I'm a little confused about how a CMP entity bean that has 1-M relationship link to a subordinate entity should handle the creation new subordinate entity instances. For instance,... class Entity1Bean { ejbCreate() Collection getEntity2List() // returns collection of 'Entit

[JBoss-user] [Persistence & CMP/JBoss] - CMP relationships and deleting links

2004-06-09 Thread davout
I have a question about how to manage the deletion of a link entry between two entity beans without deleting the 2nd entity. For example I have two entity beans - the first called 'Requirement' the second called 'UseCase'. A third entity bean called 'RequirementUseCaseLink' acts as a link betwee

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread davout
Found the answer... The 'mysql-jdbc2-service.xml' file had to be changed to use the 'DefaultDS' name within the mbean definition. Seems to me that JBoss would be best advised to create a set of XML config files for each RDBMS already defined for use as 'DefaultDS'. Then have a batch file that

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread davout
I following the previous correspondents instruction and copied the file 'mysql-jdbc2-service.xml' into the 'deploy/jms' folder (and removed the equivalent hsql file). This seems to have cured the first problem. I now get the following (error?) messages at the end of the JBoss start up sequence

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread davout
>From a support perspective it may be tedious answering the same questions time after >time, but to stop this you have to expose the answers in a fashion where they may be >easily located. I've looked at both FAQ and the WIKI - and have even run a search - and can find no specific step by step

[JBoss-user] [Installation & Configuration] - Problem using MySQL as DefaultDS

2004-05-27 Thread davout
I'm trying to adapt my JBoss3.2.3 to use MySQL V4.0.16 as the default data source. However, when I run JBoss I get the following errors... | | 13:56:48,522 INFO [TxConnectionManager] Started jboss.jca:service=TxCM,name=JmsXA | | 13:56:48,532 INFO [DefaultDS] Bound connection factory

[JBoss-user] [Beginners Corner] - How to define timeout on remote calls to JBoss?

2004-05-26 Thread davout
A newbie question... I'm building a combined Struts + JBoss application. To aide development I want to split the process load so that the Struts app runs on one machine and the JBoss tier runs on a second. I've setup the JNDI params so this works, however I've noticed that on certain calls whe

[JBoss-user] [Persistence & CMP/JBoss] - Re: How to delete child entities only from a one-to-many CMR

2004-04-19 Thread davout
That's solved it! Many thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831486#3831486 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831486 --- This SF.Net em

[JBoss-user] [Persistence & CMP/JBoss] - Re: How to delete child entities only from a one-to-many CMR

2004-04-19 Thread davout
This is the log output created by one of the '.remove(aLink)' calls. The [STDOUT] lines are the before and after System.out lines insertd by me within the method code. | 2004-04-19 20:07:34,943 INFO [STDOUT] Deleting [4/3] | | 2004-04-19 20:07:34,943 TRACE [org.jboss.ejb.plugins.ProxyF

[JBoss-user] [Persistence & CMP/JBoss] - Re: How to delete child entities only from a one-to-many CMR

2004-04-19 Thread davout
How do you switch on debugging for the CMP stuff? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831466#3831466 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831466 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: How to delete child entities only from a one-to-many CMR

2004-04-19 Thread davout
Some more info... After running the delete method call the first time my System.out messages show a collection size of '2' at the start and '0' at the finish. If I run the same delete method call a second time the collection size is'2' - so obviously something isn't executing the first time ro

[JBoss-user] [Persistence & CMP/JBoss] - Re: How to delete child entities only from a one-to-many CMR

2004-04-19 Thread davout
Thanks for the code pointer... Unfortunately the records are not being deleted from the MySQL table. After I run the code and use a DB tool to view the table data the records are still there. I checked the EJB code by having 'System.out' messages display the before and after state of the collec

[JBoss-user] [Persistence & CMP/JBoss] - How to delete child entities only from a one-to-many CMR rel

2004-04-19 Thread davout
Can somebody explain with a code example how to delete all the child entities of a CMR one-to-many relationship without deleting the parent? For example: a 'Pupil' entity is associated with one or more 'subject' entities. I have a 'Pupil' entity bean, 'Subject' entity bean and a linking 'PupilS

[JBoss-user] [Beginners Corner] - How to delete CMR child entities??

2004-04-19 Thread davout
Can somebody explain with a code example how to delete all the child entities of a CMR one-to-many relationship without deleting the parent? For example: a 'Pupil' entity is associated with one or more 'subject' entities. I have a 'Pupil' entity bean, 'Subject' entity bean and a linking 'PupilSu

[JBoss-user] [Beginners Corner] - CMR parent-child : Delete followed by add fails?

2004-04-18 Thread davout
I have a problem trying to delete and then add new entities all in one call. The situation is something like the following... A 'Pupil' entity is associated with one or more 'subject' entities. I have a 'Pupil' entity bean, 'Subject' entity bean and a linking 'PupilSubjectLink' entity bean. Thi

[JBoss-user] [Beginners Corner] - Re: Deleting child entries in a one-to-many relationship

2004-04-18 Thread davout
You mean like... aParent.getChildren().clear(); ... or what? I've tried that and the child DB entries are not deleted. "triathlon98" wrote : You just have to remove the items from the collection. This will remove the link at the DB level. However, this will probably generate one SQL sta

[JBoss-user] [Beginners Corner] - Deleting child entries in a one-to-many relationship

2004-04-18 Thread davout
In situation where a parent entity has a one-to-many CMP/CMR relationship to a child entity, is there a quick way to delete all child entity data instances without deleting the parent entity? I thought I read somewhere that you could use the parent entity field representing the child entity con

[JBoss-user] [Security & JAAS/JBoss] - Re: bean method parameters used in permission checks?

2004-03-22 Thread davout
I sort of assumed straight off that the standard EJB role based declarative permission design wouldn't be able to handle this. But given what this business problem is hardly unique, I was wondering whether there was a library/module out there that would tackle this??!!?? http://www.jboss.org/in

[JBoss-user] [Security & JAAS/JBoss] - bean method parameters used in permission checks?

2004-03-22 Thread davout
I'm building my first EJB system and have a question about how permissions may be applied to bean methods where the data parameters passed to the method need to be part of the permission check. Take an example of where I have a session bean that supports the maintenance of currencies and curren

[JBoss-user] [Beginners Corner] - JBoss 3.x with MySQL and date fields as Long/Integer?

2004-03-17 Thread davout
I'm using EJB CMP in my first JBoss project against a MySQL database. As standard EQL cannot employ DATE types as part of its query am I right in thinking that I should be storing my dates as Long values? that way I use standard numeric operands to enable EQL retrievals, right? I can use the '

[JBoss-user] [Beginners Corner] - Caching entity bean local home instance

2004-03-05 Thread davout
I've seen a number of articles where a facade session bean caches an instance of an entity bean local home interface in a session bean field. Where a entity bean local home interface instance is required in multiple situations is it valid to create a separate singleton class that acts much like

[JBoss-user] [Beginners Corner] - Re: Need to use SQL in app that is using CMP

2004-03-03 Thread davout
In the code example... DataSource ds = (DataSource)initial.lookup("Name-in-ds.xml"); ... do you mean "DefaultDS" for "Name-in-ds.xml"? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824053#3824053";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=rep

[JBoss-user] [Beginners Corner] - Need to use SQL in app that is using CMP

2004-03-03 Thread davout
I'm building my first JBoss app... it uses a mix of session and CMP based entity beans. Until now CMP has been fine for handling entity level CRUD operations, but now I need to add a flexible query facility that EQL can't really handle (i.e. dynamic WHERE clause building at run time). I'm presu

[JBoss-user] [Persistence & CMP/JBoss] - How to design for virtual CMP data links?

2004-03-01 Thread davout
I'm building an EJB based software app that is using CMP. I'm trying to make the design virtual so that the product can compliment existing data systems. For instance, the design includes a 'Customer' entity. As it stands now I have a 'CustomerManager' stateless session bean that acts as a fac