ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread jiang ying
hi, I know the way to access Tomcat JMX support via http adaptor. I also know how to monitor an application via JMX by registering an mbeanserver. But I really confused about accessing Tomcat JMX support via RMI connector: 1. how to configure Mx4j RMI connector with Tomcat 5.5, since only

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread Dirk Weigenand
Hi, --- Ursprüngliche Nachricht --- Von: jiang ying [EMAIL PROTECTED] An: tomcat-user@jakarta.apache.org Betreff: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR Datum: Wed, 21 Sep 2005 16:26:00 +0800 hi, I know the way to access Tomcat JMX support via http adaptor. I also

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread andy gordon
place is in catalina.bat 1) set remote monitoring port -Dcom.sun.management.jmxremote.port= 2) turn on remote monitoring-Dcom.sun.management.jmxremote there are others for SSL and authentication and you have to decide if they are needed. 2) create the RMI

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread jiang ying
suggest really do me a lot. Finally I am able to monitor the tomcat via RMI connector. Thanks a lot. cylinder From: Dirk Weigenand [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: ACCESSING TOMCAT

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread Dirk Weigenand
Hi, Before posting my question, I have studied http://jakarta.apache.org/tomcat/tomcat-5.5-doc/monitoring.html. It explains the way to activate HTTP adaptor. Well it explains how to activate jmx remote monitoring right at the start of the page. Did you follow the link to SUNs web site?

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread jiang ying
List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR Date: Wed, 21 Sep 2005 16:57:20 +0200 (MEST) Hi, Before posting my question, I have studied http://jakarta.apache.org/tomcat/tomcat

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread Dirk Weigenand
Hi, --- Ursprüngliche Nachricht --- Von: jiang ying [EMAIL PROTECTED] An: tomcat-user@jakarta.apache.org Betreff: Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR Datum: Wed, 21 Sep 2005 23:38:36 +0800 I did follow the link to SUNs web site and did the exercise. I know how

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread jiang ying
well, after studied MC4j, I've already solved the problem with the code String urlForJMX = service:jmx:rmi:///jndi/rmi://localhost:9004/jmxrmi; MBeanServerConnection jmxServerConnection = JMXConnectorFactory.connect( new JMXServiceURL( urlForJMX ), null).getMBeanServerConnection(); A little

Netbeans/TOMCAT RMI

2005-08-02 Thread dumbQuestionsAsker _
Hi everybody, I got an RMI code which is working fine into another servlet container. I want to port it into TOMCAT. That's the first time Im doing it, so that's what I did : -I added : -Djava.rmi.server.codebase=http://127.0.0.1:80/ to my JAVA_OPT variables into the catalina.bat file. -I

Re: RMI in Tomcat - last try

2005-06-13 Thread Woodchuck
classloading hierarchy level... this is what i suspect your problem is http://struts.apache.org/userGuide/configuration.html#config_add hth, woodchuck --- Nikola Milutinovic [EMAIL PROTECTED] wrote: Hi all. Me and the team have given up on RMI and went to RPC, but I thought I'd make one

Re: RMI in Tomcat - last try

2005-06-13 Thread Nikola Milutinovic
guess in that case TC's classloader picks up the classes before RMI classloader and, since it is teh same CL, it works. This solution is a patch, as far as I am concerned, since copying all those classes to clients classpath (TC's webapp WEB-INF/classes) is actually what RMI is supposed to root

RMI in Tomcat - last try

2005-06-11 Thread Nikola Milutinovic
Hi all. Me and the team have given up on RMI and went to RPC, but I thought I'd make one last educational attempt. Is anyone using RMI in TC where TC is acting as a RMI client to a remote RMI, general-purpose, server? I have seen tons of (rather old) examples of Applet being a RMI client

RMI classloader issues in TC - second time

2005-06-05 Thread Nikola Milutinovic
Hi all. I have been mucking around this for some time and have some empirical data and a question for the list. BACKGROUND --- I'm building a web client for a RMI client/server application. RMI server and client are working from command line. Next I built JSP/Servlet which

[Addendum] Re: Tomcat and RMI client - setup (ClasCastException)

2005-05-28 Thread Nikola Milutinovic
, which implements SearchRMI interface. I suspect I'm being hit with some RMI classloader issue, so my next question is: Has anyone done this? And what am I doing wrong? Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED

TC and RMI ClassLoader issue

2005-05-28 Thread Nikola Milutinovic
Hi all. I'm having problems with ClassLoader. I have a RMI client that calls a RMI server. What I keep getting as an error is a ClassCastException. This is the code: Object obj = Naming.lookup(url); search = (SearchRMI) obj; And the exception is: java.lang.ClassCastException

Tomcat and RMI client - setup

2005-05-27 Thread Nikola Milutinovic
Hi all. This might be a simple question. I have a working RMI client and server. I have tested it no problem. Now I would like to make a JSP/Servlet that will act as a RMI client and connect to the RMI server running outside Tomcat JVM. I keep running into access permission violations. I

Re: Tomcat and RMI client - setup

2005-05-27 Thread Bill Barker
Nikola Milutinovic [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all. This might be a simple question. I have a working RMI client and server. I have tested it no problem. Now I would like to make a JSP/Servlet that will act as a RMI client and connect to the RMI server

JMX remoting by RMI

2004-09-03 Thread Sebastien Brunot
Hi, How do you enable remote access to the JMX Server by RMI in Tomcat 4.1.30 ? I'd like to access a custom MBean, which i register to the Tomcat JMX Server in my webapp, via RMI. Thanks for your help, Sebastien

Intercepting RMI over IIOP calls

2004-08-09 Thread Arif Siddiqui
Hi, I wish to intercept RMI over IIOP calls made from Tomcat and add some information (in the form of ServiceContext) to them. What is the best way to go about doing it. Does Tomcat support the CORBA standard org.omg.PortableInterceptor? Thanks

Intercepting RMI over IIOP calls

2004-08-09 Thread Arif Siddiqui
Hi, I wish to intercept RMI over IIOP calls made from Tomcat and add some information (in the form of ServiceContext) to them. What is the best way to go about doing it. Does Tomcat support the CORBA standard org.omg.PortableInterceptor? Thanks

Tomcat - RMI Communication problem

2004-07-08 Thread Venkata madana
Hi, I am running RMI Server and Tomcat separately. When I tried to access RMI Server from Tomcat I am getting this error. Tomcat running without security option. How can I Fix this problem? I tried with Version 4 and 5 both of them have same problem. java.lang.NoClassDefFoundError

Tomcat 4.1.29 RMI White Spaces

2004-07-01 Thread PATTUS Jean-Philippe
Hello the list, I've got a rmi server and a web application under Tomcat 4.1.29 running on the same machine. When i run a sample test rmi client without Tomcat , i acces to my remorte object with no problem. Under Tomcat i have a remote exception : java.rmi.ServerException: RemoteException

Tomcat4 RMI class loading bermuda triangle

2004-06-23 Thread Guillaume Boutard
no problem of security. i changed the init.d/tomcat4 script to add -security to the starting line to be sure that it is started the right way I used to try the same code with tomcat 3 and i changed to tomcat 4 because of a rmi jni problem reported on mailing lists (i spent so much time

RE: Tomcat4 RMI class loading bermuda triangle

2004-06-23 Thread Cox, Charlie
own classes. Charlie -Original Message- From: Guillaume Boutard [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 4:43 AM To: [EMAIL PROTECTED] Subject: Tomcat4 RMI class loading bermuda triangle Hi every body, I'm trying to fix this problem for one week and i'm turning crazy

RE: RMI Problem

2004-05-26 Thread Christoph Mangold
://archives.java.sun.com/cgi-bin/wa?A2=ind0104L=rmi-usersP=R25414; I= Yoav Shapira Millennium Research Informatics -Original Message- From: Christoph Mangold [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 1:55 PM To: Tomcat Users List Subject: RE: RMI Problem Thanks

RMI Problem

2004-05-25 Thread Christoph Mangold
I am trying to run an rmi registry as part of a servlet context in tomcat 5.0.19. When I startup tomcat the first time everything works fine. However, if I redeploy my application using tomcat's ant-reload-target I get the following exception (server side) when trying to connect from the (RMI

RE: RMI Problem

2004-05-25 Thread Shapira, Yoav
Hi, You have to shutdown your RMI registery properly during the webapp's shutdown (the first part of the reload is a shutdown). Use a ServletContextListener's contextDestroyed method for this. Yoav Shapira Millennium Research Informatics -Original Message- From: Christoph Mangold

RE: RMI Problem

2004-05-25 Thread Christoph Mangold
anyone know of a better way to do this? Chris On Tue, 25 May 2004, Shapira, Yoav wrote: Hi, You have to shutdown your RMI registery properly during the webapp's shutdown (the first part of the reload is a shutdown). Use a ServletContextListener's contextDestroyed method for this. Yoav

RE: RMI Problem

2004-05-25 Thread Shapira, Yoav
Hi, I think you're doing the right thing. See also http://archives.java.sun.com/cgi-bin/wa?A2=ind0104L=rmi-usersP=R25414; I= Yoav Shapira Millennium Research Informatics -Original Message- From: Christoph Mangold [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 1:55 PM To: Tomcat

Jmx HTTP/RMI Adaptors not found in Tomcat 4.1.29

2004-04-14 Thread Boulay Arnaud
Hello, I have some exceptions on Jmx setting : 14/04/2004 19:00:17,437 INFO app Creating Naming:name=rmiregistry 14/04/2004 19:00:17,437 ERROR app MX4j RMI adapter not loaded: javax.management. ReflectionException: null nested exception is java.lang.ClassNotFoundException

setting codebase for rmi in servlet running in tomcat does not work

2004-04-07 Thread Markus Reis
dear all, over the last days i have tried to set up an rmi server in a cocoon servlet running in tomcat (4.1.27, started via maven goal appserver:start); all i want/need to do starting my rmi server is: (1) start the rmiregistry (via LocateRegistry.createRegistry(regPort); //therefore

Deploying RMI in Tomcat

2004-03-29 Thread h0004429
Dear all, I am newbie to RMI and has successfully run the RMI server in the java tutorial example helloworld. However, when I come to Tomcat, I have problem with it. Is there any difference and specific procedure I need to do. I just put my code in the webapps/examples/WEB-INF/myclasses, run

Promlem calling RMI server from Tomcat 4.1.29

2004-02-04 Thread Karan
Hello All, I'm facing a strange problem while trying to make calls to a RMI server from Tomcat ver 4.1.29. The RMI client runs fine as a standalone program but the put under servlet or invoked by a webservice running under Tomcat, it gives the below mentioned error. Also another observation

rmi performance under tomcat

2004-01-28 Thread Johan Coens
Hello all, I have an application which heavily uses rmi. Because the poor performance under tomcat, i tried some other app servers to compare. I came up with the following results: - tomcat 4.0.6 - websphere 5.0 - orion 2.0.2 - jetty 4.2.15 orion 1.2 sec websphere 1.2 sec tomcat 8.4 sec jetty

RE: rmi performance under tomcat

2004-01-28 Thread Shapira, Yoav
Howdy, Why do you think tomcat has its own RMI implementation? Was there anything tomcat-specific that showed up in your profiler? Yoav Shapira Millennium ChemInformatics -Original Message- From: Johan Coens [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 11:24 AM

Re: rmi performance under tomcat

2004-01-28 Thread Tim Funk
exposed. Whatever it was, it won't be fixed in 4.0.X Thats all the details I can remember. -Tim Johan Coens wrote: Hello all, I have an application which heavily uses rmi. Because the poor performance under tomcat, i tried some other app servers to compare. I came up with the following results

Rmi registry and Tomcat

2003-11-14 Thread mourad jaber
Hi, I'm looking for a solution to make the rmi registry load and unload in the same time of a webapp deploy/undeploy... It work for deploying, but when I try to undeploy my web app, it can't finish to undeploy, waiting for registry to die and it never dies It is the same when I stop Tomcat

RE: How does RMI operation differ when inside Tomcat as opposed to ou tside?

2003-08-01 Thread Jeff Lowery
Is an application launched via Webstart affected by the java policies? Since webstart applications have to be in signed jars, I tried setting up a policy for software with that particular signature. Yet still no luck. - To

How does RMI operation differ when inside Tomcat as opposed to outside?

2003-07-31 Thread Jeff Lowery
I'm doing a little test program that tests Java Webstart and RMI. I can download a webstart client application via Tomcat okay (using an Opera browser), but when the client launches, it fails to retrieve the remote object through RMI (actually, both are client and server are on localhost). I'm

RMI Stubs And Tomcat 4.1.24

2003-07-28 Thread Roberto Bouza
Hello everyone, What I want is just to register (or cache) the RMI objects in an object. 1.) I have a lot of RMI servers running in differents machines. 2.) From the web server I need to connect to this servers (hevy load) from differents users 3.) So what I need is to cache the RMI

running rmi...

2003-07-17 Thread Aditya Gujarathi
i am using struts framework for my jsp pages.. one of my action class is supposed to create an object of rmi client, and call a remote method.. the rmi client and server are well tested, compiled and stub is also generated.. all these files are apprpriately placed on the server and client machines

Re: RMI on Tomcat

2003-07-09 Thread Sanjay
Anybody has any ideas on this, Thanks again, Sanjay --- Sanjay [EMAIL PROTECTED] wrote: I am trying to set a RMI-IIOP server on Tomcat. Getting some issues. MY RMI Server works fine if I start it standalone- without Tomcat. I think have been able to set security codebase etc correctly

RE: RMI on Tomcat

2003-07-09 Thread Bodycombe, Andrew
You may problems using RMI if tomcat is installed in a directory containing whitespace. (e.g. C:\Program Files\Apache Group\...). -Original Message- From: Sanjay [mailto:[EMAIL PROTECTED] Sent: 09 July 2003 14:02 To: Tomcat Users List Subject: Re: RMI on Tomcat Anybody has any ideas

RE: RMI on Tomcat

2003-07-09 Thread Sanjay
I have it set in a simple directory called tomcat. Thanks Sanjay --- Bodycombe, Andrew [EMAIL PROTECTED] wrote: You may problems using RMI if tomcat is installed in a directory containing whitespace. (e.g. C:\Program Files\Apache Group\...). -Original Message- From: Sanjay [mailto

RMI-IIOP on Tomcat

2003-07-08 Thread Sanjay
I am trying to set a RMI-IIOP server on Tomcat. Getting some issues. MY RMI Server works fine if I start it standalone- without Tomcat. I think have been able to set security codebase etc correctly. Environment : Tomcat 4.1, Win NT4, JDK1.4.1 I have issues when I start the RMIServer in Tomcat. I

Re: Tomcat RMI and Eclipse

2003-04-03 Thread Marc Chamberlin
Well as promised, am reporting back. Christian was right and installing Tomcat into a directory with no spaces embedded in the path names fixes the RMI problem. I noted in bugzilla that this problem has already been reported, (Bug #4543) and was resolved with the solution that it is not going

Tomcat RMI and Eclipse

2003-04-02 Thread Marc Chamberlin
Hi, I have a puzzler and hope someone on this group might be able to give me a few pointers as to where to look for a solution I am running the Tomcat 4.1.18 server on a Win2000 machine and am developing a servlet which will act as an RMI client and makes remote calls to another machine

Re: Tomcat RMI and Eclipse

2003-04-02 Thread Chris Gokey
Sometimes it helps to recreate the exception... URL url = new URL(Group/Tomcat); will result in: java.net.MalformedURLException: no protocol: Group/Tomcat My guess is that since you are getting an java.rmi.ServerException, the exception is being generated on the server after the RMI connection

Re: Tomcat RMI and Eclipse

2003-04-02 Thread Marc Chamberlin
- Original Message - From: Chris Gokey [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 6:31 PM Subject: Re: Tomcat RMI and Eclipse Sometimes it helps to recreate the exception... URL url = new URL(Group/Tomcat); will result

Re: Tomcat RMI and Eclipse

2003-04-02 Thread Jean-Francois Arcand
Gokey [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 6:31 PM Subject: Re: Tomcat RMI and Eclipse Sometimes it helps to recreate the exception... URL url = new URL(Group/Tomcat); will result in: java.net.MalformedURLException: no protocol: Group/Tomcat

Re: Tomcat RMI and Eclipse

2003-04-02 Thread Marc Chamberlin
that is registered to the codebase for the RMI server. Also all these class definitions are stored within jar files that are placed within the WEB-INF/lib directory of the servlet context of the Tomcat server. It was a good thought though :-) but I am still perplexed! Marc

Re: Tomcat RMI and Eclipse

2003-04-02 Thread Christian Traber
? Regards, Christian Marc Chamberlin wrote: However, when I run the Tomcat server standalone, when the servlet makes this particular RMI call, to this method passing and returning the complex Java object, I get the following exception: java.rmi.ServerException: RemoteException occurred in server

Re: Tomcat RMI and Eclipse

2003-04-02 Thread Marc Chamberlin
Subject: Re: Tomcat RMI and Eclipse Hi, I had the same problem:-( Group/Tomcat is part of the installation directory of tomcat (C:\Apache Group\Tomcat 4.1) If you install tomcat in a directory without spaces is the directory-names, it should works! I have this problem since tomcat4.0

Tomcat/RMI and Spaces in Filenames

2003-02-28 Thread Bodycombe, Andrew
I am having a problem with Tomcat 4.1.18 running on Windows NT 4, and JDK 1.4 I have a servlet accessing a remote server via RMI, and the RMI calls fail with an UnmarshallException, but only when the tomcat install directory contains spaces. e.g. C:\Program Files\Apache Group\Tomcat 4.1

RMI Performance problem

2003-01-31 Thread Arachtingi, Mike
Has anyone noticed a performance problem, using RMI from within a web app? I developed a test program that looks up a remote object, and sends it 99 messages (i.e., invokes one of the remote methods.) When I run this as a stand-alone program, my results show an average invocation time of about

RE: RMI Performance problem

2003-01-31 Thread Filip Hanik
RMI has never been fast. It uses java serialization to marshall requests. hence it is slow. The more complicated objects you send over the request, the slower it gets. Filip -Original Message- From: Arachtingi, Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 2:07 PM

RE: RMI Performance problem

2003-01-31 Thread Filip Hanik
sorry didn't read the full email. Performance degrading when inside of an webapp, shouldn't be doing that, unless the classloader is doing something funky when demarshalling your request. what you could do is to play around putting your RMI classes in different classpaths, like common/lib

RE: RMI Performance problem

2003-01-31 Thread Julius Davies
interesting observation. I don't have much experience with RMI, and I've never looked at Tomcat's source code. But this is a mailing list, so I don't see why these facts should stop me from writing a response! ;-) In your Test program, I would try starting up a second do nothing thread before you run

RE: RMI Performance problem

2003-01-31 Thread Jay Lee
To: [EMAIL PROTECTED] Subject: RMI Performance problem Has anyone noticed a performance problem, using RMI from within a web app? I developed a test program that looks up a remote object, and sends it 99 messages (i.e., invokes one of the remote methods.) When I run this as a stand-alone program, my

Wanted: Documentation on HTTP/RMI Tunnelling

2003-01-28 Thread Richard Heintze
Can someone give the the URL where it explicitly says that Tomcat supports Java RMI/HTTP tunneling (with callbacks) on Port 80? Thanks, Siegfried - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

RMI Problem with Tomcat

2003-01-27 Thread Ashwin Desai
My servlet connects to a rmi server which is running on the same machine as Tomcat 4.1. But, I get a queer exception NotBoundException at Naming.lookup. I printed out the list of servers bound in the registry using Naming.list and I can see my rmi server listed. So, I am just puzzled as to why

RE: Problems with RMI and Axis in Tomcat??

2003-01-15 Thread Anecito, Anthony (HQP)
in a separate console window instead of as a service under Win/NT so you can see the entire trace of exceptions. This is what helped me A LOT. 3. If using rmi from inside a Axis service be very careful since the demarshaling of objects at the client will fail with malformed URL because of the space

Problems with RMI and Axis in Tomcat??

2003-01-13 Thread Anecito, Anthony (HQP)
Hi All, Has anyone tried using rmi calls inside of a Axis service on Tomcat? Using Tomcat 4.1.12 on Windows NT. I get errors about access permissions at 127.0.0.1:1099 showing up in the stdout log file in the common/logs directory. I have set permissions on my dev machine for tomcat

Wanted: docs on Applet-Servlet RMI on Port 80

2002-12-31 Thread Richard Heintze
I've been studying chapt 10 of 2nd Edition of Jason Hunters' Java Servlet Programming. Much to my dismay, I cannot find where the second edition says Applet-Servlet RMI works on Port 80. I'm sure the first edition talked about using port 80 with RMI callbacks. Can someone point me

i have problem about rmi with tomcat4.1.12-LE-jdk14

2002-12-26 Thread Kosit Krepanich
Hi. i have problem. Why i use RMI in servlet code and run in tomcat4.1.12-LE-jdk14. it can get object but when it use that object its error : java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.net.MalformedURLException: no protocol: Files/Apache please help

Re: i have problem about rmi with tomcat4.1.12-LE-jdk14

2002-12-26 Thread Jared Walker
Looks to me like you're using this on a windows machine. The space in the file name is giving RMI a hard time. Move your tomcat installation to a location that doesn't have a space (i.e. C:\tomcat). This should fix your problem. later, -Jared On Wed, 2002-12-25 at 21:35, Kosit Krepanich wrote

RE: RMI Class Annotation

2002-12-10 Thread Greg Trasuk
, then the value of getURLs() is used for the annotation. In the case of Tomcat, that annotation will include everything in WEB-INF/lib, common/lib, etc. For RMI purposes, it's entirely useless anyway, since it doesn't contain a url to your publicly accessible classes for RMI download. There's

RMI Class Annotation

2002-12-09 Thread David Esposito
Hello all, My problem is this: I am running Tomcat 4.1 as an embedded service in JBOSS 3.0.4 ... One of my servlets makes an RMI call to an RMI server running on a different box. The problem is that the classpath that JBOSS creates (and Tomcat inherits, i believe) is so large that it actually has

RE: Apache Tomcat 4.1 and RMI

2002-11-27 Thread Shapira, Yoav
-fledged application server would probably have a full, native, administrabale RMI component. method in the applet's init() method. I gather that I have not set up my Java plug-in/Tomcat security policy files correctly. I tried adding this to the catalina.plicy file, but with no luck: grant codeBase

RE: RMI and Tomcat

2002-11-27 Thread Greg Trasuk
for MyAppStarter. Are you passing or returning an instance of MyAppStarter as an argument in the RMI call to the server app, or is the server object an instance of MyAppStarter? In either case, do you have the codebase property set on the RMI server JVM? The system property java.rmi.server.codebase

RMI and Tomcat

2002-11-26 Thread Sarah L. Moore
Hello all. I am new to Tomcat, and am having a problem with RMI. I have a Java application that basically just sits on my server waiting for a data vector to be passed to it from my servlet. However, when I run the servlet and try to have it pass the data to the application through RMI, I get

Re: RMI and Tomcat

2002-11-26 Thread Kwok Peng Tuck
. Sarah L. Moore wrote: Hello all. I am new to Tomcat, and am having a problem with RMI. I have a Java application that basically just sits on my server waiting for a data vector to be passed to it from my servlet. However, when I run the servlet and try to have it pass the data

Re: RMI and Tomcat

2002-11-26 Thread Sarah L. Moore
Thanks for your reply. My servlet class is in examples/WEB-INF/classes. If I comment out the RMI step, the servlet runs fine, so I'm left to think that the servlet location, etc. are OK, but something relating to RMI is the culprit. At 11:01 AM 11/27/2002 +0800, you wrote: Cannot allocate

Re: RMI and Tomcat

2002-11-26 Thread Kwok Peng Tuck
Sorry, did not correctly see which class it was complaining about. Try and move MyApplicationStarter to the said directories. Sarah L. Moore wrote: Thanks for your reply. My servlet class is in examples/WEB-INF/classes. If I comment out the RMI step, the servlet runs fine, so I'm left

Apache Tomcat 4.1 and RMI

2002-11-26 Thread Ben Deany
an RMI registry on port 1099 that holds an instance of an engine that I want to make calls to. That works fine. However, when the applet is downloaded and starts executing I get a SocketPermissions exception connection refused (which I can see in my plug-in console). This is caused by a call

Re: RMI and Tomcat

2002-11-26 Thread Sarah L. Moore
the output of my application, it looks as though the application begins to run, but it is the servlet that is throwing the above exception upon the call to the RMI application. I did a search for servlet.jar, and it looks as though it is where it should be in the Tomcat directory structure (i.e

Re: RMI and Tomcat

2002-11-26 Thread Bill Barker
s though the application begins to run, but it is the servlet that is throwing the above exception upon the call to the RMI application. I did a search for servlet.jar, and it looks as though it is where it should be in the Tomcat directory structure (i.e. catalina_home/common/lib). Any other advi

problems with tomcat as rmi client

2002-11-25 Thread Vishal Zinjuvadia
Hi, I am trying to use a Tomcat webapp as a RMI client. For the test purposes, my RMI server resides on the same machine. When I use a Tomcat webapp as a client, I consistently get a ClassCastException, while if I use a plain java class for the client, it works flawlessly. Following is my client

Re: problems with tomcat as rmi client

2002-11-25 Thread Bill Barker
g to use a Tomcat webapp as a RMI client. For the test purposes, my RMI server resides on the same machine. When I use a Tomcat webapp as a client, I consistently get a ClassCastException, while if I use a plain java class for the client, it works flawlessly. Following is my client c

ClassCastException when using Tomcat as RMI client

2002-11-22 Thread Vishal Zinjuvadia
Hi, I am trying to use a Tomcat webapp as a RMI client. For the test purposes, my RMI server resides on the same machine. When I use a Tomcat webapp as a client, I consistently get a ClassCastException, while if I use a plain java class for the client, it works flawlessly. Following is my client

Anyone using HTTP-tunnel over RMI out there ?

2002-10-18 Thread achana
Anyone willing to take on this challenge ? Trade info to make it work (or work better) ? Must use Apache and Tomcat, make and model of backend database not critical, but Oracle is preferred. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands,

RE: RMI and TC4.x (Really classloader stuff)

2002-08-19 Thread David Oxley
Thanks for your comments Greg. Now at least I know what's going on. I'm going to attach these comments to the bug log. Thanks. Dave. -Original Message- From: Greg Trasuk [mailto:[EMAIL PROTECTED]] Sent: 10 August 2002 04:54 To: 'Tomcat Users List' Subject: RE: RMI and TC4.x (Really

RE: RMI and TC4.x (Really classloader stuff)

2002-08-12 Thread Cox, Charlie
I am not familiar with RMI, but I have looked at the classloaders. The classloader overview is defined in the classloader document. There are two instances of StandardClassLoader that are used by webapps, 'shared' and 'common'. Then each webapp has its own WebappClassLoader instance

RE: RMI and TC4.x (Really classloader stuff)

2002-08-09 Thread Greg Trasuk
Hi David: I'm in the same boat trying to use RMI and/or Jini from Tomcat. This isn't a complete answer to your question, as I'm still investigating the issue, but I'm posting what I know so far in the hope that it might help in your own solution, and also generate discussion

RE: RMI and TC4.x

2002-07-23 Thread David Oxley
It does actually connect to the RMI server, but it can't download classes from the web server. It looks like java.rmi.codebase = TC local path rather than http://server/webapp which iks what the code sets it to. Dave -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED

RMI and TC4.x

2002-07-22 Thread David Oxley
Has anyone got RMI working from within TC4.x. I had no problems under TC3.x, but just can't get it working under TC4.x. I have had a bug report outstanding for quite some time on this, but I was hoping that someone on the user list may have already got this working. http://issues.apache.org

RE: RMI and TC4.x

2002-07-22 Thread Shapira, Yoav
Howdy, We use RMI extensively on long-running tomcat servers (4.0.1 and 4.0.4). Never had any problems with it. We even have a portion of the night when we do very frequent (more than 1/sec) serialization and deserialization of relatively large, complex (but serializable) objects between

HELP! - Modifying Catalina.bat for RMI

2002-07-17 Thread James Milks
Hi all, I searched the archives on this one, but couldn't find any answers, sorry if it is basic. I rebuilt my laptop and decided to upgrade from TOMCAT 3 to TOMCAT 4 (on Win2k pro with JDK 1.4). I managed to get everything working except RMI. I suspect that I simply need to add a configuration

Re: HELP! - Modifying Catalina.bat for RMI

2002-07-17 Thread Simon Oldeboershuis
Hi James, I am using tomcat together with JOnAS EJB-Server, therefore I needed RMI as well. I changed one line to set the correct JNDI properties: set JAVA_OPTS=-Djava.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory -Djava.naming.provider.url=rmi://localhost:1099

RE: tomcat 4.0.3 servlet having problem loading class via rmi ?

2002-06-07 Thread Shapira, Yoav
). Usually ClassNotFoundExceptions are fairly straightforward... Yoav Shapira Millennium ChemInformatics -Original Message- From: java guru [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 5:21 PM To: [EMAIL PROTECTED] Subject: tomcat 4.0.3 servlet having problem loading class via rmi

tomcat 4 having trouble with loading rmi classes from codebase

2002-06-07 Thread java guru
Hi., i am trying to use servlet with tomcat 4.0.3 that tries to load classes from rmi codebase defined by http protocol. catalina.out log is reporting classnot found exception while other stand alone clients are working fine. Read somewhere about Jar handler problems in tomcat

serious issues with tomcat and rmi

2002-06-07 Thread java guru
I am encountering serious issues with tomcat and rmi.. I am getting all sorts of problems ranging from 1. version 4.0.3 cannot load classes from rmi codebase.. reading the codebase but returning classnotfound exceptions.. 2. version 4.0.4 webappclass loader dying with 'Life cycle error

RE: serious issues with tomcat and rmi

2002-06-07 Thread Greg Trasuk
] Subject: serious issues with tomcat and rmi I am encountering serious issues with tomcat and rmi.. I am getting all sorts of problems ranging from 1. version 4.0.3 cannot load classes from rmi codebase.. reading the codebase but returning classnotfound exceptions.. 2. version 4.0.4 webappclass

tomcat 4.0.3 servlet having problem loading class via rmi ?

2002-06-06 Thread java guru
Hi., I am trying to access a JINI service thru my servlet.. inspite of following Security Manager, Policy file and setting codebase etc, tomcat 4.0.3 repeatedly give following excption. The JINI service itself is working fine and other standalone clients can access it. Read somewhere that the

newbee: rmi callback from a servlet

2002-05-02 Thread tony yau
since I'am not sure what is causing my particular problem I'am not sure that this is the right group to ask this question, so please to bear with me. I've got an RMI server and Tomcat 4.0 running separately on the same machine. I' am trying to implement a RMI callback from within a Servlet

RMI Server in Tomcat problems

2002-04-12 Thread Jürgen Weber
Hi I tried to set up an RMI server in tomcat 4.03 First problem is, there seems to be no possibility to have something in tomcat like weblogics startup classes, i.e. classes that are called at server startup. So I had to trigger a servlet by hand that does the initialisation and registry

RE: RMI Server in Tomcat problems

2002-04-12 Thread Lance Smith
High Weber, try System.setSecurityManager(new RMISecurityManager(fully qualified name of you're security file)); Lance -Original Message- From: Jürgen Weber [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 7:33 AM To: [EMAIL PROTECTED] Subject: RMI Server in Tomcat problems Hi

Starting and binding a remote object to an RMI registry under Tomcat 4.0.1

2002-02-19 Thread Mann, Nick
Hi I'm having trouble starting and binding a remote object to an RMI registry under Tomcat 4.0.1. when the CATALINA_HOME variable is pointing to an install directory with a space in it, like Program Files The code is in a servlet eg createRegistry(); Naming.bind(rmi

Problem running RMI Server on Tomcat4.0, Apache1.3.22

2002-02-06 Thread Sucharitha Panthika
CASE I: 1. I tried working with a RMI tutorial example. I wrote a Server TransportObject, ServerImpl TransportObjectImpl and a Client named Transport Client. 2. I made sure to run the rmi registry on a window where class file or stubs are not available. 3. I am trying to start the Server using

RMI remote Method which returns File object.

2002-02-06 Thread Sucharitha Panthika
Hey I have a qution using RMI to return files . If I have a a remote method public File getFile(); method in a Server and I implemented this method to return one file from my local drive C:\. When the remote Client from different system calls this method should it return the my File

  1   2   >