[JBoss-user] [JCA/JBoss] - Ignore the above!

2005-04-15 Thread mmindenhall
Nevermind! I figured it out. I was not calling the ConnectionEvent.setConnectionHandle method to associate the Connection with the event when closing the connection. Just a case of being confused and not reading the JCA spec and javadoc carefully. Apparently, JBoss calls the ConnectionEvent

[JBoss-user] [EJB/JBoss] - Re: Verification of Enterprise Beans failed

2005-04-15 Thread glj
Obj2 was defined in a different jar, so adding a Class-Path to the ejb.jar manifest resolved the issue, although I'm still a little confused. I guess any method parameters and return values get resolved at deploy time, whereas, objects inside a method are resolved at runtime? View the origi

[JBoss-user] [JBoss Portal] - Re: HelloWorld Example problem

2005-04-15 Thread gmurray13den
Hello, I'm experiencing the same problem with the "no main" exception. I just tried downloading the new version of the helloworld portlet example, but it appears to be the same as the original. Was this the file that you replaced? I'd be glad to provide more details if you need more than has

[JBoss-user] [Performance Tuning] - Re: 615 SQL-server connections

2005-04-15 Thread genman
Use the connection pool? Then you can limit the number of used connections. There should be example -ds.xml files to follow. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874150#3874150 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Invalid receiver for TemporaryQueue, violates spec

2005-04-15 Thread ekaye
This must be the difference between dealing with an open source company and a professional vendor. All you had to say was it's fixed in 3.2.4/4.0.0. We're busy dealing with our own software and don't always have the luxury of keeping up with your releases. We still have a customer on 3.0.4. Tha

[JBoss-user] [Performance Tuning] - Severe (almost unbelievable) caching performance problem

2005-04-15 Thread colinearl
When a bean is given a read-only attribute, ejbload is called before every business method, which absolutely cripples performance. In effect, the use of the read-only attribute means that there is no caching! This seems to be a clear bug, because without the read-only attribute, ejbload is only

[JBoss-user] [Messaging, JMS & JBossMQ] - Temporary queue implementation on 3.0.4

2005-04-15 Thread ekaye
Can anyone tell me whether or not the implementation of temporary queues on 3.0.4 is actually straight tcp/ip socket communication between the two processes, bypassing the application server? We are doing some tests comparing using temporary queues on 3.0.4 with just straight tcp/ip and see very

[JBoss-user] [EJB/JBoss] - ClassCastException invoking LocalHome finder methods on BMPs

2005-04-15 Thread felandres
Hi all (again...), I'm having problems on invoking BMPs finder-methods (only those that returns various Value Objects within a Collection) through their local home interface. If I call them from the home interface it works pretty fine, but when I call from the local home I get a ClassCastExcep

[JBoss-user] [Installation & Configuration] - use hibernate w/o HAR and auto generate DB schema

2005-04-15 Thread wilsonpu
Hello, We are trying to deploy hibernate serivce (or make it available) via JBoss. However, we do not want to deploy the service using the HAR methodology. We were able to deploy the hibernate service using SAR with jboss-servise.xml using the JMX service provided by Hibernate (net.sf.hi

[JBoss-user] [JBossWS] - article : securing endpoint details ... comments are needed

2005-04-15 Thread golubec
JBossWS wiki contains such tutorial as "securing endpoint access". Example at "requiring SSL" demonstrates changes in jboss.xml file , but where is the file situated that must be changed ? And can anyone provide me with details about invoking SLSB methods through jax-rpc, when i use ejb se

[JBoss-user] [Performance Tuning] - 615 SQL-server connections

2005-04-15 Thread panuv
Hi, We're running JBOSS 3 & 4 connected to the same SQL Server database. Sumultaneous db-connections went up to 615. That's too much, and slows down the system. What's the best way to limit them ? Thanks -panuv View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: org.jboss.mq.SpyJMSException: OutOfMemoryError

2005-04-15 Thread shiming
I got the similar error with single JMS client and JMS listener. I just send 1000 messages continuously (sleep 50ms before send a message) . The listener stops receiving message after about 600 messages. The listener doesn't really do anything. It just receives message and print out timestamp. T

[JBoss-user] [EJB/JBoss] - 1:n relationship and child deletion

2005-04-15 Thread eugene44
I have a very simple basic question and hope somebody will answer it. Why in one to many relationship when I delete a child, the container looks for the parent in DB? Example: two beans, Customer and Account, where Customer may have a few accounts. Customer bean has a CMR field Collect

[JBoss-user] [EJB/JBoss] - Verification of Enterprise Beans failed

2005-04-15 Thread glj
Hello All, I have an MDB that deploys just fine and works when it has the form -- import com.mycom.Obj1; import com.mycom.Obj2; public class MyMDB implements MessageDrivenBean, MessageListener { public void onMessa

[JBoss-user] [JBoss Getting Started Documentation] - Tried to MySql

2005-04-15 Thread jonghun95
I deployed roster and tried to use MySql. When I start server, I am getting the following error. What's wrong? 15:03:53,936 ERROR [DatabasePersistencePolicy] Starting failed jboss.ejb:service =EJBTimerService,persistencePolicy=database java.lang.IllegalStateException: Cannot find datasource meta

[JBoss-user] [Management, JMX/JBoss] - How to use JBOSS scheduler

2005-04-15 Thread pranags
Hi , I want to use the JBOSS scheduler from my source. And I want to schedule multiple events and the period of each even can be changed in runtime. Could someone guide me on how to achieve it with some sample code. Thanks, Prasad View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [JBoss Portal] - Re: HelloWorld Example problem

2005-04-15 Thread [EMAIL PROTECTED]
ok. Its been fixed. Re-download it and try it out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874127#3874127 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874127 --

[JBoss-user] [JCA/JBoss] - ConnectionManager losing track of connections?

2005-04-15 Thread mmindenhall
Hi, I'm working on an unusual resource adapter. Rather than a single, discrete "EIS" system, I need to connect from an app server to tens, perhaps hundreds of thousand of clients (which are set top boxes in a cable television environment). These connections are sporadic and short-lived, so I

[JBoss-user] [JBoss Portal] - Re: HelloWorld Example problem

2005-04-15 Thread [EMAIL PROTECTED]
ddanaro. I'll take a look at it and post here when I find the problem. Some things changed in the beta release that may caused this portlet to not function properly with regards to the xml descriptor. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874124#3874

[JBoss-user] [HTTPD, Servlets & JSP] - Integrating JBoss with Apache Reverse Proxy

2005-04-15 Thread rnair
We currently have Apache (Ver 1.3) in Reverse Proxy mode. I am interested in communicating with JBoss 4.0.1 (using Tomcat 5.0). JBoss has an HTTP Connector and a AJP1.3 Connector. Currently, I am using the HTTP Connector (Port # ) to access the JMX Console. Should I be using the AJP Connecto

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Cannot create a consumer for a temporary destination fro

2005-04-15 Thread lkhusid
Adrian, Actually never mind my previous post. I downloaded the source code and fixed this problem myself locally by removing the checking of whether a temporary destination belongs to the current session in the SpySession.checkDestinations() method. I can see in the bug report that you have fi

[JBoss-user] [JCA/JBoss] - Re: Can I monitor available connections in 2.4.8?

2005-04-15 Thread davidchen
If any one can clarify please. By the way, we stopped that monitor connection pool project and upgrade to jboss 3.2.6. However, I'm still interested in that topic. David View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874113#3874113 Reply to the post : http

[JBoss-user] [Management, JMX/JBoss] - Re: Jboss 3.2.6 and java 1.5.0_2 on Solaris

2005-04-15 Thread [EMAIL PROTECTED]
Hi Dimitris, I will give it a try with JBoss 3.2.7 (though I can't remember where I saw something about 3.2.6 supports 1.5 [1.5 can compile it where it can't compile 3.2.5]) Do you mind to have look at my other question: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=62733 Thanks, A

[JBoss-user] [JBossWS] - Re: HTTPS : java.net.SocketTimeoutException: Read timed out

2005-04-15 Thread jobor
Hello, I did also a test with JBoss-4.0.2RC1. The same results. I still get the time out over https. But I think I know why do get the time out. The URL below is an example of the data that is coming back asking for countries of the http connection. But if I do ask another domain I do get back

[JBoss-user] [EJB/JBoss] - ClassLoader question

2005-04-15 Thread anders.hedstrom
Hi all, I have a SLSB that tries to send an Object to a remote location, in case of there is a problem during the transfer the SLSB saves the Object to a database and starts a Timer Bean that will read the Object from the database and try to send it again. But I have some problems, I get Class

[JBoss-user] [EJB/JBoss] - Re: Creating CORBA wrapper servants for EJB objects

2005-04-15 Thread jiwils
"reverbel" wrote : anonymous wrote : | | I have been interested in contributing an MBean that provided this type of behavior for a while now. | | | Your contribution will be very welcome! (Good to see you in JBoss forums, Jimmy.) Post http://www.jboss.org/index.html?module=bb&op=view

[JBoss-user] [JBoss Getting Started Documentation] - roster DB problem

2005-04-15 Thread jonghun95
I deployed roster and am using mysql for default DB. But it does not generate tables. Where should I check? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874105#3874105 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [EJB/JBoss] - Re: Can you please give me a sample Entity Bean Source code

2005-04-15 Thread felandres
Ok, I'll send you an example of a CMP-EJB Produto. It uses the HyperSonic JBoss-native database. Bean class: -- package br.cefetrn.leilao.beans; import javax.ejb.EntityBean; import javax.ejb.EntityContext; /** http://j

[JBoss-user] [JBoss Getting Started Documentation] - Re: jbosscmp-jdbc.xml

2005-04-15 Thread [EMAIL PROTECTED]
If you aren't using the one for download from the docs.jboss.org page, then you are using the wrong one: | [startguide40]$ ls -al jbossj2ee-src.zip | -rw-r--r-- 1 orb staff 1152791 8 Feb 12:15 jbossj2ee-src.zip | [startguide40]$ sum jbossj2ee-src.zip | 36337 1126 jbossj2ee-src.zip

[JBoss-user] [JCA/JBoss] - UnsatisfiedLinkError with DB2

2005-04-15 Thread brianmcarey
Hello - Trying to use JBoss with DB2 and I get the following exception when the system tries to make a connection: 2005-04-15 09:39:23,195 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: java.lang.UnsatisfiedLinkErro

[JBoss-user] [JBossCache] - Re: overriding LRUAlgorithm

2005-04-15 Thread kkalmbach
Any word yet on getting this these changes in the code? Thanks -Kevin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874100#3874100 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874100 --

[JBoss-user] [Installation & Configuration] - Re: Scheduling an Event

2005-04-15 Thread jbriscoe
You need this jar: $JBOSS_HOME/server/$YOURSERVER/lib/scheduler-plugin.jar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874099#3874099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874099 --

[JBoss-user] [JBoss Portal] - HelloWorld Example problem

2005-04-15 Thread ddanaro
I have started the server .../bin/run.bat then I have copied the war file (helloworld.war) to the /server/default/deploy. then I have seen the portlet with his url in the page http://localhost:8080/portal. When I click it (helloworld) I see this error page "type Exception report message

[JBoss-user] [JBoss Getting Started Documentation] - Re: jbosscmp-jdbc.xml

2005-04-15 Thread jonghun95
Is it supposed to be in jbossj2ee-src.zip? It is not in there. Am I using wrong version of source code? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874097#3874097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=387409

[JBoss-user] [JNDI/Naming/Network] - How to Alias the JNDI name

2005-04-15 Thread hillel
Goal: Have one stateless session bean with a JNDI name and two aliiases to it. Acc http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch3.chapter.html#d0e10124 3.2.6.2. The org.jboss.naming.NamingAlias MBean The NamingAlias MBean is a simple utility service that allows you to create an alias in

[JBoss-user] [JBoss Portal] - Re: HelloWorld Example does not work

2005-04-15 Thread mholzner
look at 'READ ME BEFORE POSTING' ;) please help us to help you by providing the stack trace and any other information that is useful in this case View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874096#3874096 Reply to the post : http://www.jboss.org/i

[JBoss-user] [JBoss Getting Started Documentation] - Re: jbosscmp-jdbc.xml

2005-04-15 Thread [EMAIL PROTECTED]
It is in examples/ejb/cmproster/dd/team/jbosscmp-jdbc.xml if you added the JBoss component to the J2EE tutorial correctly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874094#3874094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [Beginners Corner] - xerces problem

2005-04-15 Thread trossmy
Hi guys! I got following problem: My app validates xml with dom4j using xerces parser. However one of the xerces libs that come with the JBoss distribution gets in the way and validation fails even though xml is correct. Now my question: How can I make sure, that my app uses the xerces lib that

[JBoss-user] [JBoss Portal] - HelloWorld Example does not work

2005-04-15 Thread ddanaro
Hi at all, I'm using jboss_portal_2.0-jboss_4.0.1sp1. When I try to deploy a simple Portlet to /server/default/deploy for example HelloWorld.war (from the official Site) then the server trow a ServletException How can I solve this problem. Can Anyone tell me the steps to deploy a simple p

[JBoss-user] [JBossWS] - Re: HTTPS : java.net.SocketTimeoutException: Read timed out

2005-04-15 Thread jobor
Hello, Thanks for answers. I did some work with Ethereal. The test environment on the smalltalk side has 2 urls, one without https and one with https. I only have to change the port and protocol. I did generate stubs with (jwsdp-1.5) wscompile. The smalltalk side has not a wsdl document availabl

[JBoss-user] [JBoss Getting Started Documentation] - jbosscmp-jdbc.xml

2005-04-15 Thread jonghun95
I am trying to deploy roster in example and could not find jbosscmp-jdbc.xml. Where can I find it? and where do I have to locate it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874088#3874088 Reply to the post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [JBoss Getting Started Documentation] - jbosscmp-jdbc.xml

2005-04-15 Thread jonghun95
I am trying to deploy roster in example and could not find jbosscmp.xml. Where can I find it? and where do I have to locate it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874087#3874087 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Clustering/JBoss] - Problem using HA-JNDI and Fail Over

2005-04-15 Thread roberto
Maybe i have found a bug in the cluster environment if enterprise application use HA-JNDI. I'm using JBoss AS 4.0.1sp1 with jdk 1.4.2_07 on Windows XP using "all" configuration. I have tre machine: "HostA" : Load balance base on Apache 2.0 with mod_jk 1.2.x with sticky session "ClusterB" : Jbo

[JBoss-user] [Security & JAAS/JBoss] - Logging login and logout events in 3.2.3

2005-04-15 Thread khkachn
Hi, I am using JBoss 3.2.3 and Struts. I would like to save login and logout (both manual and time out) to a database. I am using forms based authentication and created a custom login module extending AbstractServerLoginModule. The first login is save OK, but no logouts and no additional logins

[JBoss-user] [Persistence & CMP/JBoss] - problem with '/' in ejb-name

2005-04-15 Thread stundzig
Hi, I'm currently migrating our EJB-apps from jboss 2.4.6 to 4.0.1RC2. We have many entity beans. For better overview we packaged them not only in java packages but also in packages in the ejb-name. So we have e.g. an WorkItemEntityBean with ejb-name 'worklist/WorkItemBean'. In the older jboss

[JBoss-user] [EJB/JBoss] - TimerImpl problems - bug report

2005-04-15 Thread espenalb10
JBoss 4.0.1sp1 TimerImpl does not properly kill the TimerTask if Timer.cancel is called inside a transaction. Test code to reprduce: /** | * @Package: com.scap.servers.scapserver.ejb | * @CreateDate Apr 15, 2005 | * @Creator eha | * | * TODO Add more info | */ | package com.s

[JBoss-user] [Management, JMX/JBoss] - Re: RMIConnectorImpl: gone from 4?

2005-04-15 Thread adrian.bigland
I have successfully added a remote notification listener using the RMIAdaptor, but I had to do a bit of work first - there must be a better way! But in case anyone wants to know how I did it: you need a remote version of the non-remote NotificationListener interface - there is one in JBoss 4: o

[JBoss-user] [JBossWS] - Re: Unable to access classes and files in subfolders

2005-04-15 Thread [EMAIL PROTECTED]
HTTPD, Servlets & JSP http://www.jboss.org/index.html?module=bb&op=viewforum&f=50 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874073#3874073 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874073 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: Hibernate 3.0 and the 4.0.1 HARDeployer

2005-04-15 Thread Zealot
Could you possibly email SAR to me? my address is [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874072#3874072 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874072

[JBoss-user] [JCA/JBoss] - Re: Problem with hot deployment of datasource.

2005-04-15 Thread tbech
Adrian, I don't undestand your possition. I'm not 'lazy user', before making post I check forum and wiki for half a day. And as you have seen I tried to debug and UNDERSTAND what is going on after redeploying of DS. Also several other people have seen my post - no answer, so seems that noone is

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS Client connection via Proxy Server

2005-04-15 Thread andrev
Hi All I would like to know if the following is possible : I have client program that can only see the internet via a Proxy Server - is it possible at all to run a JMS Client that will be able to access a JBoss JMS Queue via HTTP. Is there some configuration parameters that I can set to get

[JBoss-user] [EJB/JBoss] - Re: Configuring dataSource For BMP EntityBeans

2005-04-15 Thread milowe
There can be more than one DS deployed at the same time so thats not the problem. I suggest that you read the log files and check that the connection is created and good. Are you sure that you connect to Hypersonic DB or are you just assuming this? Check your OracleDS and make sure its connectio

[JBoss-user] [JBossWS] - https access to service endpoints

2005-04-15 Thread golubec
I am new to JBOSS and want to make decision of choosing servlets or ejb for providing services over https to my applet: When i started documentation i learned that must use jax-rpc for such interoperability , and wondered how to configure https for servlet and ejb. The https with servlet need t

[JBoss-user] [EJB/JBoss] - access to EJB from external client by rmi/https ?

2005-04-15 Thread golubec
what constraints for this access method and how to implement it? need advice. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874063#3874063 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874063 ---

[JBoss-user] [JBossWS] - problems creating custom Serializer

2005-04-15 Thread omatzura
Hi all, we have a strange problem; we have created a custom Serializer that we configure as specified. Unfortunately, whenever we try to use the SerializationContext specified in the serialize call we get a java.lang.IncompatibleClassChangeError.. i.e. | public void serialize(QName arg0, At

[JBoss-user] [JBossWS] - Re: how handle multithreaded web app client?

2005-04-15 Thread omatzura
Thomas, We changed our pooling to only pool created stubs from a singe service instance and this seems to work just as well.. thanks for the tip! /Ole View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874060#3874060 Reply to the post : http://www.jboss.org/in

[JBoss-user] [Installation & Configuration] - Re: MBean for Hibernate3 with Jboss ... solved !

2005-04-15 Thread Zealot
can you send one more jboss-hibernate3.jar to [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874061#3874061 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874061 -

[JBoss-user] [Clustering/JBoss] - Re: error on jboss start: b ad argument for IP_MULTICAST_IF:

2005-04-15 Thread [EMAIL PROTECTED]
Okay, you can either - not set BindAddress in the XML file for HANamingService or - use jnp.disableMulticastDiscovery. BTW: using a 0.0.0.0 bind address seems to be fixed in CVS head: socket = new MulticastSocket (adGroupPort); if (bindAddress != null && bindAddress.isAnyLocalAddress() =

[JBoss-user] [Installation & Configuration] - https configuration with web services ,as servlet and ejb en

2005-04-15 Thread golubec
I am new to JBOSS and want to make decision of choosing servlets or ejb for providing services over https to my applet: When i started documentation i learned that must use jax-rpc for such interoperability , and wondered how to configure https for servlet and ejb. The https with servlet nee

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-15 Thread cbradbury
Brilliant, thankyou! I will go and examine our code and find out if & where the finder is being called again within the transaction that is persisting to the database. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874057#3874057 Reply to the post : http:/

[JBoss-user] [Management, JMX/JBoss] - Re: Jboss 3.2.6 and java 1.5.0_2 on Solaris

2005-04-15 Thread [EMAIL PROTECTED]
Have you tried v3.2.7 ? If I recall 3.2.6 had some issue with jdk5 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874054#3874054 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874054 --

[JBoss-user] [JBossCache] - Re: JCache in a Weblogic cluster

2005-04-15 Thread [EMAIL PROTECTED]
yes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874052#3874052 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874052 --- SF email is sponsored by - The IT Product

[JBoss-user] [JBossCache] - Re: Weblogic Transcantion Manager

2005-04-15 Thread [EMAIL PROTECTED]
Check out the wiki (www.jboss.com) for instructions View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874051#3874051 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874051 -