[JBoss-user] [Beginners Corner] - Re: Sending e-mail from web apps?

2004-12-18 Thread infectedrhythms
Cool! It's true java mail can bind to jndi! Doh! :P Commons mail, just offers some helper to create attachements, or html formatted e-mail etc... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859173#3859173 Reply to the post : http://www.jboss.org/index.ht

[JBoss-user] [Security & JAAS/JBoss] - Does unauthenticated principal work with Timer service?

2004-12-18 Thread Bigdaddy
JBoss: 4.0.1RC2 Java: 1.4.2_04 Ok, I have put my EJB jar under a security realm within JBoss and I can access everything as expected using declarative security within my ejb-jar.xml. Next, I decided to add another stateless session bean to utilize the Timer service and I am able to invoke it

[JBoss-user] [Messaging, JMS & JBossMQ] - Where is my TopicConnectoinFactory?

2004-12-18 Thread gberish
I am lost in an example in O'Reilly's Enterprise Beans text (In JMS messages). I wrote a simple java remote client tofigure out how to publish a message to a Topic. The code and its output are posted below. Can anyone help me with 2 questions? (other gratuitous pointers are also most welcome):

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-18 Thread [EMAIL PROTECTED]
The new advanced training does, to the extent that is feasable to present in a four days training that has to cover everything in JBoss. http://www.jboss.com/services/training/courses#Advanced However if you intend to extend functionality, looking at the source code and a debugger are usually

[JBoss-user] [HTTPD, Servlets & JSP] - Welcome page is not automatically found

2004-12-18 Thread treespace
Deployed webapp with / as the context-root in jboss-web.xml. The welcome file in web-xml is login.jsp however if fails to load unless entered explicitly: This works: http://host/login.jsp This brings up the Welcome to JBoss page: http://host/ Version of JBoss: 3.2.6 View the original p

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-18 Thread Thoennes
Adrian wrote : | If you are interested in helping the community there is an outstanding | task to improve this whole area. | | See the following link and the related forum post: | http://jira.jboss.com/jira/browse/JBMQ-10 | Nice point. But I would to have at least a basic introducti

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-18 Thread Thoennes
Dear Adrian, one last post about this topic, you are not expected to answer this. Perhaps it is resolved easier if we meet at a JBoss event (training etc.) some day. Adrian wrote : | Asking people to look at dead code (3.2.3 is over a year old) | is not only a waste of their time it has an

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: [JMSContainerInvoker] JMS provider failure detected:

2004-12-18 Thread craig1980
Hi; first of all thanks for your replay. I'll post the entire stacktrace on Monday since now i'm not at office. I think to post it at about 11.00 a.m. Italian Time (now it's 8.15 p.m...). Thanks again, bye View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859163

[JBoss-user] [Persistence & CMP/JBoss] - Re: Optimistic Locking and Transaction Setup

2004-12-18 Thread ppetrou
Here is some code to make my enquiry more clear. The version_lock optimistic strategy in JBoss 4.0.0 has been setup correctly as the version_lock field autoincrements after every commit. Both the session bean and the entity bean are marked as Required in the ejb-jar.xml. My main question is if t

[JBoss-user] [Persistence & CMP/JBoss] - Re: Transactions

2004-12-18 Thread ChatBuilder
I use the usertransaction for CMP entity beans, and I must say it really works... I have also readed on the internet that userTransactions are only for session beans. So I don't have a clue why it works with me. below the code of my action, of my struts application | | public ActionForwa

[JBoss-user] [Installation & Configuration] - Re: Can I configure a global jndi environment entry in JBoss

2004-12-18 Thread [EMAIL PROTECTED]
Try setting the context-param in the DefaultContext of the jbossweb-tomcat50.sar/server.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859154#3859154 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859154

[JBoss-user] [Installation & Configuration] - Re: build on jboss4.0.0 with jdk 1.5.0

2004-12-18 Thread [EMAIL PROTECTED]
You need a latter source release like 4.0.1RC2 as 4.0.0 will not build under java5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859153#3859153 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859153

[JBoss-user] [Beginners Corner] - Re: Sending e-mail from web apps?

2004-12-18 Thread [EMAIL PROTECTED]
The current mail service just binds a javamail session into jndi for use so you'll have to use the javamail apis regardless. I know nothing about commons mail. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859152#3859152 Reply to the post : http://www.jbos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: [JMSContainerInvoker] JMS provider failure detected:

2004-12-18 Thread [EMAIL PROTECTED]
Its possible there is some serialzation incompatibility causing the problem between the two versions. I would need to see the real exception that caused the JMSException. Its not shown in this stacktrace. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859151#

[JBoss-user] [Clustering/JBoss] - Re: XAConnectionFactory not bound

2004-12-18 Thread [EMAIL PROTECTED]
No exceptions + No configuration == No answers. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859149#3859149 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859149 -

[JBoss-user] [Beginners Corner] - Sending e-mail from web apps?

2004-12-18 Thread infectedrhythms
Can i use the JBoss mail service to send e-mails? Or do I have to import the javax.mail and jakarta commons mail packages to send e-mails from my web app? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859148#3859148 Reply to the post : http://www.jboss.org

[JBoss-user] [Clustering/JBoss] - Re: XAConnectionFactory not bound

2004-12-18 Thread chrisdutz
Ok ... here once again ... I am using JBoss 4.0.0 and when using the all-config for seting up a cluster everything seems to work fine. As soon as the 3rd, and every node after that, I get XAConnectionFactory not bound (and "queue not bound", but I think they are very closely realted). The error

[JBoss-user] [EJB/JBoss] - Re: Best practice for sharing a data structure through JNDI

2004-12-18 Thread [EMAIL PROTECTED]
Yes, it sounds like JBossCache is what you should be looking at. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859146#3859146 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859146

[JBoss-user] [EJB/JBoss] - Re: Hotdeploy with Pojos and EJBs

2004-12-18 Thread [EMAIL PROTECTED]
Class loading errors depend on the usage pattern. Read about class loading in chapter 2 of the online admin/devel guide. Then read the class loading wiki pages. http://www.jboss.org/docs/index http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://www.jboss.org/wiki/Wiki.jsp?pa

[JBoss-user] [Messaging, JMS & JBossMQ] - Topics unavailable after DS deconnection

2004-12-18 Thread ionel
Hi, Here is my problem : I have a few topics which authentication and messages persistancy is done thru a Postgres DB connection. PostgresDS deployment and topics deployment depends on each other. Yesterday, the DB connection dropped because of a wild DB restart. When the DB was up again, the

[JBoss-user] [Beginners Corner] - Re: Please help with ZEN of Jboss for dedicated newbie/stude

2004-12-18 Thread [EMAIL PROTECTED]
Remove the jbossweb-tomcat50.sar/ROOT.war or secure it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859143#3859143 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859143 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP transaction

2004-12-18 Thread [EMAIL PROTECTED]
The transaction propagates depending on the tags of all the methods involved. The default of Required does propagate the transaction. Throwing a checked exception does not rollback the transaction so if that is the behavior your looking for use the setRollbackOnly method on the ejb context befor

[JBoss-user] [HTTPD, Servlets & JSP] - Re: HTTP Status 408The time allowed for the login process ha

2004-12-18 Thread [EMAIL PROTECTED]
That is the expected behavior. The form login has to complete within a reasonable time for the session to be valid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859141#3859141 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Installation & Configuration] - Re: Please help me find where error is coming from

2004-12-18 Thread [EMAIL PROTECTED]
We don't have much experience with the installer so far, so I'll I can say is that this looks like a previous installation is corrupted and is causing this error. Try uninstalling/removing all files and rerunning the install. View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Messaging, JMS & JBossMQ] - [JMSContainerInvoker] JMS provider failure detected:

2004-12-18 Thread craig1980
Hi all; i have a MDB that is listening on a remote topic. Well... by using a WinXP pc with JBoss 3.2.5 and a linux Red-Hat Advanced Server with JBoss 3.2.5 all works... now i must migrate from Windows to another linux pc where there is JBoss 3.2.6... well i have configured everything and i have

[JBoss-user] [EJB/JBoss] - ClassCastException

2004-12-18 Thread naveen
I have written a simple CMP Entity Bean,While Running the Client I am getting the Exception,I have included all jars needed. i am in start err in StudentHomejava.lang.ClassCastException i am in end my client code is import javax.ejb.*; import javax.naming.*; import java.rmi.*; import javax.

[JBoss-user] [Beginners Corner] - Configuration problem with JBoss 4 Getting Started Guide

2004-12-18 Thread [EMAIL PROTECTED]
If I edit the hsqldb-ds.xml file as described in section 4.1.7.1 of the getting started guide then I get a number of problems, including: - Start-up errors which imply that Hypersonic is not installed - XAConnectionFactory errors when I try to run any JMS code Please let me know what I should do

[JBoss-user] [EJB/JBoss] - Hotdeploy with Pojos and EJBs

2004-12-18 Thread mouanssir
I have an EJB, let's call it UserEJB, lets say that it is a SLSB which returns User information. In this EJB I have a method, let's call it getUserLastName(int userID). Within this method I instantiate a POJO which fills information from a DB table. The user last name is retrieved from the POJO

[JBoss-user] [Installation & Configuration] - Problem in deployment of an EJB Component in 3.2.6

2004-12-18 Thread vsenthilcbe
anybody can help me to sort out the below problem in jboss 3.2.6 i deployed an EJB component in deploy folder it gives the following error 2004-12-18 15:15:33,710 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/D:/jboss-3.2.6/server/default/tmp/deploy/tmp20455ent.ea

[JBoss-user] [Installation & Configuration] - Please help me find where error is coming from

2004-12-18 Thread repkin
when I click setupwin32.exe a little time later this problem is coming. what is the problem, please help me. [img]http://www.repkin.com/problem.gif[/img] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859132#3859132 Reply to the post : http://www.jboss.org/i

[JBoss-user] [Performance Tuning] - Jboss Scanner Thread high CPU usage waiting on condition

2004-12-18 Thread davidwang
I am using 3.2.3 on Linux (RedHat Advanced Server 2.1). After a few hours of running, the thread keep using a lot of CPU, constantly at 90%+. Then a few hours later, the VM Periodic Thread also shows 90% constantly. The system is light weighted. The stack traces shows that Scanner thread is e

[JBoss-user] [Beginners Corner] - (setup problem) WARNING: cannot instantiate string resolver

2004-12-18 Thread repkin
I have winxp, j2sdk1.4.2_05 and I have downloaded setupwin32.exe (4.0). when I try to setup after this warning is coming WARNING: cannot instantiate string resolver method com.instalshield.database.iSSqlexception:

[JBoss-user] [Security & JAAS/JBoss] - HTTP Status 408The time allowed for the login process has be

2004-12-18 Thread blueeinstein
Getting the following error message: | HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser | | -