[JBoss-user] JBoss 4.x error: GenericEJBInterceptor

2006-07-24 Thread Anand Kulkarni
Hi,

I am working on JBoss server with struts and EJB. 
I am presently using JBoss4.x.. I deploy my struts and
EJB application in the same JBoss server.

If I try to invoke stateless EJB from struts action
class then it gives me the following error:

//
22:50:23,718 INFO  [STDOUT] ctx =
[EMAIL PROTECTED]
22:50:23,906 INFO  [STDOUT] ERROR
[http-0.0.0.0-8080-1] (Log4JLogger.java:119) -
 Servlet.service() for servlet action threw exception
java.io.InvalidClassException:
org.jboss.proxy.ejb.GenericEJBInterceptor; local
class incompatible: stream classdesc serialVersionUID
= 3844706474734439975, loc
al class serialVersionUID = 4582256576523491346
at
java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
//

The code works perfectly in JBoss 3.0.8 but for JBoss
4.x it gives the above errors.

Can somebody tell me how to invoke EJB from web
application using JBoss 4.x app server ?

Waiting for the early reply.

Thanks.
regards,

Anand


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] unable to run sample examples after Integration of Tomcat with JBoss

2003-02-02 Thread Niket Anand



 

  Hello All,
  
I have configured JBoss2.4.7 with Tomcat4.0.4. 
Now I want to run examples that is in tomcat/webapps/examples 
folder.
For that I have created a war file containing 
all four folders(images,jsp,servlets,web-inf) of examples and put in deploy 
folder of jboss. Now when I run with
http://localhost:8080/examples/jsp/index.html
It is not able to find that context and giving 
following error

Apache Tomcat/4.0.4 - HTTP Status 404 - /examples/jsp/index.html


type Status report
message /examples/jsp/index.html
description The requested resource (/examples/jsp/index.html) 
is not available.


 
What I need to configure for that?
Please help me to run simple 
example.
 
Thanks,
Niket


[JBoss-user] running samples examples after Integration of Tomcat with JBoss

2003-02-02 Thread Niket Anand



 

  Hello All,
  I have configured JBoss2.4.7 with Tomcat4.0.4. 
  Now I want to run examples that is in tomcat/webapps/examples 
  folder.
  For that I have created a war file containing all 
  four folders(images,jsp,servlets,web-inf) of examples and put in deploy folder 
  of jboss. Now when I run with
  http://localhost:8080/examples/jsp/index.html
  It is not able to find that context and giving 
  following error
  
  Apache Tomcat/4.0.4 - HTTP Status 404 - /examples/jsp/index.html
  

  type Status report
  message /examples/jsp/index.html
  description The requested resource (/examples/jsp/index.html) is 
  not available.
  
  
   
  What I need to configure for that?
  Please help me to run simple 
example.
   
  Thanks,
  Niket


Re: [JBoss-user] Integration of Tomcat with JBoss

2003-02-02 Thread Niket Anand



 

  Hello All,
  I have configured JBoss2.4.7 with Tomcat4.0.4. 
  Now I want to run examples that is in tomcat/webapps/examples 
  folder.
  For that I have created a war file containing all 
  four folders(images,jsp,servlets,web-inf) of examples and put in deploy folder 
  of jboss. Now when I run with
  http://localhost:8080/examples/jsp/index.html
  It is not able to find that context and giving 
  following error
  
  Apache Tomcat/4.0.4 - HTTP Status 404 - /examples/jsp/index.html
  

  type Status report
  message /examples/jsp/index.html
  description The requested resource (/examples/jsp/index.html) is 
  not available.
  
  
   
  What I need to configure for that?
  Please help me to run simple 
example.
   
  Thanks,
  Niket


[JBoss-user] Integration of Tomcat with JBoss

2003-02-02 Thread Niket Anand



Hello All,
I have configured JBoss2.4.7 with Tomcat4.0.4. Now 
I want to run examples that is in tomcat/webapps/examples folder.
For that I have created a war file containing all 
four folders(images,jsp,servlets,web-inf) of examples and put in deploy folder 
of jboss. Now when I run with
http://localhost:8080/examples/jsp/index.html
It is not able to find that context and giving 
following error

Apache Tomcat/4.0.4 - HTTP Status 404 - /examples/jsp/index.html


type Status report
message /examples/jsp/index.html
description The requested resource (/examples/jsp/index.html) is 
not available.


 
What I need to configure for that?
Please help me to run simple example.
 
Thanks,
Niket


Re: [JBoss-user] Deploying images dynamically

2003-01-02 Thread Niket Anand



Hello Krishakumar,
Sorry for asking help again.Actually I have no idea 
about "exploded" war. How it would help me for the same? taking reference of my 
second mail to you.
Niket

  - Original Message - 
  From: 
  Krishnakumar N 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, January 02, 2003 5:08 
  PM
  Subject: RE: [JBoss-user] Deploying 
  images dynamically
  
  Hi,
   
  I 
  use JBOSS-Jetty and I have done this by having an ear file for the 
  packaged web application(s) and another web application deployed as a 
  'exploded' war. This second web aplication is there purely to manage additions 
  and deletions of images, it has just one servlet to manage these 
  operations. The pages in the primary web application reference the images thru 
  document root relative path, rather than context relative path. 
  
   
  The 
  way 'exploded' wars are created is by creating a directory  
  ".war" under the ../server//deploy directory of 
  JBOSS-Jetty. I am not sure if this works the same way in 
  JBOSS-Tomcat.
   
  Cheers,
  Krishna
  
    -----Original Message-From: Niket Anand 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, January 
02, 2003 4:14 PMTo: 
[EMAIL PROTECTED]Subject: [JBoss-user] Deploying 
images dynamically
Hello 
All,I made war and jar files in a combined ear file and deployed that 
ear filein deploy folder(JBoss-2.4.7_Tomcat-4.0.4).I have some 
scenario where some of the images are made dynamically. so Howcan I 
integrate that new generated images with ear file so that server 
canunderstand that images?Please help me and reply 
asap.Thanks,Niket


Re: [JBoss-user] Deploying images dynamically

2003-01-02 Thread Niket Anand



Hello Krishnakumar,
Thanks for replying back..
I need more help regarding the same.
I am using Cocoon with Tomcat and integrated with 
JBoss. I think the same concept should be applied here also as you have done it 
for JBoss-Jetty.
May be I need more clarification regarding ur 
mail.
I have one application running at server side with 
following contents:-
ear file:- npi.ear(containing application.xml, 
npi.jar(for EJB), npi.war(containing Cocoon servlet and XSP,XSL, images,js,css 
etc)
content of application.xml is



My 
application


npi.war
/npi
 


npi.jar


You are talking about 
making another war file that contain servlet to manage images. I am using only 
Cocoon servlet for whole application and I am generating images using this 
servlet only. 
So How can I configure new war file? what should it contain? and 
It manages the new generated images.
Can you send me an example for configuring this with ear 
/war and application.xml?
Thanks, waiting for ur reply..
Niket 
 

  - Original Message - 
  From: 
  Krishnakumar N 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, January 02, 2003 5:08 
  PM
  Subject: RE: [JBoss-user] Deploying 
  images dynamically
  
  Hi,
   
  I 
  use JBOSS-Jetty and I have done this by having an ear file for the 
  packaged web application(s) and another web application deployed as a 
  'exploded' war. This second web aplication is there purely to manage additions 
  and deletions of images, it has just one servlet to manage these 
  operations. The pages in the primary web application reference the images thru 
  document root relative path, rather than context relative path. 
  
   
  The 
  way 'exploded' wars are created is by creating a directory  
  ".war" under the ../server//deploy directory of 
  JBOSS-Jetty. I am not sure if this works the same way in 
  JBOSS-Tomcat.
   
  Cheers,
  Krishna
  
-Original Message-From: Niket Anand 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, January 
02, 2003 4:14 PMTo: 
[EMAIL PROTECTED]Subject: [JBoss-user] Deploying 
images dynamically
Hello 
All,I made war and jar files in a combined ear file and deployed that 
ear filein deploy folder(JBoss-2.4.7_Tomcat-4.0.4).I have some 
scenario where some of the images are made dynamically. so Howcan I 
integrate that new generated images with ear file so that server 
canunderstand that images?Please help me and reply 
asap.Thanks,Niket


[JBoss-user] test

2003-01-02 Thread Niket Anand



 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
niket


[JBoss-user] Deploying images dynamically

2003-01-02 Thread Niket Anand
Hello All,
I made war and jar files in a combined ear file and deployed that ear file
in deploy folder(JBoss-2.4.7_Tomcat-4.0.4).
I have some scenario where some of the images are made dynamically. so How
can I integrate that new generated images with ear file so that server can
understand that images?
Please help me and reply asap.
Thanks,
Niket



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Deploying images dynamically

2003-01-02 Thread Niket Anand



Hello All,I 
made war and jar files in a combined ear file and deployed that ear filein 
deploy folder(JBoss-2.4.7_Tomcat-4.0.4).I have some scenario where some of 
the images are made dynamically. so Howcan I integrate that new generated 
images with ear file so that server canunderstand that images?Please 
help me and reply 
asap.Thanks,Niket


[JBoss-user] test

2003-01-02 Thread Niket Anand



 
 
 
 
 
 
 
 
 
 
 
 
 
niket


[JBoss-user] JMS Clustering

2002-09-04 Thread Niket Anand

Hello,
Does JBOSS support JMS clustering and JMS fault tolerance? and How to do
these?
How can one handle JMS messages persistence?
Pls send any links related to these topics.

Thanks,
Niket




---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JMS Clustering

2002-09-03 Thread Niket Anand

Hello,
Does JBOSS support JMS clustering and JMS fault tolerance? and How to do
these?
How can one handle JMS messages persistence?
Pls send any links related to these topics.

Thanks,
Niket



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Help me ClassNotFoundException: org.jboss.proxy.ClientContainer

2002-08-09 Thread Niket Anand


Hi All,
I am using Jboss-3.0.0_Tomcat4.0.3. I am getting following problem while
running in this environment
javax.naming.CommunicationException [Root exception is
java.lang.ClassNotFoundException: org.jboss.proxy.ClientContainer (no
security manager: RMI class loader disabled)]
I tried to put jboss-client.jar or other client jar in  set classpath in
run.bat, but it create problem while deploying ear file and give
classnotfound exception of jboss.jar classes.
What would be the solution for this. and Which jars files need to put in
classpath and where to set that jars in classpath?
Please reply asap.
Thanks
Niket



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] test

2002-08-09 Thread Niket Anand





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] test

2002-08-09 Thread Niket Anand





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] running the EJB Servlet client in the jboss EJB tutorial

2001-04-03 Thread anand

Thanks that really helped

Now I am having another problem. I tried to run the EJB from servlet as
given in the JBoss tutorial. I was able to compile the servlet without
any error. But while calling the servlet from browser I am getting the
following message 

"Servlet interface to EJB
Calling EJB...
Could not connect to Interest bean. Is EJB Container running? "

But my EJB container is running and I am able to call it from separate
application and not from this servlet. 
I am using JBoss combined with Tomcat. 

Can someone please help me with this also?

thx,
Anand.

-Original Message-
From: Aaron Metzger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 12:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] running the EJB client in the jboss EJB
tutorial



Add jbosssx-client.jar to the client's classpath.


anand wrote:
> 
> Hi all,
> 
> I am new to jboss and want to learn EJB through jboss. I was trying to
> follow the 7 step tutorial (using the interest example) given and was
> successful in deploying the EJB in jboss. But I am having problems in
> running the client(InterestClient).
> 
> I was able to successfully compile the InterestClient.java without any
> error. But when I try to run it is giving the following error while I
> run it.
> 
> Got context
> Got reference
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/jboss/security/SecurityAssociation
> at
>
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(GenericP
> roxy.java:184)
> at
>
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:23
> 1)
> at $Proxy0.create(Unknown Source)
> at InterestClient.main(InterestClient.java:49)
> 

-- 
Aaron Metzger

___
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



RE: [JBoss-user] running the EJB client in the jboss EJB tutorial

2001-04-02 Thread anand

Thanks Aaron, 

That really worked and I got the output. 

Thanks again. 
Anand. 

-Original Message-
From: Aaron Metzger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 12:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] running the EJB client in the jboss EJB
tutorial



Add jbosssx-client.jar to the client's classpath.


anand wrote:
> 
> Hi all,
> 
> I am new to jboss and want to learn EJB through jboss. I was trying to
> follow the 7 step tutorial (using the interest example) given and was
> successful in deploying the EJB in jboss. But I am having problems in
> running the client(InterestClient).
> 
> I was able to successfully compile the InterestClient.java without any
> error. But when I try to run it is giving the following error while I
> run it.
> 
> Got context
> Got reference
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/jboss/security/SecurityAssociation
> at
>
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(GenericP
> roxy.java:184)
> at
>
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:23
> 1)
> at $Proxy0.create(Unknown Source)
> at InterestClient.main(InterestClient.java:49)
> 

-- 
Aaron Metzger

___
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] running the EJB client in the jboss EJB tutorial

2001-04-02 Thread anand

Hi all,

I am new to jboss and want to learn EJB through jboss. I was trying to
follow the 7 step tutorial (using the interest example) given and was
successful in deploying the EJB in jboss. But I am having problems in
running the client(InterestClient). 

I was able to successfully compile the InterestClient.java without any
error. But when I try to run it is giving the following error while I
run it. 

Got context
Got reference
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jboss/security/SecurityAssociation
at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(GenericP
roxy.java:184)
at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:23
1)
at $Proxy0.create(Unknown Source)
at InterestClient.main(InterestClient.java:49)

Can someone help me to get rid of this error and how I can run the
client correctly. The line 49 where the error is flagged contains this
line 
"Interest interest = home.create();"

Thanks,
Anand.

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