[JBoss-user] [Persistence CMP/JBoss] - getEJBLocalObject, CMR, ejbPostCreate, and Reentrant method

2004-07-22 Thread tomerbd
Hi I have two entity beans. they have a CMR (bidirectional) one to one. In entity1 ejbPostCreate im creating an entity2 and assigning entity1 to it like this pseudo code | class Entity1Bean { | | ejbPostCreate(...) { | // Every time I create entity1 entity2 should be created

[JBoss-user] [News Announcements] - 4.0.0RC1 Release Available

2004-07-22 Thread [EMAIL PROTECTED]
The 4.0.0RC1 release is available as a preview of the fully J2EE 1.4 compatible codebase from: http://sourceforge.net/project/showfiles.php?group_id=22866package_id=16942release_id=254646 The highlights of the new J2EE 1.4 features are given here:

[JBoss-user] [HTTPD, Servlets JSP] - Re: option in jboss to force all to insert pragma headers

2004-07-22 Thread [EMAIL PROTECTED]
A simple filter comes to mind: | package filter; | | import java.io.IOException; | import java.util.ArrayList; | import java.util.Enumeration; | import javax.servlet.Filter; | import javax.servlet.FilterChain; | import javax.servlet.FilterConfig; | import

[JBoss-user] [Installation Configuration] - Re: loader repository problem

2004-07-22 Thread [EMAIL PROTECTED]
The call-by-value element was not being read correctly. This is simply a shortcut for specifying the call by value invoker interceptor stack. This example from the testsuite shows the custom call-by-value-jrmp invoker-proxy-binding that serializes calls between components: | ?xml

[JBoss-user] [Management, JMX/JBoss] - web-console.war should be expanded?

2004-07-22 Thread tokobayashi
Hi, Due to a capability to shutdown JBoss instance, I should enable an authentication of web-console in production. To edit files(web.xml jboss-web.xml...) easily, expanded war is preferable. That's why jmx-console.war is expanded. am I right? View the original post :

[JBoss-user] [EJB/JBoss] - Re: DeploymentException: Local home interface not found

2004-07-22 Thread loubyansky
What JBoss version are you using? Do the local interfaces inherit findByPrimaryKey method? How does the stacktrace look like? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842906#3842906 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: how to use QL to have a case insensitive String compare?

2004-07-22 Thread loubyansky
It seems like there is no... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842907#3842907 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842907 --- This SF.Net email is

[JBoss-user] [Persistence CMP/JBoss] - Re: CMR and compound primary keys

2004-07-22 Thread loubyansky
The deployment descriptors seem to be ok. But looks like the jbosscmp-jdbc.xml is not found or another version of it is used. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842909#3842909 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans

2004-07-22 Thread loubyansky
In your case it would more efficient to use finder instead of CMR. Check out on-line docs Optimized Loading chapter. And lazy-resultset-loading on the wiki. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842910#3842910 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans

2004-07-22 Thread loubyansky
Reposting XML in the code block |category name=org.jboss.ejb.plugins.cmp | priority value=DEBUG/ |/category | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842911#3842911 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: web-console.war should be expanded?

2004-07-22 Thread [EMAIL PROTECTED]
Yes, it will be for 3.2.6+ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842912#3842912 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842912 --- This SF.Net email is

[JBoss-user] [Persistence CMP/JBoss] - Re: type conversion in ejb-ql

2004-07-22 Thread loubyansky
It's not supposted. You could use type conversion in the WHERE clause using delcared-sql (see on-line docs) but not in select. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842913#3842913 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: How to get all the users who have been authenticated by

2004-07-22 Thread MittalSunita
Hi I also want know that, can I get all the users list who are logged in from the server side. If u get to know something plz do post. Thanks in advance MittalSunita. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842914#3842914 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: ClassNotFoundException: org.jboss.resource.connectionman

2004-07-22 Thread [EMAIL PROTECTED]
Hi, I have found the problem. For those who are intrested it was an excaption generated oon the server that was related to mckois Concurrent Commit conflicts. You can read details at: http://mckoi.com/database/Transactions.html I solved it by turning off the warning/exception for these types

[JBoss-user] [Persistence CMP/JBoss] - Re: doing findAll on CMP bean and receiving timeout

2004-07-22 Thread henk
I was just trying the lazy loading. I saw in the documentation that it is implemented since 3.2.6RC1, so I installed this version. However, I get this error message : -- ERROR [XmlFileLoader] XmlFileLoader: File

[JBoss-user] [Javassist user questions] - Re: classloaders, loading classes dynamically

2004-07-22 Thread Batoussa
I've tested the solution proposed by budevik, abd it works ... so use reflection to call ClassLoader class. Regards Batoussa View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842917#3842917 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: getEJBLocalObject, CMR, ejbPostCreate, and Reentrant met

2004-07-22 Thread loubyansky
You are probably invoking some methods on Entity1 in Entity2's ejbCreate or ejbPostCreate. anonymous wrote : 10.5.11 Non-reentrant and re-entrant instances | ...If an instance of a non-reentrant | entity bean executes a client request in a given transaction context, and another request with

[JBoss-user] [Persistence CMP/JBoss] - Re: doing findAll on CMP bean and receiving timeout

2004-07-22 Thread loubyansky
The DTDs are in the docs/dtd directory. Open jbosscmp-jdbc_3_2.dtd and check please. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842921#3842921 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842921

[JBoss-user] [Nukes User] - Re: Broken pipe in Coyote/Tomcat

2004-07-22 Thread cooper
usually that kind of exception should not appear in the log, tomcat is too verbose. this is the kind of stuff expected in a web server View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842922#3842922 Reply to the post :

[JBoss-user] [Nukes User] - Re: Basic site setup

2004-07-22 Thread cooper
thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842923#3842923 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842923 --- This SF.Net email is sponsored by BEA

[JBoss-user] [Persistence CMP/JBoss] - Re: doing findAll on CMP bean and receiving timeout

2004-07-22 Thread loubyansky
Are you using !DOCTYPE jbosscmp-jdbc PUBLIC | -//JBoss//DTD JBOSSCMP-JDBC 3.2//EN | http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd; ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842924#3842924 Reply to the post :

[JBoss-user] [Javassist user questions] - Re: classloaders, loading classes dynamically

2004-07-22 Thread budevik
Batoussa wrote : I've tested the solution proposed by budevik, abd it works ... so use reflection to call ClassLoader class. | | Regards | Batoussa yes it works, but use your code inside web-app and deploy it in container... btw, could you share this code? View the original post :

[JBoss-user] [Installation Configuration] - JavaMail's session configure

2004-07-22 Thread Elton
Dear all, can you help me how to configure a javamail's session with Jboss? Thanks. Regards Elton Gou View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842927#3842927 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842927

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Redelivery of rollbacked Messages

2004-07-22 Thread nort
did you solved this problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842928#3842928 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842928 --- This SF.Net email is

[JBoss-user] [EJB/JBoss] - Stateful passivation problem

2004-07-22 Thread minouche
I have a statefull session bean A that contains the remote interface of an other statefull session bean B, and A won't activate after passivation. To solve the problem, i must say B=null in ejbPassivate() of A and rebuild B in ejbActivate() of A. Can anyone tells me what's wrong? View the

[JBoss-user] [Javassist user questions] - Re: classloaders, loading classes dynamically

2004-07-22 Thread Batoussa
anonymous wrote : yes it works, but use your code inside web-app and deploy it in container... btw, could you share this code? Yeah, you're right, the problem comes from Javassist wich cannot found the right class in his pool. Have anyone got any tips in how using javassist in web application ?

[JBoss-user] [Advanced Documentation] - Re: Ojb Persistence Applications

2004-07-22 Thread darranl
Start by posting into the correct forum (Beginners Corner) and provide as much information as you can about your problem i.e. Stack traces, error messages, versions of JBoss, JDK and OS and a description of the scenario that is causing the problem. View the original post :

[JBoss-user] [JCA/JBoss] - Re: Connections used in Oracle connection pool

2004-07-22 Thread penguine
Hi Adrian, We have the same problem. It seems that all the connections are closed by the applications. In jboss3.0.* it has worked fine. In 3.2.* we have the problem described above. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842932#3842932 Reply to the

[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.5 under Linux

2004-07-22 Thread darranl
Have you set the JAVA_HOME variable? Also you might need an entry in /etc/hosts mapping the ip address of the machine to its hostname. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842933#3842933 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Stateful passivation problem

2004-07-22 Thread darranl
Which JBoss version are you using? I think that I remember a bug being reported at sourceforge.net for this one. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842934#3842934 Reply to the post :

[JBoss-user] [Javassist user questions] - Re: classloaders, loading classes dynamically

2004-07-22 Thread Batoussa
Have a look here http://www.jboss.org/index.html?module=bbop=viewtopict=47263postdays=0postorder=ascstart=10 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842935#3842935 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: javax.ejb.EJBException: Could not passivate; failed to s

2004-07-22 Thread sjheng
sorry, do u mean the problem raised because of the exception ? Thank you for ur opinion... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842936#3842936 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842936

[JBoss-user] [Persistence CMP/JBoss] - Re: doing findAll on CMP bean and receiving timeout

2004-07-22 Thread henk
Hi, thanks a lot ! The lazy loading works like a charm. However, I still get a transaction time-out, I guess because still the process takes a long time and everything is in one big transaction. I will try to solve this by starting and stopping a transaction manually. Thanks for the prompt

[JBoss-user] [Javassist user questions] - Re: classloaders, loading classes dynamically

2004-07-22 Thread budevik
Batoussa wrote : Have a look here http://www.jboss.org/index.html?module=bbop=viewtopict=47263postdays=0postorder=ascstart=10 right I've already seen it but to me it is magic solution ;) wanna see better way ? look at Jboss AOP code :] of course I don't want to say javassist sucks because

[JBoss-user] [Persistence CMP/JBoss] - CMR field cannot write to database????

2004-07-22 Thread sjheng
Hi, i got the following exception when i trying to write data into the database where the field is a cmr field, i'm using mySQL database and Jboss server 4.0. Help needed Do anybody know why the following eception happen and how to solve the problem? thank you for willing to share ur

[JBoss-user] [EJB/JBoss] - Stateless Session Beans Memory Leak

2004-07-22 Thread mitchelln
Hi, While viewing the JMX console mbean page of the stateless session bean we have deployed I noticed that the console displays a list of the Home interfaces rather than the Locals which we are using. Also the remove count never increments. In our production servers we see CreateCounts as

[JBoss-user] HtmlAdaptorServer

2004-07-22 Thread lakshmi.maddipati
Title: Message Hi, I am using HtmlAdaptorServer as follows : HtmlAdaptorServer _html = new HtmlAdaptorServer(portNumber); ObjectName html_name = null; try { html_name = new ObjectName("Adaptor:name=html,port=" + portNumber); Tracer.message(null, "JMXHelper: OBJECT NAME = " +

[JBoss-user] [Persistence CMP/JBoss] - simple UserTransaction question

2004-07-22 Thread Smilidon
hi, I have a UserTransaction and i close the client before a commit() is called(may happen by some enduser).in my transaction i only call a finder. if i start the client again and call the finder again nothing happens. jboss makes the sql-query but i get no results. how can i fix this? thanks

[JBoss-user] [Messaging, JMS JBossMQ] - Re: javax.ejb.EJBException: Could not passivate; failed to s

2004-07-22 Thread darranl
The problem is that you have a stateful session bean that has a reference to something that can not be serialized. Within the ejbPassivate method you need to remove all references to anything that isn't serializable. Within the ejbActivate you can then initialise the references again. View

[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.5 under Linux

2004-07-22 Thread ManfredM
JAVA_HOME ist set to /opt/blackdown-jdk-1.4.1 /etc/hosts looks like this : 127.0.0.1 localhost | # IPV6 versions of localhost and co | ::1 ip6-localhost ip6-loopback | fe00::0 ip6-localnet | ff00::0 ip6-mcastprefix | ff02::1 ip6-allnodes | ff02::2 ip6-allrouters | ff02::3

[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.5 under Linux

2004-07-22 Thread ManfredM
I solved the Problem Just added the hostname to /etc/hosts: 127.0.0.1 hostnamexyz View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842947#3842947 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842947

[JBoss-user] [Installation Configuration] - Increasing log4j categories level

2004-07-22 Thread tomerbd
In log4j.xml I see anonymous wrote : | !-- -- |!-- Limit categories -- |!-- -- | is there a possibility to increase some categories level ? something like anonymous wrote : | | | | anonymous wrote : | | | |

[JBoss-user] [Installation Configuration] - Re: Increasing log4j categories level

2004-07-22 Thread tomerbd
it cant be seen i will remove the bigger smaller signes anonymous wrote : |category name=someclass | priority value=DEBUG/ |/category | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842950#3842950 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: Increasing log4j categories level

2004-07-22 Thread tomerbd
And in log4j file i have placed anonymous wrote : | | | | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842949#3842949 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842949

[JBoss-user] [Messaging, JMS JBossMQ] - Using Null Persistence Manager

2004-07-22 Thread jardia
Hello. I'm trying to follow the instructions at: http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQNullPersistence My steps: 1) remove deploy/jms/hsqldb-jdbc-service.xml 2) drop examples/jms/null-persistence-service.xml into deploy/jms 3) start jboss 4) run simple stress client on

[JBoss-user] [Persistence CMP/JBoss] - Re: Throughput of data low while using CMP/CMR entitybeans

2004-07-22 Thread dev2gosoft
Alexey, Thanks For your responses. I deeply appreciate it. I need one small clarification or confirmation . The CMP query for generating related beans seems to be on each individual entity (i see ejbLoad being called for each entity). In a finder you specify the query to get all the entities

[JBoss-user] [Installation Configuration] - Customizing sql query in jaws.xml

2004-07-22 Thread stan2004
Hi ! Is anyone know how write sql query in jboss jaws.xml for decision: is date greater or later than given date. I try gt; and lt;but I got java.rmi.NoSuchObjectException. === jaws.xml === ejb-nameLog/ejb-name

[JBoss-user] [EJB/JBoss] - Customizing sql-query in jaws.xml

2004-07-22 Thread stan2004
Hi ! Is anyone know how write sql query in jboss jaws.xml for decision: is date greater or later than given date. I try gt; and lt;but I got java.rmi.NoSuchObjectException. === jaws.xml === ejb-nameLog/ejb-name

[JBoss-user] [EJB/JBoss] - Scoped beans Remote classloader issue

2004-07-22 Thread cruinne
Hello, In a JBoss 3.2.4 server, I have deployed several enterprise javabeans (each as a separate .jar, not in an .ear bundle). These beans are completely self-contained, as they include all their needed dependencies inside the jar files (and have a reference to them in the Class-Path entry in

[JBoss-user] [EJB/JBoss] - Customizing sql-query in jaws.xml

2004-07-22 Thread stan2004
Hi ! Is anyone know how write sql query in jboss jaws.xml for decision: is date greater or later than given date. I try gt; and lt;but I got java.rmi.NoSuchObjectException. === jaws.xml === ejb-nameLog/ejb-name

[JBoss-user] [Persistence CMP/JBoss] - Re: Show generated SQL statements in console

2004-07-22 Thread dev2gosoft
Here is the code block. i forgot to put code tags around it category name=org.jboss.ejb.plugins.cmp | priority value=DEBUG/ |/category View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Show generated SQL statements in console

2004-07-22 Thread dev2gosoft
dho, Actually Alexey pointed out how to turn on just the cmp queries instead of all the crap that gets out in the approach i mentioned. I am posting what alexey posted in one of my topics. Hope it helps

[JBoss-user] [Installation Configuration] - sql query for

2004-07-22 Thread stan2004
Hi ! Is anyone know how write sql query in jboss jaws.xml for decision: is date greater or later than given date. I try gt; and lt;but I got java.rmi.NoSuchObjectException. === jaws.xml === ejb-nameLog/ejb-name

[JBoss-user] [EJB/JBoss] - Re: Stateful passivation problem

2004-07-22 Thread stan2004
Hi ! After activation of serialized session beans JBoss (I use 2.4.10) don't delete *ser files (actualy if bean live in package - i.e. - bean serialized file lay ander directory that named like package name - see jboss sources and java doc - java.io.File don't delete file if you point to file

[JBoss-user] [Beginners Corner] - Re: tusc tutorial

2004-07-22 Thread atoi
Thanks. I wasnt using the correct jboss.server file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842962#3842962 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842962

[JBoss-user] [Installation Configuration] - MySQL error with JMS-Server

2004-07-22 Thread berlinbrown
I just created a MySQL datasource but it seems like one of the JBOSS system tables didnt get created: The table in mysql is not there, do I need to create it manually? I think the system got out of sync, hmm, any ideas? 'jboss.JMS_MESSAGES' I am using a basic mysql-ds.xml with user name and

[JBoss-user] [Management, JMX/JBoss] - Problem in installing castorJDO Mbean between jboss 3.2.3 an

2004-07-22 Thread MmarcoM
hi all, i have been developing apps on jboss 3.2.3 for a long time, using CastorJDO Mbean, and never had any problems at all. Recently, i moved to jboss 3.2.5, tried to install CastorJDO MBean and got exceptions. First of all, let me summarize what i did with both versions: - with 3.2.3, i just

[JBoss-user] [Persistence CMP/JBoss] - Solved: Firebird, XDoclet and autoincrement

2004-07-22 Thread Matthias Fraass
Hi, maybe this could come in hand for anyone who wants to use Firebird-incremented IDs with CMP and XDoclet: Supposing you have a table with the PK ID as an int: 1. You have to create a generator for each table: | create generator gen_TABLENAME; | COMMIT; | 2. Tell jBoss via XDoclet

[JBoss-user] [JBoss Getting Started Documentation] - Deploying two applications in JBoss

2004-07-22 Thread lgaspar
Hi, I have made an application with OJB Persistence and Struts STXX (struts-1.1) and i deploy it in JBoss 3.2.3. The application work fine and i don't have any problem. When i deploy another application in the same JBoss, developed in JDBC and not using OJB's, two applications work fine. But

[JBoss-user] [Beginners Corner] - Looking for Help

2004-07-22 Thread kdionne
My company is supporting a Struts-based website deployed under JBoss. The code was built and deployed from JBuilder, and I no longer have access to the orginal developers. If there are any developers that would be interested in taking on something like this, please contact me via email.

[JBoss-user] [Advanced Documentation] - Re: Ojb Persistence Applications

2004-07-22 Thread lgaspar
Hi, I have made an application with OJB Persistence and Struts STXX (struts-1.1) and i deploy it in JBoss 3.2.3. The application work fine and i don't have any problem. When i deploy another application in the same JBoss, developed in JDBC and not using OJB's, two applications work fine. But

[JBoss-user] [Beginners Corner] - OJB Persistence in JBoss

2004-07-22 Thread lgaspar
Hi, I have made an application with OJB Persistence and Struts STXX (struts-1.1) and i deploy it in JBoss 3.2.3. The application work fine and i don't have any problem. When i deploy another application in the same JBoss, developed in JDBC and not using OJB's, two applications work fine. But

[JBoss-user] [Installation Configuration] - Re: MySQL error with JMS-Server

2004-07-22 Thread berlinbrown
Nevermind, I needed to configure the JBossMQ to create the tables for MySQL View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842970#3842970 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842970

[JBoss-user] [Persistence CMP/JBoss] - Where do I find an example project of CMP with Jboss?

2004-07-22 Thread vomus
Hi, is there any source I could look at to find an example project that uses a CMP in Jboss? I need to code an access to a MySQL database. It would be just wonderful it it were also an Eclipse project. Thanks in advance, View the original post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Redelivery of rollbacked Messages

2004-07-22 Thread stesoc
I'm interested me too! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842972#3842972 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842972 --- This SF.Net email is

[JBoss-user] [JBoss Getting Started Documentation] - J2EE

2004-07-22 Thread DiegoMemo
Hi, is necessary j2ee for using jboss or is possible using jboss on j2se? thank Please, excuse me for my english View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842973#3842973 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Jboss-service.xml External Context Configuration, JNDI, LDAP

2004-07-22 Thread THANATOS
Hi everybody, I'm trying to work LDAP under Jboss via JNDI so I've completed the jboss-service.xml file under my server configuration with this : mbean code=org.jboss.naming.ExternalContext name=jboss.jndi:service=ExternalContext,jndiName=external/ldap/jboss | attribute

[JBoss-user] [EJB/JBoss] - ejb-link in local references

2004-07-22 Thread albertok
Hi, I am using 3.0.8 Jboss and have a problem with local reference. As far as I know ejb-link is obligatory for local references, so is it possible to achieve communication beanA-beanB through local references if they are in different jar files. From my testing it seems that beanB must be

[JBoss-user] [Persistence CMP/JBoss] - Re: Where do I find an example project of CMP with Jboss?

2004-07-22 Thread Smilidon
http://www.tusc.com.au/tutorial/html/ google helps View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842977#3842977 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842977

[JBoss-user] [HTTPD, Servlets JSP] - Re: (Jboss 3.2.4)JasperException:

2004-07-22 Thread nileshk
I am having the same problem. I am using JSP 1.2 which works ok with Tomcat 4.x, but when I try to deploy to a recent version of JBoss or Tomcat 5 I get that error. I do an include of a header file (with no parameters) like this: jsp:include page=header.jsp flush=true/ Then in the header.jsp

[JBoss-user] [JBoss Getting Started Documentation] - Re: J2EE

2004-07-22 Thread caveli
I use j2se and is OK java version 1.4.0_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03) Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842979#3842979 Reply to the post :

[JBoss-user] [HTTPD, Servlets JSP] - Tag lib deprecated methods aren't found...

2004-07-22 Thread Renkrad
When a method is defined as deprecated i get an exception saing that the setter method isn't found. There is the need to mark it as deprecated to warn the developers that they should not use that attribute but not forbid them of using it (compatibility issues). The setter methods are inherited

[JBoss-user] [EJB/JBoss] - Re: Scoped beans Remote classloader issue

2004-07-22 Thread [EMAIL PROTECTED]
You need to redundantly include the classes in question in the web layer, and scope its deployment as well. I will have to look into why the remote class loading would break with a scoped ejb deployment. View the original post :

[JBoss-user] [HTTPD, Servlets JSP] - Error doing file operations from my deployed war file on JBo

2004-07-22 Thread vikash_sharma
Hi, I am trying to create a directory within my exploded WAR directory. It gives ACCESS DENIED exception. Same activity I am able to perform when I do it from my file in my deployed EAR. The same operations were working fine in JBOss 3.2.1. Any pointers will be greatly appreciated,

[JBoss-user] [Performance Tuning] - Re: JBoss and Rarional quantify problem

2004-07-22 Thread wuffi
It seems that this feature is not yet implemented in the Rational Suite for all Unix plfatforms. It may be available for Solaris but its not for Linux. See this article for some hints: http://www-1.ibm.com/support/docview.wss?uid=swg21117914 What application servers does Rational PurifyPlus

[JBoss-user] [HTTPD, Servlets JSP] - static context in jboss-3.2.5

2004-07-22 Thread mbh
Hi, I had a static context configured in jboss-3.2.3 by adding a Context tag to the Tomcat jboss-service.xml. It looks like for version 3.2.5 the configuration changed, so I tried to do add the Context tag in server.xml, but it didn't work. Can someone tell me how to add a static context with

[JBoss-user] [Persistence CMP/JBoss] - OJB Persistence in JBoss

2004-07-22 Thread lgaspar
Hi, I have made an application with OJB Persistence and Struts STXX (struts-1.1) and i deploy it in JBoss 3.2.3. The application work fine and i don't have any problem. When i deploy another application in the same JBoss, developed in JDBC and not using OJB's, two applications work fine. But

[JBoss-user] [Messaging, JMS JBossMQ] - Handling many NON_PERSISTENT messages and staying alive

2004-07-22 Thread jardia
Hello. This question is about how to configure JBossMQ to cope with a huge flood of messages that are NON_PERSISTENT. Assumptions: - A NON_PERSISTENT message does not have to be stored persistently, server may drop/lose some. The javadoc says: anonymous wrote : | This is the lowest-overhead

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Using Null Persistence Manager

2004-07-22 Thread jardia
I have found out that the 'null pm' does not simply drop messages, he stores them in a ConcurrentHashMap. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842988#3842988 Reply to the post :

[JBoss-user] [Installation Configuration] - 4.0.0RC1: Where is JBoss.NET?

2004-07-22 Thread Juergen.Zimmermann
After installing 4.0.0RC1 the URL http://localhost:8080/jboss-net doesn't work any more. I also cannot find the subdirectory server/default/deploy/jboss-net.sar Am I missing something? Any hint is appreciated! View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: CMR and compound primary keys

2004-07-22 Thread dgreen999
I have confirmed that there is no other jbosscmp-jdbc.xml, and I know that it's finding the given one since if I change the example code to use a non-composite primary key the whole thing works. From the error message, it looks like JBoss is looking for a primkey-field in the ejb-jar.xml, but

[JBoss-user] [Javassist user questions] - Modifying jcomponent

2004-07-22 Thread gordon1986
| ClassPool pool = ClassPool.getDefault(); | CtClass cc = pool.get(javax.swing.JComponent); | CtMethod m = cc.getDeclaredMethod(paint); | m.insertBefore(((java.awt.Graphics2D)$1).setRenderingHint(java.awt.RenderingHints.KEY_ANTIALIASING,

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Handling many NON_PERSISTENT messages and staying alive

2004-07-22 Thread [EMAIL PROTECTED]
That is a bug, it is not setting the stored status of the message reference: org.jboss.mq.pm.none.PersistenceManager should be: |public void removeFromStorage(MessageReference mh) throws JMSException |{ | if (delegate == null || mh.inMemory()) | { |

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Handling many NON_PERSISTENT messages and staying alive

2004-07-22 Thread [EMAIL PROTECTED]
If you want it to drop NON_PERSISTENT messages rather than putting them putting them on disk it would require a modification to the MessageCache and BasicQueue to remove the message from the queue (assuming it hasn't already been received by a client). View the original post :

[JBoss-user] [Installation Configuration] - Re: 4.0.0RC1: Where is JBoss.NET?

2004-07-22 Thread [EMAIL PROTECTED]
jboss.net has been replaced with the j2ee 1.4 compliant web services implementation supplied by the jboss-ws4ee.sar and can be found at: http://localhost:8080/ws4ee/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842994#3842994 Reply to the post :

[JBoss-user] [Installation Configuration] - JBoss classloading behaviour

2004-07-22 Thread gifs71
Hi, I have seen this classloading issue in JBoss and it has caused me great pain. I am using JBoss 3.2.4. The scenario is like this: I generate java classes on-the-fly in my application and then try to load those classes. But I perform the class generation only the first time when the classes

[JBoss-user] [Security JAAS/JBoss] - Re: How to get all the users who have been authenticated by

2004-07-22 Thread auckyboy
You could develop your user management module. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842997#3842997 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842997 ---

[JBoss-user] [Nukes User] - Re: Broken pipe in Coyote/Tomcat

2004-07-22 Thread MilesParker
cooper wrote : usually that kind of exception should not appear in the log, tomcat is too verbose. this is the kind of stuff expected in a web server So I shouldn't worry about it...? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843000#3843000 Reply to the

[JBoss-user] [Installation Configuration] - JBoss, Apache Axis, Tomcat and SSL confusion

2004-07-22 Thread shanghai_star
Hi, I have JBoss 3.2.3 as the server software on my computer. I have Apache Axis (web services) installed on JBoss as a web application, and the JBoss has integrated Tomcat. Now, I'm trying to get the web services to be SSL enabled. Should I configure Tomcat, Apache Axis, or JBoss itself in

[JBoss-user] [Installation Configuration] - Re: JBoss classloading behaviour

2004-07-22 Thread [EMAIL PROTECTED]
Thanks for the melodrama. Flush the class loader blacklist and look at how the aop framework generates classes. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843003#3843003 Reply to the post :

[JBoss-user] [HTTPD, Servlets JSP] - Re: Filter

2004-07-22 Thread vijpan
any hint guys? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843004#3843004 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843004 --- This SF.Net email is

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Handling many NON_PERSISTENT messages and staying alive

2004-07-22 Thread jardia
Hi Adrian. Thanks for the response. So A3) is completely wrong, not the whole story or another valid option. I thought that once a message gets passed to saveToStorage() and the cache references to it have been softened, then nothing else has got a handle on iti'm not so familiar with the

[JBoss-user] [Persistence CMP/JBoss] - Creating deployment descriptors for relationships

2004-07-22 Thread jeeads
I have two tables in my database, users and usercontact. Users primary key is userId, UserContact primary key and foreign key use the userId from the Users table. My deployment descriptor describing this relationship is below. When I try to remove a user from the database I get the error

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Handling many NON_PERSISTENT messages and staying alive

2004-07-22 Thread [EMAIL PROTECTED]
I don't see anything wrong with dropping NON_PERSISTENT messages rather than putting them on disk. They are lost in the event of a reboot, so you need a design that can cope with the non guaranteed delivery of the message. JBossMQ doesn't currently implement it that way. View the original post

[JBoss-user] [JBoss.NET SOAP] - 4.0.0RC1: changes in deploying a wsr archive?

2004-07-22 Thread Juergen.Zimmermann
My examples of 4.0.0DR4 with XDoclet cannot be deployed anymore. Where can I find examples how to deploy web services with EJBs in 4.0.0RC1 using XDoclet? Especially with the subtask . Are there changes in the generated web-service.xml or in the packaging of a wsr archive? View the original

[JBoss-user] [HTTPD, Servlets JSP] - Setting up an alias in Apache to a WAR file inside an EAR

2004-07-22 Thread osganian
Hi, I was wondering if anybody knows how to setup an alias to do this. I did the following, which works if I deploy a simple standalone WAR file: httpd.conf (apache): # Alias jsp to the JBoss's JSPs web archive. Alias /myjsps C:/jboss-3.2.5/server/default/deploy/simple.war This works so I can

[JBoss-user] [Clustering/JBoss] - Port assignments -- necessary ? And if so then how to confi

2004-07-22 Thread monocongo
Do you need to modify or specify any port numbers for the multiple servers/VMs in a cluster ? I am assuming that each VM (node) in the cluster will need to listen to different ports, and this might not be taken care of magically by JBoss, as witnessed below by my second instance (node) in a

[JBoss-user] [JBoss.NET SOAP] - Re: 4.0.0RC1: changes in deploying a wsr archive?

2004-07-22 Thread [EMAIL PROTECTED]
The proprietary jboss.net wsr is not supported by the ws4ee deployer. Use the standard webservices descriptors/deployments as defined in the j2ee 1.4 tutorial. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843011#3843011 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Is this a bug? stateful session bean is acting like stat

2004-07-22 Thread siupetpet
Thank you so much James, I think you are totally right. I did some further testing by doing System.out.println(this); in the bean class, so that I can see the bean's memory location on the jboss console. For a slsb, the memory location has been always the same across multiple create() calls even

[JBoss-user] [Installation Configuration] - JBoss and hsqldb-ds.xml editing ( pb with data base managing

2004-07-22 Thread adar
Thank you for the yesterday reply ! Now i am not sure of the right editing of my hsqldb-ds.xml file before modifyi,g the file : connection-urljdbc:hsqldb:${jboss.server.data.dir}/hypersonic/localDB connection-urljdbc:hsqldb:D:/informatique/jboss3.2.3/server/data/hypersonic/localDB

  1   2   >