Classloaders (newbie)

2003-07-25 Thread Harsh Nagpal
Hi!

I'm trying to  call an EJB from within a webserivce (Tomcat-Axis). The
basic design is as follows

Client  WebService  EJBClientClass  EJB

Everytime i run this, i get a remoteinovationerror (i resume from the
EJBCLientClass)

But when i integrate the webservice and the EJBClientClass everythign
run fine 

(Client  Webservice with EJB client coded inside  EJB)

Could this be a classloader issue?

please please please help

Harsh




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat Standalone with Jboss

2003-07-17 Thread Harsh Nagpal
Well the truth is that I'm new to Jboss and tomcat

I need Jboss and tomcat to run on separate VMs (and later on, on diff
machines). I need them to interact, as in the EJB would be the JBoss
machine and the the servlet/webservice on the another machine. How do i
accomplish this?


Harsh 

On Thu, 2003-07-17 at 00:17, Shapira, Yoav wrote:
 
 Howdy,
 Download and install JBoss, download and install tomcat. ;)
 
 You're going to need to be more specific...
 
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 -Original Message-
 From: Harsh Nagpal [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 16, 2003 2:46 AM
 To: [EMAIL PROTECTED]
 Subject: Tomcat Standalone with Jboss
 
 Hi!
 
 How do you setup JBoss and Standalone Tomcat(4.1.24)
 
 Any help would be appreciated
 
 -Harsh
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 This e-mail, including any attachments, is a confidential business communication, 
 and may contain information that is confidential, proprietary and/or privileged.  
 This e-mail is intended only for the individual(s) to whom it is addressed, and may 
 not be saved, copied, printed, disclosed or used by anyone else.  If you are not 
 the(an) intended recipient, please immediately delete this e-mail from your computer 
 system and notify the sender.  Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat + JBoss

2003-07-16 Thread Harsh Nagpal
On Mon, 2003-07-14 at 18:10, John Turner wrote: 
 
 mod_jk
 
 http://www.google.com/search?hl=enie=UTF-8oe=UTF- 
 8q=solaris+apache+tomcat+connector
 
 http://jakarta.apache.org/tomcat/faq/connectors.html
 
 John
 
 On Mon, 14 Jul 2003 18:24:44 +0800, Cui Xiaojing-a13339 
 [EMAIL PROTECTED] wrote:
 
  Hello All,
 
  In our server(OS is Solaris 2.6), we have installed Tomcat 4.1.24 and 
  Apache 1.3. Can we realize the connection between Tomcat 4.1.24 and 
  Apache 1.3? If yes, could you please give us a direction about using 
  which component to connect them and how to config the connection? Thanks 
  a lot.
 
  Regards,
  Xiaojing
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -- 
 Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Standalone with Jboss

2003-07-16 Thread Harsh Nagpal
Hi! 

How do you setup JBoss and Standalone Tomcat(4.1.24) 

Any help would be appreciated 

-Harsh


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: session expiry

2003-07-10 Thread harsh

you can set maximum inactive interval by
something similar to session.setMaxInactiveInterval(seconds);
(refer api )

On Thu, 10 Jul 2003, Paul Wallace wrote:

 Thank you for that. And where is the length of default session expiry
 defined? How do I configure session life span for TC?
 
 Thanks
 
 Paul. 
 
 
  
   
  
  public void close() {
  
   
 
 session.inValidate();
 
  
// kill my session here
  
   
  
  } 
  
  or failing that, how do I define a length of time for the session
 life?
  
   
  
  Thanks
  
   
  
  Paul.
  
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: session expiry

2003-07-09 Thread harsh

 
  
 
 public void close() {
 
  

session.inValidate();

 
   // kill my session here
 
  
 
 } 
 
 or failing that, how do I define a length of time for the session life?
 
  
 
 Thanks
 
  
 
 Paul.
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



strange error

2003-07-08 Thread harsh

I ran the tomcat for second time and now when i try to stop
it behaves like this..

[EMAIL PROTECTED] bin]# ./shutdown.sh
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLASSPATH: ./../bin/bootstrap.jar:/usr/local/j2sdk1.4.0_01/lib/tools.jar
Using CATALINA_BASE: ./..
Using CATALINA_HOME: ./..
Using JAVA_HOME: /usr/local/j2sdk1.4.0_01
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Caused by: java.lang.ClassFormatError: 
org/apache/xerces/readers/DefaultEntityHandler$NullReader
(Illegal Class name java/lang/Exce`tion)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:817)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)

and more like thisIf someone could understand the possible cause..

regards.

--
harsh
http://www.cse.iitb.ac.in/~harsh
--




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Anonymous posting

2003-07-08 Thread harsh


Can i restrict domains of the forms posting to 
my form handling scripts.i.e only all the html
or jsps inside http://www.mysite.com/ can post
to my jsps,and noone writes his own HTML forms
and post to my site ..

i hope i m clear in what i m asking.

regards

harsh

--
harsh
http://www.cse.iitb.ac.in/~harsh
--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anonymous posting

2003-07-08 Thread harsh

 Sounds like you are after some sort of filter.
 
donno i m new to tomcat configurationsIf that's possible
may i get some more details or some urls to study from
or some google keywords.

many thanks..

harsh


 harsh wrote:
 
 Can i restrict domains of the forms posting to 
 my form handling scripts.i.e only all the html
 or jsps inside http://www.mysite.com/ can post
 to my jsps,and noone writes his own HTML forms
 and post to my site ..
 
 i hope i m clear in what i m asking.
 
 regards
 
 harsh
 
 --
 harsh
 http://www.cse.iitb.ac.in/~harsh
 --
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
   
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CGI scripts

2003-07-07 Thread harsh

Hi can i run cgi scripts too through apache
if yes then how and where to place them ?

--
harsh
http://www.cse.iitb.ac.in/~harsh
--



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]