[JBoss-user] [Javassist user questions] - Re: instrumenting a loaded class

2005-08-23 Thread chiba
For instrumenting a loaded class, you must use HotSwap provided by Sun's JVM. An upcoming new version of Javassist provides a utility class for using HotSwap. So if you are intrested, please down load the CVS HEAD and test it. View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Javassist user questions] - Re: class is frozen

2005-08-23 Thread chiba
Hmm... defrost() should be overridden in CtClassType, a subclass of CtClass. I don't know why an exception is thrown. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891374#3891374 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [Installation, Configuration & Deployment] - Re: Jboss deployment error

2005-08-23 Thread mandarkul
Hi Darranl, Finally I got rid of this problem.I was using Jboss 3.2.3.However I was doing development on JBoss-IDE plug-in for Eclipse. The only thing i had to do to solve the problem is to make following change in "jboss.xml" | | Original :- | http://www.jboss.org/j2ee/dtd/j

[JBoss-user] [Installation, Configuration & Deployment] - Re: Jboss deployment error

2005-08-23 Thread mandarkul
Hi darranl First of all thanks a lot for showing so much interest in my problem. My Java_Home is pointing to JDK 1.4 only. Secondly the same EAR is running properly on other machines of my colleagues in the team.Only the JBoss on my machine is giving this strange error.I have even tried copy

[JBoss-user] [Management, JMX/JBoss] - ServiceMBeanSupport lifecycle methods

2005-08-23 Thread Ganton
I am at my wits end.The lifecycle methods, createService() and startService() are not being invoked on startup for a class that extends ServiceMBeanSupport, and overrides these functionsWhat gives ? I even built the example HelloMBeanIt does not work

[JBoss-user] [EJB/JBoss] - Re: How to force immediate commit of an entity bean to the p

2005-08-23 Thread vickyk
"bgrieder" wrote : Hi, | | Thanks for your reply. | I thought about that too and tried to implement a container configuration (details below) with option D and optiond-refresh-rate set at 30 (seconds). | | I have been watching ejbStore on the entity bean, but nothing happened |

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: wait between retries when MDB fails?

2005-08-23 Thread genman
You're right. But you should always verify yourself by testing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891366#3891366 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891366 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using JVM IL and DLQHandler Initialization Failure

2005-08-23 Thread genman
http://wiki.jboss.org/wiki/Wiki.jsp?page=IGetXAConnectionFactoryNotBoundHowDoIFixIt Search got me an answer in about 2 seconds... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891365#3891365 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [Messaging, JMS & JBossMQ] - Number of Timeouts threads seems excessive

2005-08-23 Thread genman
After a long time of execution, it seems like there are nearly 100 threads created called "Timeouts(1)-xxx" and they mostly sit around. In JBoss 3.2, src/main/org/jboss/util/threadpool/BasicThreadPool.java creates a pool with a minimum size of 100, which seems a little bit much. Would it be o

[JBoss-user] [JBoss Portal] - Re:problem in helloworld jsp

2005-08-23 Thread ramesa
Hi, Thanks for your immediate reply. It is already there HelloWorld.java resp.setContentType("text/html"); Can I send the whole package for you. In your code itself it is there resp.setContentType("text/html"); Herewith I attached my whole package please verify this one also i unable to use web.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using JVM IL and DLQHandler Initialization Failure

2005-08-23 Thread bloodasp
Anyone? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891361#3891361 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891361 --- SF.Net email is Sponsored by the Bett

[JBoss-user] [Security & JAAS/JBoss] - Failed authentication due to destroyed database connections

2005-08-23 Thread moojid
Hello Everyone, I am using DatabaseServerLoginModule for form based login in my application. The database is MySql Server and the data source config file is setup to create a pool of minimum connection size 2. when I start my server every thing works perfectly. Although when the initial two con

[JBoss-user] [JCA/JBoss] - Broken pipe - connection reset

2005-08-23 Thread andrew123
Any comments/ideas will be greatly appreciated. J2EE (BMP) application running on JBoss 3.2.3 is talking to the MS SQL Server 2000 via Microsoft SQL Server JDBC driver. The broken pipe/connection reset exceptions started to appear in the JBoss log two weeks ago. No changes had been made to the

[JBoss-user] [Installation, Configuration & Deployment] - Re: jboss-portal bundle starts but jboss4.0.2 no more

2005-08-23 Thread svaret
"PeterJ" wrote : Take a JVM thread dump and post the results. That shouldp rovide some clues as to what it is waiting on. Ok. Sorry, but how do I do a JVM thread dump? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891330#3891330 Reply to the post : http:/

[JBoss-user] [JCA/JBoss] - Connection Pooling

2005-08-23 Thread haribabu_nunna
Hai All, I am using Jboss 4.0 and MySql 4.1. I am using a Datasource for connection pooling. I am closing the connections after performing each transaction. The closed connections should return to the pool and get reused again.. But this does not happen so ... Ur suggestions or

[JBoss-user] [JCA/JBoss] - Re: Broken pipe - connection reset

2005-08-23 Thread haribabu_nunna
Hai, plz check ur database server, and see to that it is not hanged, and the next thing is may be the database server connections are getting restarted.. In this 2 cases there is the possibility to get Brokenpipe and plz let me know.. Thanks & Regards, Hari... View the original

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help Me how to call EJBStore

2005-08-23 Thread benzuo
I use jboss is 3.2.7 some config false C Transaction is container manager View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891354#3891354 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891354

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Help Me how to call EJBStore

2005-08-23 Thread benzuo
Hi I user the CMP and jdbc in the sessionBean, when i update data by CMP ,but the jdbc can not find the modify data. Code sample try { MyEB my= MyEB Home.findByPrimaryKey(new Long(861974)); my.setLotId("BenTest");

[JBoss-user] [JBossCache] - Re: multiple eviction policies

2005-08-23 Thread [EMAIL PROTECTED]
Come on, read the documentation first. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891348#3891348 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891348 --- SF.Net

[JBoss-user] [JBossCache] - Re: Replication problems with TreeCacheAOP in a Jboss Cluste

2005-08-23 Thread [EMAIL PROTECTED]
No, once you it via putObject, any pojo operation should trigger replication. 1. Try out the tutorial example first to make sure it works. 2. Turn on the trace logging on cache to make sure there is replication. I guess is there is not. So what does your pojo operation looks like? Are they all

[JBoss-user] [JBossCache] - Re: A simple example of self-referencing objects problem

2005-08-23 Thread [EMAIL PROTECTED]
This has more explanation why the refactoring. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891346#3891346 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891346 --

[JBoss-user] [JBossCache] - Re: A simple example of self-referencing objects problem

2005-08-23 Thread [EMAIL PROTECTED]
Can you download the latest in JBossCache cvs module (1.2.4Alpha)? I have refactored the object graph model so I think that should solve your problem. Thanks, -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891345#3891345 Reply to the post : http://www

[JBoss-user] [JBoss Portal] - Re: Migration from Nukes

2005-08-23 Thread bobw97140
I'm also looking for the answer to this question, particularly in terms of migrating existing production data. Does JBoss plan to provide a tool for extracting data from Nukes 1.1 tables (mySQL in my case) and load it into the Portal database (Slide)? - Bob View the original post : http://www

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Too many threads being marked as busy in JBoss

2005-08-23 Thread rcostanzo
I am noticing some strange behavior with my JBoss 3.2.6 cluster of 5 instances using apache and mod-jk 1.2.14 over AJP13 to connect. Even when there is virtually no load on the system, the currentThreadsBusy count in the jk-8009 ThreadPool MBean shows a relatively high number. For example, if

[JBoss-user] [Installation, Configuration & Deployment] - Re: jboss-portal bundle starts but jboss4.0.2 no more

2005-08-23 Thread PeterJ
If you are running on Solaris or Linux, typpe CTRL-\. If you are on Windows, type CTRL-BREAK. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891336#3891336 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891336 -

[JBoss-user] [Installation, Configuration & Deployment] - Re: jboss-portal bundle starts but jboss4.0.2 no more

2005-08-23 Thread svaret
Well, when I returned looking at the console it had dumped. I tried to start the server again and this time it worked. I have no idea what caused the problem but it seems when I have 2 server installations that I use (not at the same time) it cause the problem. Lots of thanx anyway Lasse View

[JBoss-user] [Installation, Configuration & Deployment] - Re: jboss-portal bundle starts but jboss4.0.2 no more

2005-08-23 Thread PeterJ
Take a JVM thread dump and post the results. That shouldp rovide some clues as to what it is waiting on. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891329#3891329 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891

[JBoss-user] [Installation, Configuration & Deployment] - jboss-portal bundle starts but jboss4.0.2 no more

2005-08-23 Thread svaret
Hi, I have been using JBoss for about 2 years. I have installed JBoss4.0.2 and worked on it for a couple of months without problems. I then wanted to try out jboss-portal bundled with jboss AS 4.0.2. I am testing that and it works alright. Now, I want to start using my other installation, i.e.

[JBoss-user] [Beginners Corner] - Re: SocketTimeoutException with TopicConnectionFactory and Q

2005-08-23 Thread jrfurman
I manually downloaded the production version and installed it manually. And now the trace errrors have gone. Good luck! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891322#3891322 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mo

[JBoss-user] [Beginners Corner] - Re: FK- Insert and PostEJBCreate

2005-08-23 Thread anotherjavaguy
OK, just to close this out... This configuration setting should do it. | | | INSERT after ejbPostCreate Container | true | | | I added this to my merge directory in xdoclet and it gets included in the jboss.xml I didnt have much luck t

[JBoss-user] [Security & JAAS/JBoss] - Re: I have problem migrating application from weblogic to jb

2005-08-23 Thread [EMAIL PROTECTED]
Moved to the user forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891264#3891264 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891264 --- SF.Net email is Spon

[JBoss-user] [Security & JAAS/JBoss] - Re: In valve getRemoteUser value returned as NULL always

2005-08-23 Thread juserp
Scott, I realised that JBossGenericPrincipal class is a private class.How could I set my principal to this type? In current LoginModules like UserRoles etc , I see that the prinicipal is added to subject as SimplePrincipal. Where in JBOSS code do we set it to type JBossGenericPrincipal ? F

[JBoss-user] [JBoss Portal] - Re: PermGen Space

2005-08-23 Thread schnelzer
In your run.bat or run.sh try setting the MaxPermSize and PermSize to 128m. We did this and its seems to have solved the issue for us. The setting are -XX:PermSize=128m and -XX:MaxPermSize-128m. The are some tools in JDK 1.5 bin directory if you are using 1.5 that are helpful. View the origi

[JBoss-user] [JBoss Portal] - Re: Instatiating portlet from another portal

2005-08-23 Thread [EMAIL PROTECTED]
Roy- Thanks for jumping in on this. I have a few more questions for you on this. "[EMAIL PROTECTED]" wrote : ok, so the echo portal above has an instance of HelloWorldPortlet in it. 1) I'd really appreciate if you would actually show how you accomplished this. I assume you have a portlet-insta

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: jboss 4.0.2, hibernate3 and mysql NullPointer problem

2005-08-23 Thread fstilman
Hello, did you find the way to solve the NullPointerException error with Hibernate (during the execution of buildSessionFactory) ? I'm having the same problem. Thanks in advance! Federico.- View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891317#3891317 Repl

[JBoss-user] [Beginners Corner] - Re: FK- Insert and PostEJBCreate

2005-08-23 Thread anotherjavaguy
OK It looks like there is a container configuration setting for the jboss.xml that will do the inserts on post creates. ...now to figure out how to do it with xdoclet? anyone have an example? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891315#3891

[JBoss-user] [Security & JAAS/JBoss] - saving j_username as session/request parameter

2005-08-23 Thread madalvi
I am using Form-Based authentication with DatabaseServerLoginModule. After authentication I want to save the j_username in request/session parameter.(has some business logic that needs to use this j_username) Do I need to do similar to this? http://wiki.jboss.org/wiki/Wiki.jsp?page=CustomizingSec

[JBoss-user] [Beginners Corner] - Re: Configuring JNDI ConnectionFactory

2005-08-23 Thread anotherjavaguy
I'm new to jboss too so forgive if I ask stuff you already tried. Have you created a -ds.xml file in your deploy directory that binds to this jndi name? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891313#3891313 Reply to the post : http://www.jbos

[JBoss-user] [Beginners Corner] - FK- Insert and PostEJBCreate

2005-08-23 Thread anotherjavaguy
I have a couple of CMP EBs involved in a CMR and am having problems with the create. For example. ( I'll change the real object to make it easier to understand) An auction is created with an owner. The owner_id in the auction table is a fk and it is not null. In other wors you must do the inse

[JBoss-user] [JBossCache] - A simple example of self-referencing objects problem

2005-08-23 Thread roginsky
I have a very simple example that illustrates the problem I described in my previous question (Posted: Fri Aug 19, 2005 21:08 PMPost subject: Problem with caching an object with a complex object graph). Here is the cached class: ---

[JBoss-user] [Security & JAAS/JBoss] - Why md5 dont work with me??? :(

2005-08-23 Thread angelogalvao
im using myql md5 function to cryptography mu pasword!!! here is my login-config: guest java:/test SELECT PASSWORD FROM USER WHERE USER = ? SELECT ROLE 'Roles', ROLE_GROUP 'RoleGroups' FROM ROLES WHERE USER = ?

[JBoss-user] [Installation, Configuration & Deployment] - class loading / logging issues

2005-08-23 Thread lordsteve_666
Hi folks, I hope someone has solved this riddle already ... I am trying to make use of a 3rd party library that uses LOG4J in the context of JBoss. Unfortunately, this library subclasses the LoggerFactory. The result is that after the first call to this 3rd party API, JBoss stops logging compl

[JBoss-user] logging issues

2005-08-23 Thread Stefan Meier
Hi folks, I hope someone has solved this riddle already ... I am trying to make use of a 3rd party library that uses LOG4J in the context of JBoss. Unfortunately, this library subclasses the LoggerFactory. The result is that after the first call to this 3rd party API, JBoss stops logging compl

[JBoss-user] [JBossWS] - Re: Download Issue for JBossWS_1_0EA

2005-08-23 Thread msell
I haven't tried cvsgrab, but have been using CVS successfully using the instructions contained in the blog. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891306#3891306 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [JBoss Portal] - PermGen Space

2005-08-23 Thread patrickdalla
Hi, I am frequently seeing OutOfMemoryException with PermGen space description. I'm using Jboss-Portal and MyFacesPortlet. Don't know which is causing the problem. How can I avoid this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891295#3891295 Reply to

[JBoss-user] logging issues

2005-08-23 Thread Stefan Meier
Hi folks, I hope someone has solved this riddle already ... I am trying to make use of a 3rd party library that uses LOG4J in the context of JBoss. Unfortunately, this library subclasses the LoggerFactory. The result is that after the first call to this 3rd party API, JBoss stops logging compl

[JBoss-user] [Clustering/JBoss] - getting remote ejb across firewall

2005-08-23 Thread teknokrat
I am trying to obtain a remote reference to an ejb in one jboss cluster from another. They are separated by a firewall. I have opened ports 1099, , 1100 between them. The normal lookup on port 1099 works ok. However, when I try to use the HAJNDI port 1100 I get that the ejb is not bound na

[JBoss-user] [Installation, Configuration & Deployment] - Re: Deployment order of .ear file

2005-08-23 Thread parressh
During the deployment of my application, it is using a library that is trying to initialize a web service client call to a service exposed by another ear in the same jboss instance. Since tomcat has not finished loading, the http call just hangs in a deadlock. App is waiting for tomcat, tomcat

[JBoss-user] [Installation, Configuration & Deployment] - Hibernate Version in JBoss

2005-08-23 Thread thebiker
I need to know what level of Hibernate is packaged with a specific lelvel of JBoss. Is the any documentation or way of determining the specific level that is embedded with JBoss. In general, I believe that Hibernate 3.0.x is enbedded with JBoss 4.0.x, but I would like to know the exact level.

[JBoss-user] [EJB/JBoss] - Re: Help needed for running a client to access MDB

2005-08-23 Thread nishanth
Thanks a lot! It works fine now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891272#3891272 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891272 -

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss, Hibernate, Connect to multiple datasources?

2005-08-23 Thread yangju
I am facing the same problem. I cannot find a good solution. But to get around with this, I had to dynamically clone an existing hibernate sevice mbean (using MBeanServer API) and modify the datasource attribute of the created mbean on the fly. I keep all other attributes untouched (ofcouse you

[JBoss-user] [JCA/JBoss] - Re: IMS Connection Factory

2005-08-23 Thread khawkins
I think the cause of your problem is that with newer versions of the IMS resource adapter IBM has packaged some Eclipse helper classes. These classes are not directly used by the resource adapter but JBoss sees the packaged classes and tries to resolve their dependencies. To deploy you will nee

[JBoss-user] [JBossCache] - Replication problems with TreeCacheAOP in a Jboss Cluster

2005-08-23 Thread jaywant.bhosale
Hi, Here is my problem: - I am running a Web application in a JBOSS Cluster - Using TreeCacheAOP to store the user state information in a POJO - apache Mod_jk to load balance requests (Round Robin mechanism) Case1: WORKS Request goes to on Node 1: Request stores the POJO calling putObject() Requ

[JBoss-user] [Javassist user questions] - Re: IllegalAccessException: java/lang/ClassLoader

2005-08-23 Thread chalupka
Hi, seems to be a bug in the ibm jdk 1.4.1. I debugged the code and the problem seems to be, that java.lang.reflect.Method-objects are reused in some way. The first call to toClass is ok - a Method-object is created and stored. As you can see in the code-snippet posted above, on leaving toClass,

[JBoss-user] [EJB/JBoss] - EJB 1.1 on JBoss AS 4.0.2

2005-08-23 Thread bdobby
Hi. I have been asked to port an EJB 1.1 app to JBoss 4.0.2. As an intermediate step, I ported to JBoss 3.2.7 and it seemed to more or less work. However, on 4.0.2 the first look-up of a Home interface fails. Does 4.0.2 support EJB 1.1, or am I wasting my time? TIA Brian View the original p

[JBoss-user] [JBoss Portal] - Re: MySQL and Portal Hybernate error

2005-08-23 Thread rgjawanda
It was the one bundled with jboss. I then installed mysql (latest version) 4.1 Windows Platform win 2003 server (unfortunately) Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891250#3891250 Reply to the post : http://www.jboss.org/index.html?module=b

[JBoss-user] [EJB/JBoss] - Re: EJB spec for jboss 4.0.2

2005-08-23 Thread darranl
http://www.jboss.org/products/jbossas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891244#3891244 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891244 --- SF.Net

[JBoss-user] [JBoss Portal] - Re: install jbossportal source code ...

2005-08-23 Thread darranl
That is a symbolic link not a simple link. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891243#3891243 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891243 --- SF

[JBoss-user] [Installation, Configuration & Deployment] - Re: Jboss deployment error

2005-08-23 Thread darranl
Also which JDK version are you actually using, which one is referenced by the JAVA_HOME environment variable? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891242#3891242 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [Installation, Configuration & Deployment] - Re: Jboss deployment error

2005-08-23 Thread darranl
Ok, we are getting a little bit closer. It looks like a problem in one of your deployment descriptors. >From the stack trace the error is coming from the EJBDeployer. Are there any >messages above the exception and stack trace in the log to indicate what is >being deployed at the time the err

[JBoss-user] [EJB/JBoss] - Re: Stateless session's remove() method being called during

2005-08-23 Thread jgc195
That's worth a shot - thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891238#3891238 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891238 --- SF.Net email is

[JBoss-user] [EJB/JBoss] - Re: Stateless session's remove() method being called during

2005-08-23 Thread jaikiran
There is a default transaction timeout, for bean managed transactions. You can override this by invoking: UserTransaction userTransaction = sessionContext.getUserTransaction(); userTransaction.setTransactionTimeout(timeoutInSeconds); just before beginning a transaction: userTransaction.begin();

[JBoss-user] [JBoss Portal] - Re: Instatiating portlet from another portal

2005-08-23 Thread [EMAIL PROTECTED]
ok, so the echo portal above has an instance of HelloWorldPortlet in it. I removed the helloworld-pages.xml from the helloworld.war, so now it only exists in this echo portal. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891235#3891235 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: error while running helloworld jsp

2005-08-23 Thread gontouf
just try to insert this in your HelloWorld.java(your servlet??) resp.setContentType("text/html"); I think it's that if you had just copied and pasted the whole code before because there was an error into it. Tell me if it's working now... Flo. View the original post : http://www.jboss.

[JBoss-user] [EJB/JBoss] - Re: EJB spec for jboss 4.0.2

2005-08-23 Thread fabcipriano
JBoss series 4.x obey J2EE 1.4 so the EJB it is 2.1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891233#3891233 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891233 -

[JBoss-user] [EJB/JBoss] - Stateless session's remove() method being called during a tr

2005-08-23 Thread jgc195
Hi All, I'm seeing this problem very infrequently in my logs, but it does cause a problem each time it occurs, so I'd be grateful for any advice. I've got a stateless session bean that is configured to use BMT - which it normall does perfectly. Every now and again, I get this error: 2005-08-1

[JBoss-user] [Clustering/JBoss] - failed to replicate session

2005-08-23 Thread bulette
I get a problem with session replication in context with more than 600 requests (2 requests per session => 300 sessions). Up to this count all things are ready. After that the performance break in (strong) and i can't get any HTTPSession. How can i solve this problem and what is the reason? I u

[JBoss-user] [EJB/JBoss] - Re: Help needed for running a client to access MDB

2005-08-23 Thread darranl
If you navigate to http://localhost:8080/jmx-console/ this gives you access to the MBeans deployed on JBoss. Scroll down the page and find 'service=JNDIView' and click on it. This MBean gives you access to see what is bound to JNDI. Click in the 'Invoke' button under 'list()' the output will

[JBoss-user] [Installation, Configuration & Deployment] - Re: Change datasource on application run-time

2005-08-23 Thread raja05
AFAIK, the bindings to the datasource happens during deploy time and not invoke time. so i guess this is out of the specification. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891227#3891227 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [JBoss Portal] - jsp servlet portal example

2005-08-23 Thread ramesa
any one having jsp servlet portal example View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891226#3891226 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891226 --- S

[JBoss-user] [JBossCache] - Re: Distributed JBOSS and sharing object

2005-08-23 Thread spothineni
Thanks Ben, I will have a look and may contact you incase I need any help. by the way, we are using hsahtable not hashmap. So if i user treecahceaop will it care of syn View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891225#3891225 Reply to the post : http:/

[JBoss-user] [JBoss Portal] - Re: error while running helloworld jsp

2005-08-23 Thread ramesa
java.lang.IllegalStateException: No content type defined at org.jboss.portal.server.output.FragmentResult.getWriter(FragmentResult.java:93) at org.jboss.portal.portlet.impl.RenderResponseImpl.getWriter(RenderResponseImpl.java:81) at org.jboss.portal.portlet.impl.Dispatche

[JBoss-user] [JBoss Portal] - Re: install jbossportal source code ...

2005-08-23 Thread lttnd
"martin0721" wrote : I had the same problem . Would you like help me by give me your solution in detail? What's meaning of "a simple link for java" | thanks a lot in advance! Simple link means ; for example ; you go to /usr/java directory that is where contains jdks ; you have a jdk has insta

[JBoss-user] [EJB/JBoss] - Re: How to force immediate commit of an entity bean to the p

2005-08-23 Thread bgrieder
Hi, Thanks for your reply. I thought about that too and tried to implement a container configuration (details below) with option D and optiond-refresh-rate set at 30 (seconds). I have been watching ejbStore on the entity bean, but nothing happened Any Clue? Cheers Bruno | |

[JBoss-user] [Security & JAAS/JBoss] - multiple users login

2005-08-23 Thread tremalnaik
Hi, I decided to let multiple logins for the same user. This is because the client asked me to define a 'administrator' account which many users may access from different Clients in the Internet. Different users whith the same name are logged in using different sessions. I noticed that if a user

[JBoss-user] [Security & JAAS/JBoss] - LoginModule accessing EJB

2005-08-23 Thread tremalnaik
Hi, I have to deploy an application in a clustered environment: web and ejb tier live on separate JVMs (two phisically separate PCs). I developed a LoginModule which accesses to login credentials stored in a Database. Now I'd like to deploy the LM only on the EJB tier PC to avoid installation of

[JBoss-user] [Installation, Configuration & Deployment] - Getting Error to Deploy BMP EJB

2005-08-23 Thread Manmohan LAL
Hello I have tried run BMP EJB but getting following errors at run time. Please advise me where did I made mistake. Thanks 11:36:05,031 ERROR [LogInterceptor] EJBException in method: public abstract bmp. Account bmp.AccountHome.create(java.lang.String,java.lang.String,java.lang.Strin g,doub

[JBoss-user] [JBossCache] - multiple eviction policies

2005-08-23 Thread yongw
Hi, is it possble to have multiple regions and each region has its own eviction policy? If it is possible, how can I configure it in the configuration xml. Many thanks, Yong View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891216#3891216 Reply to the post :

[JBoss-user] [Installation, Configuration & Deployment] - Change datasource on application run-time

2005-08-23 Thread Castelein
The situation is as follows: I have an EJB which I want to deploy on multiple databases. When I locate the EJB I would like to specify which database I'd like to use. Also, I only want to define one EJB in the deployment descriptors. When the application is running I want to say get my EJB A fro

[JBoss-user] [Beginners Corner] - Configuring JNDI ConnectionFactory

2005-08-23 Thread shaunbarker
Hi I am a JBoss newbie and am struggling finding out where and how to configure a ConnectionFactory. I need to create one with a name and then be able to refer to it to create a session and so forth. I have a jndi.properties file that looks like this: java.naming.factory.initial=org.jnp.interfa

[JBoss-user] [Beginners Corner] - Trying to deploy my first ejb package

2005-08-23 Thread phon
hello, i keep getting the same error when trying to deploy my fist .ejb3 package, it contains only 1 session bean with 1 business interface. i create the package following the EJB3 Eclipse IDE Trailblazer. the package name is profitplus.ejb3 and it contains my two classes. i also intstalled

[JBoss-user] [EJB/JBoss] - Re: user control of invoking ejbstroe() method

2005-08-23 Thread thanukshad
i'm using BMP EJB's but when i changed standardjboss.xml according to ur reply still ejbStore is called after calling a finder method i have set the commit option to B in Standard BMP EntityBean container pls advice View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [Installation, Configuration & Deployment] - Re: Not able to run my war folder properly

2005-08-23 Thread muru_vichu
Hi, I am also facing the same exception while deploying war file in jboss 4.0.2.Any help is much appreciated. 2005-08-16 12:48:55,510 DEBUG [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Failed to scan: jsf-libs/myfaces-impl.jar java.io.FileNotFoundException: Thanks Ciji View the original

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - oracle-table-sequence entity command broken?

2005-08-23 Thread joris77
Hi, I'm trying to use the entity command oracle-table-sequence to use sequences for my entity beans. I work with the following components: Windows XP Jboss 4.0.2 Sun JVM 1.4.2 XDoclet 1.2.3 Oracle database 9.2.0.6 My jbosscmp file looks like this: http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4

[JBoss-user] [Installation, Configuration & Deployment] - Re: Jboss deployment error

2005-08-23 Thread mandarkul
My Jboss version is 3.2.6. Also, jdk 1.4 & 1.5 is installed on my machine. org.jboss.deployment.DeploymentException: www.jboss.org; - nested throwable: (java.net.UnknownHostException: www.jboss.org) at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316) at org.jbo

[JBoss-user] [Beginners Corner] - Re: Post EAR-deploy / pre EAR-undeploy activities

2005-08-23 Thread jcoffee
Sorry, I didn't want to be sarcastic. I'm just a bit lost: Your query points me directly to the Wiki page ReceiveJMXDeploymentNotifications. That's where I started a couple of days before. I deploy a JMX based NotificationListener in an SAR registering with the EARDeployer. And it works fine fo

[JBoss-user] [Clustering/JBoss] - Re: Clustering EJB3 Tutorial Not Working

2005-08-23 Thread shashi kanth
I am not able to fing the Clustering tutorial of EJB3 in Jboss site . Please anybody give the URL? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891193#3891193 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891193 -

[JBoss-user] [Clustering/JBoss] - Re: Clustering EJB3 JBoss 4.0.3

2005-08-23 Thread shashi kanth
I am not able find the Clustering example from EJB3 Tutorial . Please anybody give me the URL? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891192#3891192 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891192 -

[JBoss-user] [JBossWS] - Re: Namespace problem with JBossWS generated SOAP

2005-08-23 Thread dietmarposselt
Hi, Sorry for the delay. I was on vacation :-) | | http://schemas.xmlsoap.org/wsdl/"; xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"; xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:jms="http://www.o

[JBoss-user] [EJB/JBoss] - Re: user control of invoking ejbstroe() method

2005-08-23 Thread vickyk
Well you got to see the commit options , I think I have replied to your post earlier . You can't control the call to the ejbStore in the deployment descriptor but can be configured in the container configuration file . You can search standardjboss.xml for the anonymous wrote : | |

[JBoss-user] [EJB/JBoss] - Re: How to force immediate commit of an entity bean to the p

2005-08-23 Thread vickyk
Can you check the Commit Options in the EJB specs for the details , the Jboss does support additional commit option D? Regards Vicky View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891196#3891196 Reply to the post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Beginners Corner] - Re: Sending e-mail from bean

2005-08-23 Thread Cinimod
but i want to set the serverproperties as servername and the password/username dynamically. If the user is connecting he provides these parameters. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891195#3891195 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [JBossCache] - Re: transaction and replication in one application

2005-08-23 Thread [EMAIL PROTECTED]
Yes, with isolation level SERIALIZABLE, B should wait accessing "a" (either read or write) until A completes. There are unit tests that do exactly that, also for the replicated case. Look under org.jboss.cache.replicated. If you don't find one, it would be nice if you could submit a unit test th