[JBoss-user] [Persistence CMP/JBoss] - Re: Bulk deletion of CMP Entity bean

2004-06-15 Thread loubyansky
Keep in mind that with SQL DELETE you could remove some instances that are enlisted in current transactions and these transactions will fail to commit. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838737#3838737 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Deleting a row in cmr entity bean

2004-06-15 Thread akhilanand
hi cuoz, thanks for that, it worked and we have to embed that within try-catch block as it throws RemoveExcpetion. regards Akhil View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838665#3838665 Reply to the post :

RE: [JBoss-user] Ordering CMR results - best practice ?

2004-06-15 Thread Alexey Loubyansky
No, there is not. You should order them yourself. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Richarz Sent: Monday, June 14, 2004 1:52 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Ordering CMR results - best practice ? Hello *,

[JBoss-user] [Persistence CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-15 Thread loubyansky
In jboss.xml | entity | ejb-nameMyBean/ejb-name | configuration-nameInstance Per Transaction CMP 2.x EntityBean/configuration-name | /entity | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838739#3838739 Reply to the

[JBoss-user] [Persistence CMP/JBoss] - Re: Method is not a known CMP field accessor, CMR field acce

2004-06-15 Thread vasudevk
3.2.4 fixed it - Thanks There is still one problem . The Value Object code generated by xdoclet has a rentrant method detected error when setting the parent. If i set the reentrant = true then the server is in infinite loop View the original post :

[JBoss-user] [HTTPD, Servlets JSP] - How to integrate Apache and JBoss

2004-06-15 Thread JJman
Do I need to use that mod_jk2? Can I there also define, which ports are used, I mean can I change default port 8080 to for example 80? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838741#3838741 Reply to the post :

[JBoss-user] [Beginners Corner] - [jbossweb] java.lang.StackOverflowError

2004-06-15 Thread sarjmandi
hi all, I am developing JSP custom tags, wrapping them into a war file and deploying it into default folder of Jboss and run the server. Annoyingly for some reason i get [jbossweb] java.lang.StackOverflowError error which I don't know why!? strange cause I don't get any stack trace for the

[JBoss-user] [Persistence CMP/JBoss] - Two questions concerning what I see in my JBoss log.

2004-06-15 Thread bentins
1. a general question, I see throughout the log the following line, what does it mean? 2004-06-15 10:08:32,491 21130 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] (main:) No persistence-manager descriptor found, null persistence will be used 2. I have an application with about 30 entity

[JBoss-user] [Management, JMX/JBoss] - Forcing XMBeans to update their persistant attributes?

2004-06-15 Thread chrisdutz
Hi, is there a way to tell the MBean server to store changes in an attributes value. Since a dom4j document seems not to be serializable I am using a get/setDocumentAsText method for persistance of the xml-document. In my application I only use get/setDocument. the document attribute is not

[JBoss-user] [Advanced Documentation] - Books, not PDF docs

2004-06-15 Thread tokobayashi
I'm searching for books about JBoss internals. I've already subscribed AdminDevel docs(PDF). But does anyone know a suitable book for understanding JBoss internals? (containing class-diagrams, architecture-view, ...)

[JBoss-user] [J2EE Design Patterns] - Datasource ana datasourcemapping for Firebird

2004-06-15 Thread bobo
Can somebody tell me what is my and for JBOSS 3.2.3 and Firebird 1.5.For example for mysql is java:/mysqlDS and MySQL I need true answer not maybe answers Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838746#3838746 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-15 Thread bentins
I used Instance Per Transaction on the beans involved in the transaction. I still get this dead lock, however a new message appears: 2004-06-15 11:17:19,195 222991 WARN [org.jboss.ejb.plugins.PerTxEntityInstanceCache] (http-0.0.0.0-8080-Processor20:) Unable to passivate due to ctx lock, id=37

[JBoss-user] [J2EE Design Patterns] - Re: Datasource ana datasourcemapping for Firebird

2004-06-15 Thread darranl
That isn't really a design pattern question, try the beginners corner. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838749#3838749 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838749

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS Client not able to pull any messages from the Queue

2004-06-15 Thread dannyyates
Have you read the JMS spec? Have you read about delivery modes? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838750#3838750 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838750

[JBoss-user] [Persistence CMP/JBoss] - Re: Instance Per Transaction and Commit Option A

2004-06-15 Thread loubyansky
Commit option C is the only one that should be used with Instance Per Transaction. There is a new persistence manager in 3.2.4 in org.jboss.ejb.plugins.cmp.jdbc2 package which is based on Instance Per Transaction and second level cross-transaction cache, i.e. something like commit option A and

[JBoss-user] [Management, JMX/JBoss] - Treeview closing on web-console

2004-06-15 Thread DaveyS
On 3.2.4, if I browse to the web console and open up the System node in the tree view and then open up the JMX MBeans node, I see everything as expected. Occasionally after about 5 seconds or so, the whole tree view closes down so all I can see is the top level nodes (Monitors, J2EE Domains,

[JBoss-user] [Management, JMX/JBoss] - Re: Forcing XMBeans to update their persistant attributes?

2004-06-15 Thread raja05
What you can do is create a NotificationEvent from setDocument and make ur MBean Capture that event. Your Mbean Event capture code can then update the documentAsText Field which will be the new value!! View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: What's the difference between MBean and RMI service?

2004-06-15 Thread raja05
A Primary Difference between RMI and Mbeans is that all invocations for MBeans go through an agent., So the client and the final MBean have no interaction. You can change either ends(Client and the MBean at will). RMI is strictly bound by a contract . Also you have the overhead of creating ur

[JBoss-user] [Management, JMX/JBoss] - Re: How to get access to the MainDeployer from outside of JB

2004-06-15 Thread raja05
Use RMIAdaptor and get the MBeanServerImplementation. after that you can call any method on any object name. Search for RMIAdaptor in this forum. You should find a lot of references View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838756#3838756 Reply to the

[JBoss-user] [Beginners Corner] - Jboss hangs when I deploy a war

2004-06-15 Thread neva
Hello All, I tried to deploy an ear file containing a war inside it. When I deploy it into jboss, I get no errors but Jboss stops and doesn't give me the: [Server] JBoss (MX MicroKernel) [3.2.4 (build: CVSTag.etc when I tried to work with the application, it worked fine so I ignored the

[JBoss-user] [Persistence CMP/JBoss] - Re: Error while adding foreign key constraint

2004-06-15 Thread bartvh
Just a side note: to find out why foreign key constraint fails under MySQL with INNODB tables, use SHOW INNODB STATUS You will have to be a superuser on the mysql server to execute the command. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838758#3838758

[JBoss-user] [Security JAAS/JBoss] - JbossSecurityMgrRealm problem in Jboss 3.2.4-tomcat 5.0.26

2004-06-15 Thread tfk257
I have Jboss 3.2.4-tomcat 5.0.26 I am trying to secure my web app with CLIENT-CERT. The problem is that JbossSecurityMgrRealm is the default security manager realm in the embeded tomcat and it cannot be overriden. It creates the principal of type sun.security.X509.X500Name type. This type is

[JBoss-user] [Installation Configuration] - Re: When will JBoss 4 be released for production environment

2004-06-15 Thread stefanfreyr
This issue with JSP compilation... does anyone know what that is? We got JBoss/Tomcat 3.2.3 to work with JDK 1.5 by removing the management package from rt.jar. Then we noticed the problem with running the web console. At that point we switched to JBoss/Jetty 3.2.3 and then everything

[JBoss-user] [EJB/JBoss] - Re: how can I keep a kind of

2004-06-15 Thread jamesstrachan
David, I would suggest that you use an Entity Bean that contains the contents of the view. The Entity Bean should have an artificial key, as shown below, so that one and only one instance ever exists. /** * This static string will be used to define the key for the Singleton Role Set.

[JBoss-user] [EJB/JBoss] - Re: jndi lookup/referencing question

2004-06-15 Thread jamesstrachan
Nano, I have just had to deal with a very similar problem in another application server. I would suspect that your home reference, which you get as you initialise the servlet, contains internal information which becomes out of date when your colleague does a hot deploy. This will then lead to

[JBoss-user] [J2EE Design Patterns] - Data Transfer Object // WebServices

2004-06-15 Thread mzint
Hi there, maybe someone can give me an opinion on this: I'm using WebServices to transfer data in form of a Data Transfer Object between a .NET client and JBoss. How can I make sure that the data doesn't get stale, when multiple clients access the same data at the same time? I've read some

[JBoss-user] [HTTPD, Servlets JSP] - Servlet depends on Service (MQ) - how to set start order ?

2004-06-15 Thread indigo
Hi, I have a servlet that in its init() method requires access to MQ (it logs audit information). The servlet loads on startup, and is unable to obtain a reference to the ConnectionFactory in JBossMQ because the MQ service has not yet started. Is there some way I can make the servlet/war/EAR

[JBoss-user] [Persistence CMP/JBoss] - one servlet for 2 Ejb(CMP)

2004-06-15 Thread madadi
hai .. i created a registrationform(which contains personal and specific data) where user can enter data and that data should store in mysql database which contains 2 tables. one table contains personal_data other is specific_data. i have tried with one table and one CMP it works .but with

[JBoss-user] [Management, JMX/JBoss] - IntrospectionException for method int[] getxy()

2004-06-15 Thread microbiotic
Hi, I'm making my first steps in JMX and got an IntrospectionException for a method which returns an int array. The method signature is: | /** |* @return Array of the message ids. |* |* @jmx.managed-operation impact = INFO description=Returns an array |* which

[JBoss-user] [Persistence CMP/JBoss] - problem with auto-increment field and CMP bean

2004-06-15 Thread nacho2004
I want to know if I can work with auto-increment with CMP beans. I have a table with 2 fields: id (identity) dbPass dbUrl dbUser dbDriver dbName and when I use a create() method ECollections collHome = collectionHome.create(dbPass,dbUrl,dbUser,dbDriver,dbName); , the console display this

[JBoss-user] [Beginners Corner] - Re: Global JNDI resources/environment entry: How to make thi

2004-06-15 Thread rollatwork
Is this an absurd request? We'd just like to know if it is possible to put information in some descriptor that would provide resources or environment entries globally, rather than on a per bean basis. View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-15 Thread bentins
I have turned on the instance per transaction on userLocal, I have also turned on the trace: Here is a partial log. 2004-06-15 15:04:58,566 204304 INFO [STDOUT] (http-0.0.0.0-8080-Processor25:) 15/06/2004 15:04:58 com.matrix.framework.ip.controller.UserController getSingleNotByPrimaryKey |

[JBoss-user] [Persistence CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-15 Thread bentins
Here is the class header definition for xDoclet I'm using: /** | * @ejb.bean name=User | * view-type = local | * jndi-name=User | * type=CMP | * primkey-field=id | * schema=User | * cmp-version=2.x | * | * @ejb.transaction type = Required | * | *

[JBoss-user] [Management, JMX/JBoss] - More info:

2004-06-15 Thread jmeier
It appears that the UnifiedLoaderRepository3 being passed in to beginLoadTask is null, and that the class that it is trying to load is java.text.ParseException in one situation, and java.awt.color.ColorSpace in another. View the original post :

[JBoss-user] [Installation Configuration] - Re: Failures in the 3.2.4 distribution

2004-06-15 Thread [EMAIL PROTECTED]
2, 3, 5 are known issues. 1 and 4 I have I don't see when running on an xp box with sun jdk 1.4.2_04-b05. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838776#3838776 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838776

[JBoss-user] [Installation Configuration] - Can I change HTTP port?

2004-06-15 Thread JJman
CAn I do that without Apache used as a front end? I mean can I change port without mod_jk2? Do I need yto do changes to jboss-service.xml or what? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838778#3838778 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: NPE in beginLoadTask when redeploying ear on 3.2.4

2004-06-15 Thread [EMAIL PROTECTED]
This happens when a class loader from the previous deployment is used. Its loader repository has been cleared and any attempt to use that class loader results in an NPE. If you have a testcase open a bug report on sourceforge so I can see if its a jboss issue. View the original post :

[JBoss-user] [Beginners Corner] - Re: Global JNDI resources/environment entry: How to make thi

2004-06-15 Thread [EMAIL PROTECTED]
There is no descriptor for this. Create your own mbean service that configures bindings in jndi. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838780#3838780 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838780

[JBoss-user] [Installation Configuration] - Re: Can I change HTTP port?

2004-06-15 Thread darranl
Yes you can change the port to be something different to 8080. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838781#3838781 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838781

[JBoss-user] [The Lizzard's corner] - Re: CVS Repository Structure

2004-06-15 Thread jae77
i did this (well, as close to it as i could come w/o creating a new repository) for the day job. it's worked out very well. everything is very organized and easy to find. i even took some ideas from the build process as well. there are a ton of goodies in buildmagic! View the original post :

[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-15 Thread jae77
http://www.jboss.org/wiki/Wiki.jsp?page=HotDeployClassCastExceptions (this would (should) have come up in a search of the forums). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838784#3838784 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Method is not a known CMP field accessor, CMR field acce

2004-06-15 Thread cuoz
I had the same issue when I converted my code from the old data-object to value-objects. The only way I found around this was to make 2 value objects for each bean. One that is a complete object and contains the relationships to other beans. Another that is a relation object that has only

[JBoss-user] [HTTPD, Servlets JSP] - Re: How to integrate Apache and JBoss

2004-06-15 Thread cuoz
The only issue with that (at least on Unix systems) is that port 80 is a priviledged port and you would have to run JBoss at root. On linux (or other systems that have built-in IP filtering) you can port forward from port 80 to port 8080 and not have to run JBoss as root. gary. View the

[JBoss-user] [Management, JMX/JBoss] - Re: IntrospectionException for method int[] getxy()

2004-06-15 Thread [EMAIL PROTECTED]
Try using the [I form for int[]. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838786#3838786 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838786 --- This SF.Net

[JBoss-user] [Installation Configuration] - Re: Can I change HTTP port?

2004-06-15 Thread JJman
Where and how I define that? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838787#3838787 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838787 --- This SF.Net email is

[JBoss-user] [EJB/JBoss] - Re: how can i make an EJB be deployed first

2004-06-15 Thread jae77
couldn't you specify the ejb dependency in the jboss-web.xml contained in the war using the depends tag? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838788#3838788 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838788

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS Authentication and JAAS

2004-06-15 Thread [EMAIL PROTECTED]
Configure the jms security domain to use the org.jboss.resource.security.CallerIdentityLoginModule to use the ejb credentials. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838789#3838789 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: How to bind an MBean to JNDI, then access from within ap

2004-06-15 Thread maroni
Hi James, Thats exactly what I did, and I can see my service bound to JNDI in the JMX console, my client can fetch the service from JNDI, but then... The lookup is successful, no exception is thrown, but how can you invoke now methods on your mbean?? Because in my code, userManager is null.

[JBoss-user] Jboss.org down ?

2004-06-15 Thread Sebastian Hauer
Hi, Is jboss.org down? I can get to jboss.com but no luck accessing jboss.org from NYC. Nslookup resolves jboss.org as 216.83.160.154 is this right? Regards, Sebastian ___ This message is for the named recipient's use only. It may contain

RE: [JBoss-user] Jboss.org down ?

2004-06-15 Thread Scott M Stark
Its up, but your dns resolution is invalid. Both jboss.com and jboss.org currently point to 216.83.187.151 Scott Stark Chief Technology Officer JBoss Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

[JBoss-user] [Management, JMX/JBoss] - Re: IntrospectionException for method int[] getxy()

2004-06-15 Thread microbiotic
k, using [I as return type works. Thanks for the hint. XDoclet does it right when declaring the method as a managed attribute. But now I get [EMAIL PROTECTED] as result. Declaring the method as an managed-attribute outputs each int value in the array. Could this behavior be changed? Thanks,

[JBoss-user] [Security JAAS/JBoss] - Re: Configuring a non trusted datasource

2004-06-15 Thread [EMAIL PROTECTED]
This is not much clearer. There is really no such thing as 'logged into the app server'. A thread either has a security context or it does not. There are many threads, not all of which are tied to user initiated activity. When a thread attempts to access a datasource its security context is

[JBoss-user] [Management, JMX/JBoss] - Re: IntrospectionException for method int[] getxy()

2004-06-15 Thread [EMAIL PROTECTED]
Talk to the xdoclet team, I don't use it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838793#3838793 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838793 --- This

[JBoss-user] [Clustering/JBoss] - JBoss 3.2.2 Clustering Issues After Servers are Running for

2004-06-15 Thread rcostanzo
I am running JBoss 3.2.2 in production. Our system processes hundreds of thousands transactions a day. We are using clustering with cache invalidation with 3 instances across 3 machines. In general, everything works great. However, every other week or so, I will see the system hang, with errors

[JBoss-user] [EJB/JBoss] - EJB 1-N Relationships

2004-06-15 Thread sbocquet
Hi, I have an 1-N relationship between 2 CMP EJBs, Matches and Leagues, which is set correctly (XDoclet generated). A league can have several matches, and a match can only have one league. I'm trying to retrieve the league name, which is a league EJB field, while I'm listing every matches.

[JBoss-user] [Security JAAS/JBoss] - Re: using DatabaseLoginModule, no matter what i put in for a

2004-06-15 Thread [EMAIL PROTECTED]
Turn on TRACE level logging on the org.jboss.security category in log4j.xml: |category name=org.jboss.security | priority value=TRACE class=org.jboss.logging.XLevel/ |/category | View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: HTTP Status 400 - Invalid direct reference to form login

2004-06-15 Thread [EMAIL PROTECTED]
The j_security_check target is not usable as a target url. Its only to be used by the web container when someone accesses secure content that is protected using FORM authentication. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838798#3838798 Reply to the

[JBoss-user] [Security JAAS/JBoss] - Re: (Jboss)Container managed user authentication, and reacqu

2004-06-15 Thread [EMAIL PROTECTED]
request.getUserPrincipal().getName() returns the name of the authenticated user. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838799#3838799 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838799

[JBoss-user] [Security JAAS/JBoss] - Re: Roles Update Problem

2004-06-15 Thread NOD
Thank you for the hints. Flushing the JAASSecurityManger's cache does it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838800#3838800 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838800

[JBoss-user] [Persistence CMP/JBoss] - Re: Memory Size of cache

2004-06-15 Thread sanne
Hi Tom, Thanks, my client is running 3.2.1, but I'll have a look at 3.2.3. Seems un-intuitive not to have this info. Groetjes, Sanne View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838801#3838801 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: Getting Callback Handler from LoginModule

2004-06-15 Thread [EMAIL PROTECTED]
This is on the server side? It makes little sense in general to have a server side callback handler attempt to interact with a user input which is why the default CallbackHandler does not deal with TextInputCallbacks. You can change the CallbackHandler used by jboss by setting the

[JBoss-user] [Security JAAS/JBoss] - Re: Null CachePolicy

2004-06-15 Thread [EMAIL PROTECTED]
No, the JaasSecurityManager does not accept a null cache. You either need a noop cache impl or subclass JaasSecurityManager to deal with this. What is the JaasSecurityDomain that is producing a null cache? View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: Custom Princpal Class

2004-06-15 Thread [EMAIL PROTECTED]
3.2.4+ supports this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838805#3838805 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838805 --- This SF.Net email is

[JBoss-user] [Security JAAS/JBoss] - Re: org.jboss.security.ignoreHttpsHost property fails becaus

2004-06-15 Thread [EMAIL PROTECTED]
The connection type is determined by the https url provider. Under jdk1.4.2 I would expect this to be the newer javax.sql.* classes. The older classes are used when running with jdk1.3 and the jsse.jar extension classes. See if you can track down why the HttpURLConnection is returning a legacy

[JBoss-user] [Security JAAS/JBoss] - Re: javax.net.ssl.SSLException in JBOSS 3.2.4

2004-06-15 Thread [EMAIL PROTECTED]
The client or os is closing the connection. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838807#3838807 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838807 --- This

[JBoss-user] [Security JAAS/JBoss] - Re: Getting Callback Handler from LoginModule

2004-06-15 Thread jeeads
Scott, You are correct the login module being used for the remote datasource is on the server and therefore has no connection with the client. I will have to make my API aware of the need for capturing a username and password from the user when a datasource with that type of authorization

[JBoss-user] [Security JAAS/JBoss] - Re: Digest on - no login module called.

2004-06-15 Thread [EMAIL PROTECTED]
We don't currently support DIGEST auth because it requires that the security database has access to a clear text password. This is not generally possible. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838809#3838809 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: EJB 1-N Relationships

2004-06-15 Thread sbocquet
Hi, I'm thinking in getting the League FK, and then to do a Leagues.findByPrimaryKey() with it. Am I wrong ? How can I have the League Foreign Key in Matches, because the field is a relation field and it don't appears in my interface !!! View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: Using an EJB acting as a client of a RMI Server

2004-06-15 Thread [EMAIL PROTECTED]
Its no different than any other java application. You need to specify -Djava.security.policy and -Djava.security.manager. This can be done in the run scripts or via the JAVA_OPTS environment variable which the run scripts use. View the original post :

[JBoss-user] [Clustering/JBoss] - Re: Cache Invalidation seems to fail when redeploy CMP beans

2004-06-15 Thread mfrost
Please see bug: http://sourceforge.net/tracker/index.php?func=detailaid=973234group_id=22866atid=376685 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838814#3838814 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838814

[JBoss-user] [Installation Configuration] - Re: Can I change HTTP port?

2004-06-15 Thread pnevado
I am not sure about your question. Have a look to the server.xml document in the tomcat.sar folder of the deploy dir of your JBoss server. Regards. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838815#3838815 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - File-pm and Zero length files

2004-06-15 Thread TheImmortal
We are using Jboss-3.2.3 and the file-pm-service.xml for JMS. During the course of execution, for whatever reason a Zero-length messages is in one of the Queue directories. This is not a problem until we restart JBoss. Upon restarting JBoss the pm fails to load properly due to an error in

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Object not bound

2004-06-15 Thread TheImmortal
Which persistence manager are you using ? If I had to guess sounds like Hypersonic. The problem you are having may be related to hypersonic going bye bye when the DB reaches a certain size. We used to have a problem similar to this. Once the Hypersonic DB reached around 1GB or so the PM

[JBoss-user] [Persistence CMP/JBoss] - Re: Is this a jboss bug (entity setter mehod)?

2004-06-15 Thread dlsills
Was this ever resolved? Because the EJB spec (I quote from 2.1) is painfully clear on this point: The Bean Provider can thus use the set method to move objects between the collections referenced by cmr-fields of the same relationship type in different instances. The set accessor method, when

[JBoss-user] [EJB/JBoss] - Re: EJB 1-N Relationships

2004-06-15 Thread sbocquet
Hi, It's Ok now. I have just forgotten a tag with Xdoclet, and the relationship method was not generated in the interfaces. Bye View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838820#3838820 Reply to the post :

[JBoss-user] [Nukes User] - Concrete howto to use Nukes on JBoss with oracle

2004-06-15 Thread smaug
Hi there, I was trying to use the JBoss 3.2.3 with Nukes and Oracle 8.1.7, but could not get it running. Using the preinstalled Jboss/Nukes version works fine, but the subsequent installation of Nukes on a already installed JBoss server and the setting up for an oracle-db fails. The forums here

[JBoss-user] [Beginners Corner] - Re: Rank beginner trying to get anything working ...

2004-06-15 Thread perty
I have bumped into the same problem, beginner as I am. However, I decided to follow the listBindings path. What surprised me was that the bean was not found under any ejb context. There was no ejb, at all. Instead the bean was found directly under its name. Thus: Object ref =

[JBoss-user] [Messaging, JMS JBossMQ] - Re: File-pm and Zero length files

2004-06-15 Thread genman
The File PM is not being actively maintained. You can still help contribute fixes to the JBoss team, however. Please take a look at the source code. What is your operating system and Java version? View the original post :

[JBoss-user] [Persistence CMP/JBoss] - faulty error message (IllegalStateException)

2004-06-15 Thread triathlon98
I have a problem in a session facade bean (JBoss 3.2.4). It reports java.lang.IllegalStateException: A CMR field cannot be set or added to a relationship in ejbCreate; this should be done in the ejbPostCreate method instead [EJB 2.0 Spec. 10.5.2]. while the object has already been created.

[JBoss-user] [Nukes User] - Re: Concrete howto to use Nukes on JBoss with oracle

2004-06-15 Thread cuoz
My understanding is that if you have a previous release of Nukes running, you need to recreate the DB as the tables are now created via CMP. You only runn the setup.ddl for the Nukes core. Then, as you deploy each module, they create their own tables. I think there was a post somewhere on it

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Object not bound

2004-06-15 Thread genman
Check the startup logs. The reason XAConnectionFactory it is not bound is because the JMS system did not startup. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838827#3838827 Reply to the post :

[JBoss-user] [Nukes User] - Re: Concrete howto to use Nukes on JBoss with oracle

2004-06-15 Thread smaug
Hi Gary, thanks for the quick response. I will check this as soon as possible (I got to go now watching the em-football match Netherland:Germany ;)) regards Alex View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838828#3838828 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Connecting to a weblogic JMS queue

2004-06-15 Thread darroyo
Hello, I'm planning to setup a jms-bridge connection between two queues. Queue A is held by a Weblogic 8.1 server, and queue B is on a jboss 3.2.3 server. Both queues are working fine. The problem comes when I try to connect the weblogic server with jboss, because I don't find any information

[JBoss-user] [Nukes User] - Re: Concrete howto to use Nukes on JBoss with oracle

2004-06-15 Thread jae77
correct - all tables except the ones needed for the core are created via cmp. the forums tables have not changed, so you will be safe there as well. if you want to use oracle support, you need to recompile the code yourself. you will have to modify the local.properties file in the build

[JBoss-user] [Beginners Corner] - Re: Can Jboss Connection Pool framework be used to pool any

2004-06-15 Thread kumar30r
Thanks for your response, but may be I need to rephrase my question. Lets say I have a resource of class MyResource. If I want to pool this resource, does Jboss have an Object pool framework (like the connection pool), that I can use to pool objects of MyResource? Or do I need to create an

[JBoss-user] [Installation Configuration] - Trouble send email

2004-06-15 Thread jgkenned
I am using Jboss 3.2.1 with Tomcat. I'm having an intermittent problem emailing. Here's the error I get: javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.MessagingException: Could not connect to SMTP host: smtp-server.tampabay.rr.com, port: 25;

[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-15 Thread gudmundsonsc
Yep, I had already read that page and decided it did not apply in this situation. Let me explain my understanding of the problem. The class that the code snippet is copied from is called TeacherApplicationBD (business deligate) and it is packaged in the exact same jar that the ejb is packaged

[JBoss-user] [Nukes User] - Re: Concrete howto to use Nukes on JBoss with oracle

2004-06-15 Thread cuoz
I have an Oracle 9i server running here for a customer related project we are doing and maybe can do some testing. I'll grab a tagged version tomorrow from CVS. gary. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838834#3838834 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: Trouble send email

2004-06-15 Thread jgkenned
Try again with config: java:/ars_mail nobody password !-- Test -- !-- Change to your mail server prototocol -- !-- Change to the user who will receive mail -- !-- Change to the mail server --

[JBoss-user] [Installation Configuration] - Re: Trouble send email

2004-06-15 Thread jgkenned
Try again with (3rd time)config: mbean code=org.jboss.mail.MailService | name=jboss:service=Mail | attribute name=JNDINamejava:/ars_mail/attribute | attribute name=Usernobody/attribute | attribute name=Passwordpassword/attribute | attribute name=Configuration

[JBoss-user] [Beginners Corner] - Re: Can Jboss Connection Pool framework be used to pool reso

2004-06-15 Thread darranl
The connection pool is implemented as a JCA resource adapter, if you implement your class so that it is part of a resource adapter it will be poolable. Have you read anything on JCA yet? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838837#3838837 Reply to

[JBoss-user] [EJB/JBoss] - Re: ClassCastException After HotDeploy Stateful Session Bean

2004-06-15 Thread jae77
is the web app packaged inside the ear? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838838#3838838 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838838 --- This

[JBoss-user] [EJB/JBoss] - Re: how can I keep a kind of

2004-06-15 Thread davidchen
Thank you very much James for your reply. By the way, could you please send me the sample code you mentioned above. My email address is : [EMAIL PROTECTED] However, questions for your approach are: 1. To make sure only 1 instance of entity bean exists, does that mean, we should configure cache

[JBoss-user] [Security JAAS/JBoss] - Re: HTTP Status 400 - Invalid direct reference to form login

2004-06-15 Thread mkyaj
Hi, Please forgive me, but I may be confused. If we don't access j_security_check directly, how do we pass the username/password to the server in form-based authentication? According to Sun: - The content of the login form in an HTML page, JSP page, or servlet for a login page

[JBoss-user] [Management, JMX/JBoss] - Re: What's the difference between MBean and RMI service?

2004-06-15 Thread davidchen
Thank you very much Raja for your reply. One more question, what version of JBoss did those adaptors come with? Currently we are using JBoss2.4.8, does JBoss2.4.8 have those adaptors? if not what's the replacements? Thanks a lot David View the original post :

[JBoss-user] [Security JAAS/JBoss] - Cryptography Password in oracle-ds.xml file

2004-06-15 Thread fabinhu
Guys, How can i cryptography password in data-source.xml file ? JBoss has something to do this ? []'s :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838842#3838842 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: Cryptography Password in oracle-ds.xml file

2004-06-15 Thread fabinhu
fabinhu wrote : Guys, | | How can i cryptography password in data-source.xml file ? | JBoss have something to do this ? | | []'s :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838843#3838843 Reply to the post :

[JBoss-user] [Installation Configuration] - How to setup FORM based Authentication for Tomcat integerate

2004-06-15 Thread bibby_store
How to setup FORM based Authentication for Tomcat integerated Jboss3.2.1? I have the stanalone Jboss ingetrated with Tomcat installed. Installed version is jboss-3.2.1_tomcat-4.1.24. I am not able to find the tomcat-users.xml file in the directory stacture. So please some one tell me How I

[JBoss-user] [EJB/JBoss] - Re: how can I keep a kind of

2004-06-15 Thread jae77
jamesstrachan wrote : | I was going to attach a sample of code that uses this technique, this facility seems to have been removed ! | just cut and paste it into a code block ([ code ] [ / code ] minus the spaces). others may want this in the future, or better yet, create a wiki entry for

[JBoss-user] [Nukes User] - Re: Concrete howto to use Nukes on JBoss with oracle

2004-06-15 Thread jae77
that'd be cool - thx! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838846#3838846 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838846 --- This SF.Net email is

  1   2   >