[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - which jar the persistence classes belong to?

2005-08-29 Thread mahanare
Hi, I am trying to run Jboss ejb 3.0 sample (artilces). but my eclipse says it cant find the following classes. may i know which jar this classes belong too. import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratorType; import javax.persistence.Id; imp

[JBoss-user] [Installation, Configuration & Deployment] - Re: how to deploy sample servlet in Jboss-4.0.2 application

2005-08-29 Thread katampavan
iam new to JBOSS , i installed jboss-4.0.2 successfully, but i struck in running a sample servlet. i.e i donno where to place the class file. can any one help me by giving complete steps right from compilation to displaying of servlet output in web browser. if i place the class files in server\d

[JBoss-user] [EJB/JBoss] - XDoclet 1.2.3 read-ahead tag

2005-08-29 Thread bbbear
Hi, This question might not suitable to ask here but this is related to entity bean. Has anyone use this tag with Entity beans before? * @jboss.read-ahead strategy="on-find" page-size="10" * @jboss.target-relation-read-ahead strategy="on-find" Care to share how to trace the effect? I've look

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configuring UI2Service

2005-08-29 Thread sachinvshah
Hi, Any one got the solution to this?? sachin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892184#3892184 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892184 -

[JBoss-user] [EJB/JBoss] - Re: Access EJB from Servlet on different JBOSS server

2005-08-29 Thread achetan
I am using JBOSS 4.0.1 version View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892183#3892183 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892183 --- SF.Net email i

[JBoss-user] [EJB/JBoss] - Re: Access EJB from Servlet on different JBOSS server

2005-08-29 Thread achetan
I am using JBOSS 4.0.1 version View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892182#3892182 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892182 --- SF.Net email i

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

2005-08-29 Thread Ganton
Turns out it was a faulty attribute in the jboss-service.xml, but I have to tell you, the error message for failing the dependency was difficult if not impossible to find in the server logs. Thank you for your response View the original post : http://www.jboss.org/index.html?module=bb&op=view

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans

2005-08-29 Thread genman
erik777 - it seems simple enough to create a delegate class. Basically, create an MDB class that wraps another (does not subclass). anonymous wrote : if a patch becomes available I suggest you write your own. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [JBossWS] - SimpleDeserializer Exception

2005-08-29 Thread shawn_white
Trying to get a simple webservice running using JBossWS but getting the following exception on the server side. I was testing out a Complex Type with an array. org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deseriali

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problem with Postgresql boolen type with Jboss

2005-08-29 Thread jsoltero
This post is pretty old, but in case someone else runs into this... append ?protocolVersion=2 to your jdbc connect string defined in your datasource. this is problem springs from the new 8.0.x JDBC driver, it didnt happen to us with the 7.4 JDBC driver View the original post : http://www.jbos

[JBoss-user] [Installation, Configuration & Deployment] - JBossCacheManager error...

2005-08-29 Thread coyotelp
hello, I've just write the sample project to create an EJB / Servlet based on http://docs.jboss.com/jbosside/tutorial/build/en/html/index.html documentation. I have Eclipse 3.0 (with jboss plugin) and Jboss 1.4.0.2 I have the following errors during the deployment of the ear file. I have che

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Associate object, in Hibernate, via a Map of Sets: Map

2005-08-29 Thread evantoliopoulos
Hi, Does anyone know how to associate, in Hibernate, to two classes via a map of sets: SortedMap I have serached the forums and read all the Hibernate doco, but could not find such a thing explained. To give some context: | +--+ has +--+ departs from +--

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: DataSource problem in Jboss 4.0

2005-08-29 Thread mpelzsherman
Exactly the same problem here. I'm not using a Hibernate .sar file. I've tried putting my hibernate-service.xml file inside a ".har" archive, exploded or not, with the same result. Any solutions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892173#3892173

[JBoss-user] [JBossWS] - Is it posible to initialize a web service?

2005-08-29 Thread alexmartin_6
Hi. I'm fairly new to j2ee tech. I'm providing a service through a JBossWS, but I need to initialize the internal state of the object that implements the web service. I've thought to publish a method for triggering initialization from the client side but this "solution?" seems too ugly even for

[JBoss-user] [Installation, Configuration & Deployment] - Re: EJB deployment problem

2005-08-29 Thread pwallace
P.S the XML rendered OK this time! It was validated as per the DTD using my IDE. Any further thoughts please? What should be contained in the manifest? many thanks Paul. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892163#3892163 Reply to the post : http

[JBoss-user] [Installation, Configuration & Deployment] - Re: EJB deployment problem

2005-08-29 Thread pwallace
hi & thanks, The home and remote tags along with description had their tags stripped when rendering on the HTML page! Very odd. Here is the XML, spaced, which will hopefully render it as it is packaged: < description >this is a test< /description > Te

[JBoss-user] [Beginners Corner] - Re: EJB deployment problem

2005-08-29 Thread pwallace
Hi & thanks, As my IDE (IntelliJ) built the classes, all is as should be. I double checked after your advice and they were all fine. Any ideas? thanks Paul. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892161#3892161 Reply to the post : htt

[JBoss-user] [JNDI/Naming/Network] - Re: ConcurrentModificationException in org.jboss.ha.jndi.Det

2005-08-29 Thread [EMAIL PROTECTED]
There is a fix for this issue in 4.0.3RC2, so try that. http://jira.jboss.com/jira/browse/JBAS-1823 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892157#3892157 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892157 -

[JBoss-user] [Beginners Corner] - Application config: where?

2005-08-29 Thread eelgueta
Hi All, In a web application, I can put servlet parameters in the web.xml file. Is there any similar place form EJB apps? Is it different for EJB 1.4 and 3.0? TIA Ed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892154#3892154 Reply to the post : http:/

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: ORA-00972: identifier too long with CMR relationship

2005-08-29 Thread akasmat
Hi, I seem to be having similar issues on JBoss 3.2.4 and Oracle 9i. Try as I could, I couldn't figure out a way to restric the CMR alias names. Here;s the query being generated SQL: SELECT ORGANIZATIONAL_UNIT.ORG_UNT_ID, ORGANIZATIONAL_UNIT.ORG_UNT_PAR_ID, ORGANIZATIONAL_UNIT_organizationalU

[JBoss-user] [Clustering/JBoss] - Re: deploy-hasingleton and loader-repository's

2005-08-29 Thread pshrimpton
Anyone got any thoughts on this? Or should I repost on another forum, post a bug report? Cheers Phil View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892149#3892149 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892149

[JBoss-user] [JCA/JBoss] - Problem using a custom Classloaderrepository with a JCA Adap

2005-08-29 Thread FelderR
We implemented the JCA Adapter from Chapter 7 of the Admin Devel Book for JBoss. The JCA Adapter is accessed from an EJB that is located within an EAR file. Everything works fine as long as we do not use a custom Classloader Repository for the EAR file. If we set at.sozvers:loader=test.e

[JBoss-user] [Installation, Configuration & Deployment] - Problems with deployment of Sun's treetag.jar on migration t

2005-08-29 Thread rnaufal
Hi people, I´m having some problems with the deployment of the lib treetag.jar on JBoss 4.0.2 in my work. We were used to deploy it on JBoss 3.2.5 (the jar was on /WEB-INF/lib directory). Last week, we migrated our application to JBoss 4.0.2 and up to now this library hasn´t worked yet. But, w

[JBoss-user] [Installation, Configuration & Deployment] - Multiple Instances of JBoss Question.

2005-08-29 Thread gregopad39
We are running 3.2.7RC1 I've setup 3 servers running on the same machine with different ip ports as outlined on the wiki. We have uat running at 8080 which is the default config. demo is running at 8180, and training is running at 8280. My question is - do I need to alter the server.xml and port

[JBoss-user] [Beginners Corner] - Many-To-Many Relation with DATE to Insert

2005-08-29 Thread giscard_aioba
Hi guys, I am developing a simple application and got a doubt I have two Entity beans (I am using CMP): + Employee (id[PK], name, ...) + Job (id[PK], name, ...) The relation between this two beans are M:N so when I created a relational databse I gotted the three follow table

[JBoss-user] [Installation, Configuration & Deployment] - WARN [JDBCExceptionReporter] SQL Warning: 17110, SQLState:

2005-08-29 Thread cruiz13
Hibernate version:2.1.6 Code between sessionFactory.openSession() and session.close(): objlSession.createQuery("SELECT compte, sum(mouvement.montant) FROM Compte compte left join compte.mouvements mouvement WHERE compte.exercice.id = ? GROUP BY compte.id, compte.numero, compte.gele, compte.intit

[JBoss-user] [Security & JAAS/JBoss] - possible expliot with database login module?

2005-08-29 Thread kookywon
We're trying to determine if we have a cross site scripting issue with the database login module. We're using jboss 3.2.6. Here's what we've been seeing: A user authenticates by form based authenication with the DatabaseServerLoginModule. During the login process we display the username/rol

[JBoss-user] [Installation, Configuration & Deployment] - JNDI JDBC Datasource question

2005-08-29 Thread mattowen
I am having trouble getting my JDBC Datasource working properly and I was wondering if you might be able to assist. I'm sure it's something simple I'm missing. | | | Here are the specifics. | | This is my entry in my web.xml: | | | | DB Connection | jdbc/SSOP

[JBoss-user] [Installation, Configuration & Deployment] - EJB jar and War classpath issues with deployment verificatio

2005-08-29 Thread erik777
We're upgrading from JBoss 3.2.3 to JBoss 4.0.2. We have lots of ears with wars and ejb jars, as well as some standalone wars, and a hibernate.sar. We'd like to enable isolation. However, we've discovered a lot of classpath issues that were hidden by 3.2.3's non-compliance. It's often clear w

[JBoss-user] [Installation, Configuration & Deployment] - Problems with informix xa-datasource

2005-08-29 Thread amendez
Hi, I configured a XA-DATASOURCE to Informix DataBase and when I looking for JNDI NAME InformixXADS in JNDIView I see that the name InformixXADS is linked to class javax.sql.DataSource Instead of javax.sql.XADataSource. Somebody know why happen this ? Thanks Alexis View the original post :

[JBoss-user] [Clustering/JBoss] - JRMPProxyFactory ProxyFactoryHA

2005-08-29 Thread dmelzer
I've used org.jboss.invocation.jrmp.server.JRMPProxyFactory to provide an RMI proxy to an XMBean. I'd now like to explore introducing a failover capability for my proxy. Is it appropriate to replace JRMPProxyFactory with org.jboss.proxy.generic.ProxyFactoryHA or is there a better approach? I'm

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - dISPLAYING iMAGES IN jsP

2005-08-29 Thread prathiviji
Hi I want the images to be displayed in the web browser this is my coding i am using jboss-4.0.0 <%@ page contentType="text/html;charset=UTF-8" language="java" %> Untitled Document Refined View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Management, JMX/JBoss] - Scheduler not able to Find Classes

2005-08-29 Thread infosolve
Hello , I am trying to use the Jboss Scheduler to run certain jobs. I have some classes that need to be run by the scheduler. The Scheduler is able to find these classes when I put the Jar file in the default/lib directory. But when I take it out from the directory and instead deploy as a Ear

[JBoss-user] [JNDI/Naming/Network] - Re: Accessing EJB through HTTPS Invoker...

2005-08-29 Thread benoitx
Hi Oliver Thanks for your reply (only read it today,...just back from a few days off...) It looks very promising, I will try your solution and try to use HTTPs with it. I shall report my findings here! regards from London Benoit View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [JBossCache] - Treecache Lock Error

2005-08-29 Thread fmaredia
System Configuration: JBoss AS 4.0.3 RC1 Hibernate 2.1.8 MySQL 4.1.7 TreeCache (local) Sometimes we get read lock errors from our Cache. It happens when a user logs in or it just happens after a while. Everything works after "refreshing" the browser, but why does the following error occur: 12

[JBoss-user] [Beginners Corner] - Treecache Lock Error

2005-08-29 Thread fmaredia
System Configuration: JBoss AS 4.0.3 RC1 Hibernate 2.1.8 MySQL 4.1.7 TreeCache (local) Sometimes we get read lock errors from our Cache. It happens when a user logs in or it just happens after a while. Everything works after "refreshing" the browser, but why does the following error occur: 12

[JBoss-user] [Security & JAAS/JBoss] - Problem when users do not logout

2005-08-29 Thread kvikram
Hi, We have an web application running on JBoss 3.2.3 which authenticates against a LDAP server using form based authentication and JAAS. There is a custom login module which extends org.jboss.security.auth.spi.UsernamePasswordLoginModule to achieve the same and has been configured using login

[JBoss-user] [Beginners Corner] - Re: Newbie Help with CMP

2005-08-29 Thread jim.owen
Thanks Roger. I've been going through it already - it's quite a read. - jim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892122#3892122 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892122 --

[JBoss-user] [Security & JAAS/JBoss] - Re: Failed authentication due to destroyed database connecti

2005-08-29 Thread moojid
here is the stack trace if that helps: 09:33:00,750 WARN [LocalManagedConnectionFactory] Destroying connection that is not valid, due to the following exception: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Issues rolesQuery with a hashed username from Datab

2005-08-29 Thread msly
Is there a way to see what is being passed throught the JAAS classes, or to get at the values? I turned the the logging for security to debug. Is there any other way to test this stuff. I am not sure what is being retrurned from the rolesQuery. View the original post : http://www.jboss.org/ind

[JBoss-user] [EJB/JBoss] - Re: Access EJB from Servlet on different JBOSS server

2005-08-29 Thread darranl
POST YOUR JBOSS VERSION Also have a look at: - http://jira.jboss.com/jira/browse/JBAS-1442 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892108#3892108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892108

[JBoss-user] [EJB/JBoss] - Re: the deployment problem

2005-08-29 Thread darranl
What do you mean by '(refuse to be called?)'? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892107#3892107 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892107 -

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: ex04_2 deployment problem

2005-08-29 Thread darranl
Are you sure you have not accidentally compiled your bean using Java 5? The part of the error that says (Unsupported major.minor version 49.0) suggests to me that you have. Either compile with the same JDK version you are running JBoss with or change the JAVA_HOME so that JBoss runs with Java 5

[JBoss-user] [Installation, Configuration & Deployment] - Re: how to deploy sample servlet in Jboss-4.0.2 application

2005-08-29 Thread darranl
You can't just dump your class file in the deploy folder like that. You need to package it correctly in a war file with a web.xml to configure the servlet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892105#3892105 Reply to the post : http://www.jboss.or

[JBoss-user] [JNDI/Naming/Network] - ConcurrentModificationException in org.jboss.ha.jndi.Detache

2005-08-29 Thread kkoster
I am getting intermittent exceptions (stack trace to follow) on the server side when using HA JNDI any a moderate number of multithreaded clients that have fairly uniform request profiles from the server. I am using JBoss 4.0.3RC1 with EJB3 RC1. Any constructive help would be appreciated. The

[JBoss-user] [Clustering/JBoss] - Re: 3 Clustered JBoss Behind a firewall

2005-08-29 Thread aarox
OK, problem solved... I assigned TCP port 1199 in ?deploy/cluster-service.xml? instead of zero as the RMIPort for HAJNDI. Then opened on the firewall that port and also opened UDP port 1102. Hope this information helps someone else. Aaron View the original post : http://www.jboss.org/index.h

[JBoss-user] [JBossCache] - Re: Problem with shunning in jgroups

2005-08-29 Thread milowe
Nevermind, problem solved. Thanks anyway View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892101#3892101 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892101 --- SF.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans

2005-08-29 Thread erik777
That's an option we'll consider if a patch becomes available. Until then, does anyone have any suspicion as to the cause or possible way around it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892098#3892098 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [JBossCache] - Re: Problem with shunning in jgroups

2005-08-29 Thread milowe
Thanks for the pointer Bela :) I am running this test with Andreas. Our test cases always simulated hardware failure and produced subgroups, thats why we never got any shunning. We have changed the test case and can now see that a node is being shunned. We have some problem with the ChannelLis

[JBoss-user] [EJB/JBoss] - Re: ClassCastException for EJB3.0 sessionbean lookup

2005-08-29 Thread mboni
This looks familiar, I think I ran into it at some point, but don't recall exactly what was wrong. Make sure your client is doing a JNDI lookup on the remote interface class name, not the local interface or the bean itself. Also, make sure you are casting the result of the JNDI lookup to the r

[JBoss-user] [Security & JAAS/JBoss] - JBoss does not use keyPassword for KeyRepository

2005-08-29 Thread tdursun
I tried to use key repository in JBoss with SSL. I think that JBoss does not use keyPassword. Instead, it replicates the keyStorePassword and uses it as ketPassword. Because JaasSecurityDomain has not got an attribute of keyPassword. Is this correct? View the original post : http://www.jboss.

[JBoss-user] [JNDI/Naming/Network] - Re: Accessing EJB through HTTPS Invoker...

2005-08-29 Thread martinh
Hi, i don't kno wif this could help, but i've a JBoss behind a Firewall, i'm using JNDIFactory (JNDI over HTTP) and there is no documentation abot this, you have to open the port in your firewall pointing to Jboss server, i didn't know that, i've noticed scanning the port acces while trying

[JBoss-user] [Security & JAAS/JBoss] - Configuring two ways authentication when using JBoss + SSL

2005-08-29 Thread tdursun
I intend to use SSL between java clients and JBoss Server. After I read "Using SSL in JBoss" section of JBoss AdminGuide, I add a JRMPInvoker MBean into jboss-services.xml. In the configuration of this JRMPInvoker, I set RMIServerSocketFactory as RMISSLServerSocketFactory. Then, I tried to c

[JBoss-user] [Installation, Configuration & Deployment] - Re: EJB deployment problem

2005-08-29 Thread erik777
You're missing some XML. Try this: | | | this is a test | Test | TestSessionEJB | au.com.twtva.ejb.TestSessionHome | au.com.twtva.ejb.TestSession | au.com.twtva.ejb.TestSessionBean | Stateless | Container | | | | You need to use the home and remote tags. View t

[JBoss-user] [Beginners Corner] - Re: Remote call between isolated EARs

2005-08-29 Thread erik777
We're having the same problem in 4.0.2. We need to use remote invocation between ears because the ears may or may not be deployed in the same JBoss instance at a customer site. I don't want to use external references in the ejb-jar.xml, because we read our configuration in and prefer to dyna

[JBoss-user] [EJB/JBoss] - Re: EJBQL

2005-08-29 Thread jactor
I have created a temporary solution that ignores the extra beans if it has an id that is already used. This will work well with few users, but when the load ascends, it will be a problem... I have no clue to what is wrong so please give me a hint... I am going to sing a Beatles song... HELP...

[JBoss-user] [Clustering/JBoss] - Re: Load balancing and Failover

2005-08-29 Thread gunjan_iitk
Hi David, Thanks for your reply. My tc5-cluster-service.xml is jboss:service=Naming jboss:service=TransactionManager org.jboss.cache.JBossTransactionManagerLookup REPEATABLE_READ REPL_ASYNC

[JBoss-user] [Clustering/JBoss] - Re: Load balancing and Failover

2005-08-29 Thread davewebb
Please post you tc5-cluster-service.xml file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892085#3892085 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892085 ---

[JBoss-user] [Installation, Configuration & Deployment] - Re: URLDeploymentScanner absolute path and log4j error

2005-08-29 Thread vanduyns
I tested those 2 syntaxes (with and without "/" at the end of Url) Every time the application is well deployed but no log file appear View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892086#3892086 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Clustering/JBoss] - Load balancing and Failover

2005-08-29 Thread gunjan_iitk
Hi all, I have two jboss4.0.2 instances running on two different machines with ip 10.1.1.131 and 10.1.1.69. I am using mod_jk_1.2 load balancer and Apache webserver. I have deployed my ear on node1 which is 10.1.1.131 and its successfully deployed on node2 also. I have got my EJBs clustered by

[JBoss-user] [JCA/JBoss] - Re: JDBC Connection Pool and Data source configuration.

2005-08-29 Thread alchemista
First answer is RTFM ;) Second answer is that you configure the connection pool inside of the datasource. Look at the manual for how to specify connection pool options. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892083#3892083 Reply to the post : http:/

[JBoss-user] [Management, JMX/JBoss] - Re: Trap OID when using v2c in SNMP Adaptor

2005-08-29 Thread [EMAIL PROTECTED]
You are right. The simplest solution would be to just instantiate twice the snmp-adapter with one instance configured with the managers using v1 and the other v2. I think what's more important now is to get on the wiki some real use-cases, so if you get to configure it correctly for v2 traps, w

[JBoss-user] [JBossCache] - Re: Problem with shunning in jgroups

2005-08-29 Thread [EMAIL PROTECTED]
This is not how shunning works: a member P is only shunned if P is excluded from the group and then (at some later time) comes back and claims to still be in the same group. So in you case, this happens when you put the plug back in. More info at: http://wiki.jboss.org/wiki/Wiki.jsp?page=Shunning

[JBoss-user] [Beginners Corner] - JBOSS 4/EJB 2.1/TimedObject MDB Configuration

2005-08-29 Thread mjrpain
I have been scouring the internet for days trying to glean any information about how to define an MDB that's tied to a JBOSS Timer Service. I want the MDB to check for some email which is not a problem. But how do tie the MDB onMessage() to a Timer in JBOSS without launching a seperate thread?

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

2005-08-29 Thread rcostanzo
Thanks for the reply. How do I adjust the keep alive and connection timeout settings? Are these configurations for Tomcat or of mod JK? Here's a snippet from my workers.properties with the timeout configs I've already implemented: worker.maintain=60 # Define a worker using ajp13 worker.webapp

[JBoss-user] [EJB/JBoss] - Access EJB from Servlet on different JBOSS server

2005-08-29 Thread achetan
Hi , I have two JBOSS instances running on two different machines (Say A , B). I have deployed same EJBS on both machines. I have one servlet at machine A in which i am tring to access one EJB in both servers. I am getting initial context to both the server using : Context c = new Initial

[JBoss-user] [JBossCache] - Problem with shunning in jgroups

2005-08-29 Thread [EMAIL PROTECTED]
I have a cluster using jgroups(2.2.8) with members {A, B, C}. When I unplug the network on {C} and leave it disconnected for about 20 seconds before reconnecting the network the following occurs: {A, B} consider themselves as a cluster and {C} considers itself as an other cluster and any messag

[JBoss-user] [EJB/JBoss] - Re: What's the default value of

2005-08-29 Thread joinow
I find the link: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834024#3834024 But I can't find the answer in spec EJB2.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892065#3892065 Reply to the post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Installation, Configuration & Deployment] - JBoss Installer based on Wix Toolkit / Windows Installer

2005-08-29 Thread void
Hi together, I'm thinking of building a Windows Installer Package for JBoss based on the Wix Toolkit from Microsoft. My goal is to make the installation of JBoss as easy as installing Microsoft IIS on Windows. I think of including: - checking if Java is installed - integrating JBoss as Windows

[JBoss-user] [EJB/JBoss] - ClassCastException for EJB3.0 sessionbean lookup

2005-08-29 Thread nagaraj_dv
Hi, While accessing the EJB3.0 stateless session bean from my client program, I get the following exception, java.lang.ClassCastException: $Proxy120 at com.ttk.action.administration.UserAction.getUserObject(UserAction.java:357) at com.ttk.action.administration.UserAction.execute(UserAct

[JBoss-user] [EJB/JBoss] - What's the default value of "" for MD

2005-08-29 Thread joinow
Hi Buddies, I have a MDBean with its descriptor: ... Container ... But I do not set "". (nothing for that MDBean here) What will be used as default value by JBoss? Requied or Unsupported? Thanks, Justin View the original post : http://www.jboss.org/index.html?module=bb&op

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

2005-08-29 Thread xenon131
Hi Ben, when i try it with JBoss 4.0.2 i get a ClassCastException while cast the result of lookup to any of my home-interface-classes. | private lookup(String name) { | EJBHome home = null; | Object ref = context.lookup(name); | EJBMetaData meta = ((EJBHome) ref).getEJBMetaDa

[JBoss-user] [JBossCache] - Re: Problems with eviction

2005-08-29 Thread [EMAIL PROTECTED]
well, obviously member 10.0.20.90:40519 held a lock, so you need to investigate what heppens on 10.0.20.90:40519. If 10.0.20.90:40519 is the coordinator, then it will read-lock its tree briefly to return the state to a new member. Otherwise, read-locks are generally acquired for get() methods, w

[JBoss-user] [JBossWS] - Re: Created WSDL. Now what?!

2005-08-29 Thread jK.MkIII
I have real problems trying to figure out what to do. I have done webservices earlier with jboss.net and now in new place I need to figure out how to do it with latest jboss version (have 4.0.3RC2) and JBossWS. I have wsdl file from which I created classes using wscompile from jwsdp 1.6. I hav

[JBoss-user] [JBoss Portal] - Re: Portlet is registered but not dispalying/rendering on th

2005-08-29 Thread supremo
I figured out the problem, I had my myapp i.e my war file name listed in the jboss-app.xml when I change it back to the portlet name it works fine. HOW do I package multiple portlets in a war file? I have the exploded version of the dir placed under deploy directory. View the original post : h

[JBoss-user] [EJB/JBoss] - the deployment problem

2005-08-29 Thread wuchuanzi
when the project running, system report the fault: 1,Unable to deploy C:\Documents and Settings\Administrator\jbproject\Trader\ETrader.ear to D:\jboss-4.0.3RC2\server\default\deploy\ETrader.ear 2,D:\jboss-4.0.3RC2\server\default\deploy\ETrader.ear (refuse to be called?) anybody knows the

[JBoss-user] [EJB/JBoss] - the same and difference problem

2005-08-29 Thread wuchuanzi
although my problem is about deployment,but the difference is that the ear file is refused to be called. look through my relative problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892053#3892053 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [JBossWS] - Re: Web service client error, Jboss doesn't conform WS-I

2005-08-29 Thread [EMAIL PROTECTED]
Yes, that would be a bug. Could you please create a JIRA issue and attach a sample deployment that allows us to reproduce what you are seeing. Idealy, the sample deployment is a webapp packaged as a war that will show the issue when we click on a link. The war should also contain the sources.

[JBoss-user] [JBossWS] - Re: could not find deserializer for type

2005-08-29 Thread [EMAIL PROTECTED]
You could: 1. check if there is a mapping for the missing type in jaxrpc-mapping.xml 2. check if the mapped type is in your deployment 3. check the generated *.wsdd in ${jboss.data.dir}/wsdl for the missing type You could also use [ code ] instead of [ quote ] when posting View the original post

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Startup servlet invoking Secured EJB

2005-08-29 Thread jaikiran
Is this a FAQ, or a silly question? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892049#3892049 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892049 --- SF.Net em

[JBoss-user] [EJB/JBoss] - Re: Startup servlet invoking Secured EJB

2005-08-29 Thread jaikiran
Is this a FAQ, or a silly question? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892048#3892048 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892048 --- SF.Net em

[JBoss-user] [Management, JMX/JBoss] - Re: Trap OID when using v2c in SNMP Adaptor

2005-08-29 Thread amyrlinseat
Yes, I understand it now. Thanks Dimitris for the quick reply. Also see these URLs: http://www.zvon.org/tmRFC/RFC3584/Output/index.html (section 3) http://www.zvon.org/tmRFC/RFC2089/Output/chapter3.html But, this means that my mapping nodes in notifications.xml depend on my choice of a version in

[JBoss-user] [Beginners Corner] - Re: EJB deployment problem

2005-08-29 Thread john19990330
hi pal, make sure your ejb home interface extends from EJBHome, remote interface extends from EJBObject, and Bean class implements SessionBean. This is important, I also ignored that at very beginning. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892041#

[JBoss-user] [Management, JMX/JBoss] - Re: Trap OID when using v2c in SNMP Adaptor

2005-08-29 Thread [EMAIL PROTECTED]
If I remember, when using v2 the properties of the trap, have to be defined in its var-bind list instead. See for example http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa5.shtml#topic1 It would be good to come out with a working example to post it on the wiki.

[JBoss-user] [JBossCache] - Error while reading data from cache

2005-08-29 Thread Skipy
I have the following error when reading data: | 2005-08-26 13:01:25,316 ERROR [.jboss.cache.lock.IdentityLock] (t:32745911 u:2629 s:subscriber b:jbroker) read lock for /sub | scriber/user/2629 could not be acquired by <10.0.20.91:34420>:48 after 15000 ms. Locks: Read lock owners: [] | Wr

[JBoss-user] [Security & JAAS/JBoss] - Re: Multiple logins cause SRP sessions to accummulate in SRP

2005-08-29 Thread c-ackerman
There is a similar problem in using the TimedCachePolicy as the credential cache in the JaasSecurityManager when using SRP. The TimedCachePolicy only removes entries when an existing entry is replaced by a new one for the same Principal, but the SRPPrincipal object will differ every time because

[JBoss-user] [JBossCache] - Problems with eviction

2005-08-29 Thread Skipy
I have the following message in the log a lot of times: | 2005-08-26 23:12:55,003 ERROR [.jboss.cache.lock.IdentityLock] () read lock for /subscriber/user/2629 could not be acquired | by Thread[Thread-12,5,main] after 15000 ms. Locks: Read lock owners: [] | Write lock owner: <10.0.20.90:4

[JBoss-user] [JBossCache] - Re: Listener is not notified with nodeRemoved

2005-08-29 Thread [EMAIL PROTECTED]
Yes, those are the semantics View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892026#3892026 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892026 --- SF.Net email is

[JBoss-user] [Management, JMX/JBoss] - Trap OID when using v2c in SNMP Adaptor

2005-08-29 Thread amyrlinseat
Hi all, I use JBoss (3.2.6) SNMP Adaptor to convert a JMX notification to an SNMP trap. in the file "managers.xml" I define the manager app that receives the traps, and there I can define if the trap is sent as version 1 or as version 2 (v2c): | | localhost | 1162 | |

[JBoss-user] [JBossCache] - Re: Listener is not notified with nodeRemoved

2005-08-29 Thread canghel
Hi, I think in case of remove(String fqn, Object key) only nodeModified is called; nodeRemoved is called only for remove(Fqn fqn). Initially I thought that for all remove methods nodeRemoved should be called but it makes sense that nodeRemoved is called only in case of remove(Fqn fqn). Please

[JBoss-user] [Management, JMX/JBoss] - Re: severity of snmp trap in SNMP Adaptor

2005-08-29 Thread amyrlinseat
Forgot to mention: I use JBoss 3.2.6 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892021#3892021 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892021 --- SF.Net e

[JBoss-user] [Management, JMX/JBoss] - severity of snmp trap in SNMP Adaptor

2005-08-29 Thread amyrlinseat
Hi all, I use JBoss SNMP Adaptor to convert a JMX notification to an SNMP trap. I use some other tool to catch the trap when it is sent. In this tool I see that the severity of the trap is always "Clear". Is there a way in the SNMP Adaptor to control this severity? What is the place in the code o