[JBoss-user] [EJB/JBoss] - Re: EJB Client Classpath

2005-10-06 Thread kalyan120
Thanks. I'm aware of the fact that bean class is not needed on the client side. One doesn't have to always have the remote and home interface classes on the client side. For example, the following code works pretty well without those interfaces on the client side (since there is no direct refere

[JBoss-user] [EJB/JBoss] - EJB Client Classpath

2005-10-05 Thread kalyan120
Hi All, Does the dynamic class downloading feature of RMI download any class that's not available in the client's class path? Let's say I have the following code on the client: Object o = context.lookup("jndiName"); | ExampleHome h = (ExampleHome)PortableRemoteObject.narrow(o,ExampleHome.cla

[JBoss-user] [JCA/JBoss] - Re: Is there a way to timeout active connections (instead of

2005-09-06 Thread kalyan120
Did you mean to timeout on a statement execution (within a connection)? If so, you can use Statement.setQueryTimeOut(int seconds). I don't think there is any configurable way to set it on a statement via the -ds.xml or any other way. Thanks, Kalyan. View the original post : http://www.jboss.

[JBoss-user] [J2EE Design Patterns] - Re: Static Initialization at server startup

2005-07-18 Thread kalyan120
Since you are invoking EJBs from the init method of the Servlet, can I presume that your EJBs here are only serving the application requirements, but not the end user/client requirements? If that's the case, can you not use different credentials to authenticate requests to those specific EJBs th

[JBoss-user] [EJB/JBoss] - Re: Problems with bean deployment

2005-07-11 Thread kalyan120
A small correction to the above logs. The second log is as shown below, but not as shown in the first post: Jul 11 14:50:26 INFO Deploying wmtp.FXTradeEntry | Jul 11 14:50:26 INFO Deployed: file:/home/wmtbuser/wmtp_wmtp-uat/ejbeans/fxtradeentry.jar | Jul 11 14:50:27 INFO Deploying wmtp.Co

[JBoss-user] [EJB/JBoss] - Problems with bean deployment

2005-07-11 Thread kalyan120
Hi All, We are having a problem at times when our JBoss server does not deploy all the beans listed in the jboss-serivce.xml file. For example, following is the log from a server instance that hasn't deployed all the beans: Jul 11 07:28:55 INFO Deploying wmtp.FXTradeEntry | Jul 11 07:28:55 IN

[JBoss-user] [JCA/JBoss] - Re: Stopping MBean throws exceptions

2005-05-24 Thread kalyan120
Though I get the exception the newly created connection pool works. Moreover, the stopDestroyAndRemoveMBean method first checks if the mbean is already registered with the MBeanServer or not and only if it is registered, it will try to stop, destroy and remove the mbean. It's strange that the g

[JBoss-user] [JCA/JBoss] - Stopping MBean throws exceptions

2005-05-20 Thread kalyan120
Hi, I am writing an MBean to programmatically destroy an existing connection pool and create a new one. As a part of this, I've implemented the below class and deployed it on the JBoss AS 3.2.5. import java.sql.Connection; | import java.sql.Statement; | | import javax.management.*; |

[JBoss-user] [Installation & Configuration] - Enabling directory scanning

2005-05-05 Thread kalyan120
Hi, Is there a way in which I can enable directory scanning in JBoss, so that whenever I type in a URL in the browser like: http://localhost:8080/config/files, I should be able to see what are the contents of this config/files directory? Thanks, Kalyan. View the original post : http://www.j

[JBoss-user] [Performance Tuning] - Heap Size increase on Server Idle

2005-03-15 Thread kalyan120
Hi All, We are running a JBoss server with sun.rmi.dgc.client.gcInterval and sun.rmi.dgc.server.gcInterval values each set to 10 minutes. The following are the Full GCs that are captured when the server is idle for about 110 minutes. We have noticed that there is a constant rise of around 70MB

[JBoss-user] [EJB/JBoss] - Re: Removing a Stateless Session Bean

2005-02-22 Thread kalyan120
Thanks for your suggestions. I know that they won't compile. It's all pseudo code. I'm sure if you have would have understood the context, you wouldn't have tried to compile the class in your brain and you wouldn't have recited, what a session bean does and what an entity bean is. Regards, Kaly

[JBoss-user] [Installation & Configuration] - Re: Exiting on Port Clash

2005-02-22 Thread kalyan120
Thanks Scott, Let's say, the Naming port is in clash and all the other ports are acquirable, the server starts up with an exception on Naming port, but deploys all the beans, creates the connection pools, etc. Now, when I invoke shutdown, I'm not sure if all the connections are released from t

[JBoss-user] [Installation & Configuration] - Exiting on Port Clash

2005-02-22 Thread kalyan120
Hi, If there is a port clash for any service, at the startup of the server, the server throws an exception and carries forward with deploying the other services. We would want the server to exit from starting up, whenever there is a port clash during startup. Is there a way in which we can ach

[JBoss-user] [EJB/JBoss] - Re: Classpath on JBOSS

2005-02-22 Thread kalyan120
Try as below: | | Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867436#3867436 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867436 --- SF

[JBoss-user] [EJB/JBoss] - Re: Removing a Stateless Session Bean

2005-02-18 Thread kalyan120
Let's say I have a singleton as below: | public class Singleton | { | private TradeProcessor myProcessor = null; // SSB | private static Singleton INSTANCE = new Singleton(); | | private Singleton() | { | //lookup something and then create as below |

[JBoss-user] [EJB/JBoss] - Re: Dynamic Query Search - @jboss.query

2005-02-18 Thread kalyan120
Are your client and bean running in different VMs? If so, you can't access a local ejbean from your client. Local beans are different from Remote beans. Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867107#3867107 Reply to the post : http

[JBoss-user] [EJB/JBoss] - Re: Servlet client unable to access SessionBean method

2005-02-17 Thread kalyan120
You have to declare Libro sal, outside the try,catch block. Otherwise it's not visible to the statements outside the block. Libro sal = null; try { Context contexto = new InitialContext(); Object ref = contexto.lookup("Libro"); LibroHome home = (LibroHome) PortableRemoteObject.narrow(ref,Beans.L

[JBoss-user] [EJB/JBoss] - Re: EJB-QL query needed

2005-02-17 Thread kalyan120
One way I can think of is (though not exactly what you wanted): 1. Get all the Roles of the given user: appUser.appRoles() 2. Get all the Roles defined: appRole.fetchAllRoles() Subtract 1 from 2, and you will have, all the roles that are not assigned to the given user. Moreover, you need to ha

[JBoss-user] [EJB/JBoss] - Re: Dynamic Query Search - @jboss.query

2005-02-17 Thread kalyan120
You cannot access "Local" EJBs outside your app VM. Can you? I guess that could be a reason for your exception. Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867024#3867024 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [EJB/JBoss] - Re: Looking up a session bean on one server from within anot

2005-02-17 Thread kalyan120
Did you try using 'jnp.disableDisvoery=true' on your server? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867023#3867023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867023

[JBoss-user] [EJB/JBoss] - Re: java.lang.classnotfoundexception, please help

2005-02-04 Thread kalyan120
What's the exact exception? Kalyan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865309#3865309 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865309 --- This SF.

[JBoss-user] [J2EE Design Patterns] - Re: Design advice, are Stateful session beans the answer?

2005-01-31 Thread kalyan120
Can you not bind the key/name to the JNDI tree? If you do so, in clustering scenarios, HA JNDI will take care of replicating the key/name to the other JNDIs in the cluster. Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864383#3864383 Reply

[JBoss-user] [JCA/JBoss] - Re: No ManagedConnections available ...

2005-01-13 Thread kalyan120
The JMX Console shows you the number of connections used, created, etc. for the Connection pool. Also, did you check if your database server has run out of connections? Thanks, Kalyan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862055#3862055 Reply to t

[JBoss-user] [JCA/JBoss] - Re: NewConnection SQL execution

2005-01-10 Thread kalyan120
We are using JBoss application server in our application as a middle-tier. We are using JBoss JCA to create connection pools to the required databases. In order to do this, we are generating a sybase-ds.xml file at the server startup and then JBoss loads this service and creates the specified co

[JBoss-user] [JCA/JBoss] - NewConnection SQL execution

2005-01-10 Thread kalyan120
Hi, We are having a problem while creating a new connection from a connection pool. We have some temp tables that are to be created once the connection is created and before it is returned to the user. We have specified these tables in the new-connection-sql element of the *-ds.xml. For some of

[JBoss-user] [JCA/JBoss] - Re: Binding DS to multiple JNDI names

2005-01-10 Thread kalyan120
Yes, this database mapping has been there for years and the corresponding code is also there for years. We have a peculiar problem here. The following is what we do currently: 1. During the server startup, create the required connection pools. For example CP1, CP2 and CP3. Each of them has the

[JBoss-user] [JCA/JBoss] - Binding DS to multiple JNDI names

2005-01-08 Thread kalyan120
Hi, Is there a way in which I can bind a data source (connection pool to a relational database) to multiple jndi-names? We have a situation where the developers do not know the actual jndi names of the data sources. They are given a logical pool name (which is related to their functionality) an

[JBoss-user] [EJB/JBoss] - Stateful Bean and Serialization

2005-01-05 Thread kalyan120
Hi, We have a stateful session bean, and we have deployed it in JBoss 3.2.5 AS. We have noticed that when the server tries to passivate the bean, it tires to serialize the bean (and it's instance variables) to the file system. Some of our instance variables are not serializable and hence we ar

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configuration of JMS on JBOSS

2004-12-21 Thread kalyan120
jbossmq.jar seems to be missing in your /lib directory. I see the below error in you trace. Caused by: java.lang.NoClassDefFoundError: org/jboss/mq/SpyDestination at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590) at java.

[JBoss-user] [EJB/JBoss] - Re: rmi over http troubles

2004-12-21 Thread kalyan120
Oops!! Yes you are right. My logic is incorrect. Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859471#3859471 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859471 -

[JBoss-user] [EJB/JBoss] - Re: rmi over http troubles

2004-12-21 Thread kalyan120
I'm not sure if the setInvokerURL method is called after the startService method is called or not. If the startService method is called first and then the setInvokerURL is called later, your setting should work. Other way around, will not work for you. From your exception, it seems as if setInv

[JBoss-user] [EJB/JBoss] - Re: rmi over http troubles

2004-12-21 Thread kalyan120
The following is the method (in JBoss code) that's returning the internal ip address: protected void checkInvokerURL() throws UnknownHostException |{ | if( invokerURL == null ) | { | InetAddress addr = InetAddress.getLocalHost(); | String host = useH

[JBoss-user] [EJB/JBoss] - Re: is there any ejb example which explaining step by step

2004-12-20 Thread kalyan120
Put this jar file in the default/deploy directory (if you are running the default configuration server). Then this bean is ready for deployment. When you start the server, this bean will get deployed and will be ready to be accessed by your index.jsp. Make sure that you have the following entry

[JBoss-user] [EJB/JBoss] - Re: rmi over http troubles

2004-12-20 Thread kalyan120
Are you able to get to the page : http://[public host name] (from your URL) from outside? If not, you might have to look at this page: http://www.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [EJB/JBoss] - Re: is there any ejb example which explaining step by step

2004-12-20 Thread kalyan120
What do you want to know? Are you not sure about the configuration of JBoss or about how to write code for EJB? Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859290#3859290 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [EJB/JBoss] - Re: NoSuchMethodError - clueless!!

2004-12-10 Thread kalyan120
Are you having the updated bean remote interface in the client class path? What's your client class path setup to? Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858215#3858215 Reply to the post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ReadTask and Write Task Threads in UIL2

2004-12-07 Thread kalyan120
Thanks for your suggestion genman. Right now, we are using 3.2.5. How different is 3.2.6 from 3.2.5? Probably I'll have to go through the release notes. Meanwhile, to update you, Scott, we did another round of testing with the JVM IL. The results are excellent. For my testcase, with the same lo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ReadTask and Write Task Threads in UIL2

2004-12-06 Thread kalyan120
Thanks for your reply Scott. We have figured out that the deadlock is because of the method validateSoftReferenceDepth method in MessageCache. We have commented out the calls to that method and the server works fine. We have run 225 clients , each hitting the server every 100 secs for 2.5 days

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ReadTask and Write Task Threads in UIL2

2004-12-02 Thread kalyan120
Thanks for the reply Scott Yes, we are aware that a connection has to be closed once it's usage is over. In fact, there are no threads hanging in the server if the clients are all killed. That part of the functionality is working fine. The problem is with the number of threads alive when the cl

[JBoss-user] [Messaging, JMS & JBossMQ] - ReadTask and Write Task Threads in UIL2

2004-12-01 Thread kalyan120
Hi, We are running a test case where in the following happens: 1. Client creates a temporary queue and sends the name to a stateless session bean 2. The session bean does some work and puts back the result on the temporary queue. 3. The client receives the message. When testing this behaviour

[JBoss-user] [Messaging, JMS & JBossMQ] - ReadTask and Write Task Threads in UIL2

2004-11-30 Thread kalyan120
Hi, We are running a test application to simulate a load test of 100 clients connecting to one instance of JBoss server using temporary queues. In this setup each client sends a request to the server every 100 seconds. So, we are simulating a situation of 1 hit/sec on the server. In the test s

[JBoss-user] [JCA/JBoss] - Re: interfacing JBoss with postgres

2004-11-29 Thread kalyan120
Look at this thread http://www.jboss.org/index.html?module=bb&op=viewtopic&t=31894 Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856718#3856718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856718

[JBoss-user] [JCA/JBoss] - Re: Connection creation at the startup

2004-11-25 Thread kalyan120
Thanks a lot Adrian Regards, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856350#3856350 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856350 --- SF emai

[JBoss-user] [JCA/JBoss] - Re: Connection creation at the startup

2004-11-23 Thread kalyan120
Thanks for the reply Adrian I have searched the forums with the words "minimum connection" , "min-pool-size", "pool filler" in various combinations, but couldn't get to see many posts that have any answer to my question. So, I'm resorting back to you, if you can provide me of any links, or sear

[JBoss-user] [EJB/JBoss] - Re: Downloading classes from JBoss server

2004-11-22 Thread kalyan120
Thanks Scott, I had missed a property on the server side for Dynamic Classloading. The DownloadServerClasses property of jboss:service=Webservice MBean was set to false. I changed it to true and now I see that the classes are being downloaded from the server (I had put some log statements in th

[JBoss-user] [JCA/JBoss] - Re: Do I want/need JCA?

2004-11-20 Thread kalyan120
Look at this: http://jakarta.apache.org/commons/pool/ May be this might be of help. Like scott said, it would be an overkill to use JCA unless you require all the three features provided by JCA: 1. Connection management 2. Transaction management 3. Security Thanks, Kalyan. View the original

[JBoss-user] [EJB/JBoss] - Re: Please Help ME:javax.naming.CommunicationException [Root

2004-11-18 Thread kalyan120
Do a : System.setSecurityManager(new RMISecurityManager()) in your client code. Also include a policy file with "all" permissions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855692#3855692 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [JCA/JBoss] - Connection creation at the startup

2004-11-18 Thread kalyan120
Hi, I'm accessing a relational database using JBoss JCA. In the *-ds.xml I have mentioned the min-pool-size to be 5. But I notice that these connections not are created until a query is executed for the first time (that requires a connection from this connection pool). I have a situation wher

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Regd : JMS Configuration

2004-11-18 Thread kalyan120
What's the exception it gives while deploying the second one? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855609#3855609 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855609 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: alternative for lightweight asynchronous processing

2004-11-17 Thread kalyan120
You might have to take a look at 'spring framework' by Rod Johnson. It's getting famous these days. Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855535#3855535 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Consumers stop listening after a period of time.

2004-11-16 Thread kalyan120
Look at my replies for similar posts. I too had the same problem, and solved it using the approach that I have mentioned: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=52269 http://www.jboss.org/index.html?module=bb&op=viewtopic&t=56560 HTH, Thanks, Kalyan View the original post :

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem in ConnectionFactory lookup at Remote Jboss behi

2004-11-16 Thread kalyan120
Essentially there are three ports are to be visible across the firewall. (Without JMS in the picture). 1. rmi object port 2. rmi port 3. naming port Depending on the Invocation Layer you use, you might also require to open a port for JMS. 4. UIL2 server bind port. Look at the following link:

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 loadtesting and threads

2004-11-16 Thread kalyan120
For every message that comes into the JMS Server via UIL2, the SocketManager seems to be starting two threads: One ReadTask and another WriteTask. So, you are seeing two threads for every message. Your test is a good one. But for every run, you are creating the following: 1) Connection 2) Sessio

[JBoss-user] [Installation & Configuration] - Re: Spawning new Jboss instances from a single installation

2004-11-16 Thread kalyan120
This could be of help: http://www.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855459#3855459 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Installation & Configuration] - Re: uil2.SocketManager -> exiting on unexpected error

2004-11-16 Thread kalyan120
To my knowledge, the SocketManager spawns a thread for every request or message that comes in (via JMS). Once it returns back the result, it must remove the corresponding resources. I'm sure the code would be doing this as well. How did you increase the no. of clients to 50? Is the client you a

[JBoss-user] [Installation & Configuration] - Re: Is the JBoss installation complete?

2004-11-16 Thread kalyan120
The downloaded version of 3.2.5 works pretty well out of the box. So, you need not feel that it's incomplete. Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855357#3855357 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post

[JBoss-user] [Installation & Configuration] - Re: uil2.SocketManager -> exiting on unexpected error

2004-11-16 Thread kalyan120
What do you mean by reconnecting to a queue? Also, this is a problem with the server side JMS code, that you would have written. This could be a problem because of the proliferation of queue connections or queue sessions. If you are doing something like below, for every message you send back,

[JBoss-user] [EJB/JBoss] - Re: Providing global jar-files in ear-archive?

2004-11-15 Thread kalyan120
Can you not include the jars in the class path? The entry can be made in the conf/jboss-service.xml file. Extract the jars in the ear file to a location (ex: /home/mylib/) Include the following line in the jboss-service.xml file: This way the jars are in the classpath and hence available to a

[JBoss-user] [EJB/JBoss] - Re: Downloading classes from JBoss server

2004-11-12 Thread kalyan120
No one has ever got this problem? Are there any places where I can check if my configuration is correct or not? Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855061#3855061 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [EJB/JBoss] - Re: How to achieve parallel processing in a single request?

2004-11-12 Thread kalyan120
Adding or restating to what Mike said: If the three queries ( to the db and to the two external applications), can happen concurrently, create 3 MDBs one for the db and one each for the two external applications. Create 3 temporary queues and send the message (or command wrapped in a message) t

[JBoss-user] [EJB/JBoss] - Re: Using both JNP and HTTP IL to access EJB

2004-11-12 Thread kalyan120
Thanks Scott Regards, Kalyan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855024#3855024 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855024 --- This SF.Net ema

[JBoss-user] [EJB/JBoss] - Localhost getting automatically contacted

2004-11-11 Thread kalyan120
Hi, Today I have seen a situation where the client, automatically picks up the local host to execute a bean call, even if you specify the PROVIDER_URL to be pointing to someother machine (and in case the remote server is down). This is how it happened: I had a test ejb deployed on a remote ma

[JBoss-user] [EJB/JBoss] - Re: Hot Deploy not Deploying, sort of

2004-11-11 Thread kalyan120
That's true. Hot deploy doesn't seem to be working all the times. Even we have faced the same issue with hot deploy. Though the server says (from the log), that it undeployed the bean, it actually doesn't seem to be doing so. We've tried to look around, and found some stuff in the tmp directory

[JBoss-user] [EJB/JBoss] - Re: Downloading classes from JBoss server

2004-11-11 Thread kalyan120
I wrote a simple test bean, and even that doesn't work: For those curious, below is the code: (Please note that the client is running on Windows and the server is on a solaris machine) Client: | package test.ejb.client; | | import java.lang.reflect.Method; | import java.util.Properti

[JBoss-user] [EJB/JBoss] - Downloading classes from JBoss server

2004-11-11 Thread kalyan120
Though a crosspost, I thought that this is the appropriate forum. Please see below: Hi, I am running a client that accesses a bean that is deployed on a JBoss 3.2.5 server. I get a ClassNotFoundException for the bean home class while looking it up using JNDI. I have looked at the previous pos

[JBoss-user] [EJB/JBoss] - Re: Using both JNP and HTTP IL to access EJB

2004-11-10 Thread kalyan120
I have gone through the documentation of JBoss, and figured out that this can be done. But I don't see how this can be implemented (from the documentation). Can someone please let me know if this is possible or not? Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?mod

[JBoss-user] [Security & JAAS/JBoss] - Downloading classes from JBoss Server

2004-11-10 Thread kalyan120
Hi, I am running a client that accesses a bean that is deployed on a JBoss 3.2.5 server. I get a ClassNotFoundException for the bean home class while looking it up using JNDI. I have looked at the previous posts on the same issue, and we have installed the RMISecurityManager on the client and h

[JBoss-user] [EJB/JBoss] - Using both JNP and HTTP IL to access EJB

2004-11-03 Thread kalyan120
Hi, Is there a way to access the same bean deployed in JBoss server, over both JNP and HTTP? We have ejbeans deployed on a JBoss server, which are accessed by users both inside and outside the firewall. For those inside the firewall, we want them to use JNP as it is more efficient and for those

[JBoss-user] [Installation & Configuration] - Re: NamingContext and HA discovery

2004-10-27 Thread kalyan120
I **guess** this feature is provided to faciliate the creation of NamingContext in clustering scenarios. Looks like HA JNDI is used as the JNDI provider in clusters and hence, even if you do not provide PROVIDER_URL value, it will try to obtain a NamingContext, if it could find any server in the

[JBoss-user] [Beginners Corner] - Re: JBOSS start-up problem

2004-10-27 Thread kalyan120
Why can't a SAR be deployed with PrefixDeploymentSorter? I don't see any reason for not employing this technique. >From what you say (or from the comments in jboss-service.xml), it appears that, SARs >should get deployed first. But from the exception that's mentioned, it shows that the >SARs a

[JBoss-user] [Installation & Configuration] - Re: Service Deployment Configuration

2004-10-26 Thread kalyan120
I got it!! I can give specify each and every service separately in the conf/jboss-service.xml file of each server instance. That will solve my problem. Thanks, Kalyan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852857#3852857 Reply to the post : http://w

[JBoss-user] [Beginners Corner] - Re: JBOSS start-up problem

2004-10-26 Thread kalyan120
You could probably use URLDeploymentSorter in your conf/jboss-service.xml file and make your jboss-jca.sar file get deployed before anyother services are deployed. For example: | org.jboss.deployment.scanner.PrefixDeploymentSorter | | | 1.deploy/jboss-jca.sar | | HTH, Kalyan.

[JBoss-user] [Installation & Configuration] - Re: multiple ear file in same instance of jboss server

2004-10-26 Thread kalyan120
You can deploy your 2 instances of the EAR files in a single instance of JBoss. The required configuration depends on what specific things you are doing within your EAR files. (Like JDBC, JMS, etc.). For a simple test of whether they are getting deployed or not, place them under the JBOSS_HOME

[JBoss-user] [Installation & Configuration] - Service Deployment Configuration

2004-10-26 Thread kalyan120
Hi, we require two jboss servers running with different beans deployed in each of them. One of the servers require JMS / Mail services and the other doesn't require them. We have configured JBoss in such a way that, we'll have the same root bin, lib, and deploy directories for both the servers

[JBoss-user] [Installation & Configuration] - Re: JBoss-3.0.6 fails to start

2004-10-26 Thread kalyan120
Curious to know. Why did j2ee.jar cause the problem? Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852819#3852819 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852819 ---