[JBoss-user] Very important how to .....

2001-11-29 Thread Rajesh Vilasrao Bhujbal

unsubscribe 


how to unsubscribe from this never ending mailing list? there is no
option on jboss.org site to unsubscribe from this list? 
is it mistake or they had done it intentionally?

any way I want to get out of this list, since it is too much load for my
mail box.

Please help me.

Regards and best of luck for JBOSS group.

Rajesh





-Original Message-
From: Salle, Mathias [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 08, 2001 9:48 PM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] Help with logging


Hi,
I have a set of classes that use Log4J and they are working fine. I wrap
these classes as a JMX component and load them within JBoss. I can't
manage
to log properly anymore. I have the following error. Please note that
config.lcf is not even the name of the file I use to configure log4j.
Any
idea?

log4j:ERROR Could not read configuration file [config.lcf].
 java.io.FileNotFoundException: config.lcf (The system cannot find the
file
specified)
  at java.io.FileInputStream.open(Native Method)
  at java.io.FileInputStream.(Unknown Source)
  at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.j
ava:
289)
  at
org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.jav
a:30
8)
  at ecf.normativeCore.kernel.Kernel.(Kernel.java:50)
  at ecf.normativeCore.kernel.Reasoner.initialize(Reasoner.java:18)
  at
ecf.normativeCore.service.NCService.startService(NCService.java:27)
  at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
  at java.lang.reflect.Method.invoke(Native Method)
  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
  at
org.jboss.jmx.server.RMIConnectorImpl.invoke(RMIConnectorImpl.java:401)
  at java.lang.reflect.Method.invoke(Native Method)
  at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
  at sun.rmi.transport.Transport$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.rmi.transport.Transport.serviceCall(Unknown Source)
  at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
Source)
  at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
  at java.lang.Thread.run(Unknown Source)
 log4j:ERROR Ignoring configuration file [config.lcf].

cheers,

mathias

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Classpath in Manifest file

2001-08-01 Thread Rajesh Vilasrao Bhujbal



Hi,
I had created 
application which lists home and remote interface class of all deployed beans in 
Jboss. I had had used session bean named searchBean  for this purpose. 
searchBean lists beans starting with JNDI name "interest/ 
".
 
it gives correct 
result only if I add home and remotes interface of all beans in searchBean.jar 
file. I also tried Manifest file Class-Path option. If I write more than two jar 
files (e.g. Class-Path: one.jar two.jar three.jar (carriage return at end)), it 
will will not add those jar files at deployment time. why is it 
so?
 
I don't want to 
modify my searchBean.jar even if new beans are added to jboss. is there any other option to avoid copying 
home and remote interfaces of all beans in searchBean.jar ? 

 
Rajesh


[JBoss-user] ClassCastException on bean deployment

2001-07-31 Thread Rajesh Vilasrao Bhujbal



Hi,
I have two stateless 
beans, callerBean and Search bean. Search bean has method which lookup on jboss 
server to "discover"  home and remote interface of beans having JNDI name 
starting with "interest/.". 
 
callerBean and 
search bean have JNDI name "interest/caller" and "interest/search" respectively. 
When I run client to call search bean through callerBean it gives 
"ClassCastException".
 
But when I hot 
deploy callerBean is works OK and gives name of home and remote interface class 
of callerBean and search bean. I have two more beans having JNDI name starting 
with "interest/...", but details of its interfaces are not 
displayed.
 
how to remove these 
errors? I want to avoid hot deployment every time. How to get details of other 
beans having JNDI name starting with "interest/ ...".
 
TIA
Rajesh


[JBoss-user] Setting Max client connections in Jboss?

2001-07-26 Thread Rajesh Vilasrao Bhujbal



Apache web server 
supports process per connection for serving request where one process in the 
server is used to service one request. The parameter MaxClients specifies the 
maximum number of simultaneous requests that Apache can process. Do we have 
analogous in Jboss? I.e - 
.where do I 
mention the number of requests that can be handled by the Jboss server?(...not 
the maximum or the minimum limit for a bean in 
standardjboss.xml)
 
to 
be  more precise..
I believe that 
JRMPContainer is a static instance of the class that would be shared by all 
client thread calling a particular bean. Does the Jboss infrastructure provide a 
means to specify the limit on the number of threads accessing the 
static instance?
 
Any pointer will be 
greatly appreciated..
 
thanks in 
advance
Rajesh
 
 
 
 


RE: [JBoss-user] How to get output

2001-07-20 Thread Rajesh Vilasrao Bhujbal

if i use EJB instead of servlet to send equest to JMS queue, can i put
into loop untill i get output. how? 

-Original Message-
From: Burkhard Vogel [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 4:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How to get output


Hi,
after you sent the message set your Servlet into a loop (with timeout)
(eg
while( NoResponse and NotTimeout) ). Let the Session Bean call a method
on
the servlet to set response material (e.g. setResponse(String)) and
after
the response is set let the Session bean change the boolean NoResponse
so
the servlet escapes the loop. Servlet can answer Rej.
Burkhard
- Original Message -
From: "Rajesh Vilasrao Bhujbal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 11:39 AM
Subject: [JBoss-user] How to get output


Hi,

Q:1:
I am using JBoss-2.2.2. I had done scheduling of requests from user
using JMS queues. Following
dia. depicts the flow of request:

Raj (User) request-> Servlet ---message---> MDB (asynchronously)
--invokes---> Session Bean

how to go back to Raj   ??? <

After some business calculation in Session bean i want to send output to
user. In such scenario how to send output to user? How to make client
wait till he gets output?

===
Q:21:
I have ten session/entity beans on the server. I want to call one of
these beans at runtime through MDB. I have no idea about which bean to
call at compile time i.e. I want to make call to session beans
transparent.  Do we need to write configurations of all the beans in
deployment descriptor? How to identify home interface of these session
beans and then associate with MDB at runtime?

can we do this? how?


Raj


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] How to get output

2001-07-20 Thread Rajesh Vilasrao Bhujbal

Hi, 

Q:1:
I am using JBoss-2.2.2. I had done scheduling of requests from user
using JMS queues. Following 
dia. depicts the flow of request:

Raj (User) request-> Servlet ---message---> MDB (asynchronously)
--invokes---> Session Bean
 
how to go back to Raj   ??? <

After some business calculation in Session bean i want to send output to
user. In such scenario how to send output to user? How to make client
wait till he gets output?

===
Q:21:
I have ten session/entity beans on the server. I want to call one of
these beans at runtime through MDB. I have no idea about which bean to
call at compile time i.e. I want to make call to session beans
transparent.  Do we need to write configurations of all the beans in
deployment descriptor? How to identify home interface of these session
beans and then associate with MDB at runtime?

can we do this? how?


Raj


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Can we do this?

2001-07-19 Thread Rajesh Vilasrao Bhujbal



Hi,
I want to sent 
request through Session bean-A to MDB-B.  This MDB (B) in turn call another 
session bean-C which do some business calculation and return the result to User. 
user will have to wait until it gets result. 
 
In short I want to 
achieve synchronous behavior through MDB.
 
can we dot this? 

what configurations 
are needed in in ejb-jar.xml and jboss.xml
 
TIA
Rajesh
 
 


RE: [JBoss-user] XATopicConnectionFactory not bound error

2001-07-16 Thread Rajesh Vilasrao Bhujbal



Hi 
Tamir,
I have 
jms.jar in classapth, still it gives error. I think there must some other 
configuration needed. 
 
Rajesh

  -Original Message-From: tamir korem (Kamoon IL) 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 3:14 
  PMTo: '[EMAIL PROTECTED]'Subject: RE: 
  [JBoss-user] XATopicConnectionFactory not bound error
  Hi , 
  
   
  You 
  need to add jms.jar to your 
  CLASSPATH
  It's in  :  
  Jboss_home\lib\ext\
  and it 
  contains javax.jms.XATopicConnectionFactory.class
   
   
   
       Tamir    Korem 
      Developer   http://www.kamoon.com  
  
-Original Message-----From: Rajesh Vilasrao Bhujbal 
[mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 12:24 
PMTo: [EMAIL PROTECTED]Subject: 
[JBoss-user] XATopicConnectionFactory not bound error
Hi,
I 
tried example given in JBoss manual: MDB . When jar file is deployed on 
jboss it gives error:
[Container 
factory] Deploying MDB[Container factory]  Serious error in init: 
javax.naming.NameNotFoundException: XATopicConnectionFactory not 
bound[Container factory]   java.lang.Exception: 
javax.naming.NameNotFoundException: XATopicConnectionFactory not 
bound[Container factory] at 
org.jboss.ejb.MessageDrivenContainer.init(MessageDrivenContainer.java:156)[Container 
factory] at 
org.jboss.ejb.Application.init(Application.java:183)[Container 
factory] at 
org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
 
can ne one tell me the reason and how to 
correct this error? 
 
Rajesh


[JBoss-user] XATopicConnectionFactory not bound error

2001-07-16 Thread Rajesh Vilasrao Bhujbal



Hi,
I 
tried example given in JBoss manual: MDB . When jar file is deployed on jboss it 
gives error:
[Container factory] 
Deploying MDB[Container factory]  Serious error in init: 
javax.naming.NameNotFoundException: XATopicConnectionFactory not 
bound[Container factory]   java.lang.Exception: 
javax.naming.NameNotFoundException: XATopicConnectionFactory not 
bound[Container factory] at 
org.jboss.ejb.MessageDrivenContainer.init(MessageDrivenContainer.java:156)[Container 
factory] at 
org.jboss.ejb.Application.init(Application.java:183)[Container 
factory] at 
org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
 
can ne one tell me the reason and how to correct 
this error? 
 
Rajesh


[JBoss-user] How to send message to MDB

2001-07-13 Thread Rajesh Vilasrao Bhujbal



Hi,
I developed a MDB 
called TestMDB. This MDB uses queue. 
I want to send 
message to this MDB through java client running on different machine. how to do 
it? I have already seen example in jboss manual, but it doesn't give code/method 
 for accessing MDB through client.
 
my question is how 
to get context to message queue and queueconnection factory? 

 
Regards
rajesh
 
 
 


[JBoss-user] Problem in Integration with Tomcat and jboss

2001-07-06 Thread Rajesh Vilasrao Bhujbal



I am using 
tomcat-3.2.2 and jboss-2.2.2. I want to use tomcat with jboss. i follwed 
procedure given in Jboss documentation. But still i am not able to achive this. 
After starting jboss, i get error: could not start 
EmbeddedTomcat
 
can you help 
me:
TIA
RAJESH