Re: [Resin-interest] Error on web application startup with aweb-service-client tag

2008-07-10 Thread Monson, Ron
Try this format instead:
 
remote-client name=myWebSvc interface=example.MyWebService
uri=hessian:url=${webApp.url}/mywebsvc//

 

Regards, 
Ron Monson
EDS - Homeland Security  Justice
Systems Architecture  Development
Dept. Of Homeland Security, SEVIS Project
800 K St. NW, Suite 830, Washington, DC 20001
Mobile (202) 437-2157
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sashidhar Guduri
Sent: Thursday, July 10, 2008 8:27 AM
To: General Discussion for the Resin application server
Subject: [Resin-interest] Error on web application startup with
aweb-service-client tag


I get the following error when I start up resin: 

[2008/07/10 08:22:22.454]
/usr/resin/resin-pro-3.1.6/conf/webservices.conf:11: 'url' is an unknown
property of 'com.caucho.remote.client.RemoteClient'.
[2008/07/10 08:22:22.454] 
[2008/07/10 08:22:22.454] 10: web-service-client
jndi-name=service/CosignService
[2008/07/10 08:22:22.454] 11:
urlhessian:http://172.20.57.97/test.msis.ws/services/CosignService/ur
l
[2008/07/10 08:22:22.454] 12:
interfaceedu.umich.authentication.cosign.CosignService/interface
[2008/07/10 08:22:22.454] 13: /web-service-client

If I don't give a url, it complains that url is required. Is
there a bug in resin 3.1.6 to not handle the url tag properly?

Thanks
Sashi

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Error on web application startup with aweb-service-client tag

2008-07-10 Thread Sashidhar Guduri
Thanks for the reply but that format does not expose it using jndi. Is there
a way to expose using jndi for remote client tag?
Sashi

On Thu, Jul 10, 2008 at 8:43 AM, Monson, Ron [EMAIL PROTECTED] wrote:

  Try this format instead:


 
 remote-client name=myWebSvc interface=example.MyWebService uri=
 hessian:url=${webApp.url}/mywebsvc//



 Regards,
 *Ron Monson***
 EDS - Homeland Security  Justice
 Systems Architecture  Development
 Dept. Of Homeland Security, SEVIS Project
 800 K St. NW, Suite 830, Washington, DC 20001
 Mobile (202) 437-2157
 [EMAIL PROTECTED] [EMAIL PROTECTED]

  --
 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Sashidhar Guduri
 *Sent:* Thursday, July 10, 2008 8:27 AM
 *To:* General Discussion for the Resin application server
 *Subject:* [Resin-interest] Error on web application startup with
 aweb-service-client tag

 I get the following error when I start up resin:
  [2008/07/10 08:22:22.454]
 /usr/resin/resin-pro-3.1.6/conf/webservices.conf:11: 'url' is an unknown
 property of 'com.caucho.remote.client.RemoteClient'.
 [2008/07/10 08:22:22.454]
 [2008/07/10 08:22:22.454] 10: web-service-client
 jndi-name=service/CosignService
 [2008/07/10 08:22:22.454] 11: urlhessian:
 http://172.20.57.97/test.msis.ws/services/CosignService/url
 [2008/07/10 08:22:22.454] 12:
 interfaceedu.umich.authentication.cosign.CosignService/interface
 [2008/07/10 08:22:22.454] 13: /web-service-client

 If I don't give a url, it complains that url is required. Is there a bug in
 resin 3.1.6 to not handle the url tag properly?

 Thanks
 Sashi


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest




-- 
Sashidhar Guduri, App Analyst Lead
UM Medical School Information Services
skype: guduri-umich
Office 734.615-6019 | Cell 734.604-3255 | Fax 734.615-5171
http://www.med.umich.edu/medschool/msis/
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Error on web application startup withaweb-service-client tag

2008-07-10 Thread Monson, Ron
Yep, I believe you are correct. It should be registered with WebBeans
and the preferred method these days is dependency injection.  Have you
considered that instead? Frankly I'm not sure if it's possible to have
Resin register it in JNDI after the 3.1.5 refactoring.  Maybe someone
else can weigh in before I get a chance to test a few more things out.
 
Ron




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sashidhar Guduri
Sent: Thursday, July 10, 2008 8:49 AM
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] Error on web application startup
withaweb-service-client tag


Thanks for the reply but that format does not expose it using
jndi. Is there a way to expose using jndi for remote client tag? 

Sashi


On Thu, Jul 10, 2008 at 8:43 AM, Monson, Ron
[EMAIL PROTECTED] wrote:


Try this format instead:
 


remote-client name=myWebSvc
interface=example.MyWebService
uri=hessian:url=${webApp.url}/mywebsvc// 

 

Regards, 
Ron Monson
EDS - Homeland Security  Justice
Systems Architecture  Development
Dept. Of Homeland Security, SEVIS Project
800 K St. NW, Suite 830, Washington, DC 20001
Mobile (202) 437-2157
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sashidhar Guduri
Sent: Thursday, July 10, 2008 8:27 AM
To: General Discussion for the Resin application
server
Subject: [Resin-interest] Error on web
application startup with aweb-service-client tag


I get the following error when I start up resin:


[2008/07/10 08:22:22.454]
/usr/resin/resin-pro-3.1.6/conf/webservices.conf:11: 'url' is an unknown
property of 'com.caucho.remote.client.RemoteClient'.
[2008/07/10 08:22:22.454] 
[2008/07/10 08:22:22.454] 10:
web-service-client jndi-name=service/CosignService
[2008/07/10 08:22:22.454] 11:
urlhessian:http://172.20.57.97/test.msis.ws/services/CosignService/ur
l
[2008/07/10 08:22:22.454] 12:
interfaceedu.umich.authentication.cosign.CosignService/interface
[2008/07/10 08:22:22.454] 13:
/web-service-client

If I don't give a url, it complains that url is
required. Is there a bug in resin 3.1.6 to not handle the url tag
properly?

Thanks
Sashi


___
resin-interest mailing list
resin-interest@caucho.com

http://maillist.caucho.com/mailman/listinfo/resin-interest






-- 
Sashidhar Guduri, App Analyst Lead
UM Medical School Information Services
skype: guduri-umich
Office 734.615-6019 | Cell 734.604-3255 | Fax 734.615-5171
http://www.med.umich.edu/medschool/msis/ 

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Error while deploying a web application on Resin 3.1.6

2008-07-10 Thread Scott Ferguson

On Jul 9, 2008, at 11:03 PM, George Wei wrote:


 Dear all,

 I've created a web application and deployed it on Tomcat 6.0.x, it  
 works
 fine. Then I tried to deploy the same war file on Resin 3.1.6, I got  
 the
 following error messages:


 It seems method com.caucho.server.webapp.WebApp.addServlet() tries  
 to call
 org.hibernate.cfg.AnnotationConfiguration.addProperties(), but can  
 not find
 it. In fact, I've checked the API doc of Hibernate Annotations 3.3.0  
 GA,
 this method does NOT exist. So is there some wrong with Resin  
 itself? If
 not, how can I fix this problem? Thanks for any clues.

There's probably an old jar somewhere in your classpath.  If you start  
Resin with -verbose, you'll see the system classpath, which might help  
track down the extra jar.

Resin itself couldn't create that error.  It's due to some class  
compiled against an old version of a method.

-- Scott



 Regards,
 George
 -- 
 View this message in context: 
 http://www.nabble.com/Error-while-deploying-a-web-application-on-Resin-3.1.6-tp18376474p18376474.html
 Sent from the Resin mailing list archive at Nabble.com.



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Error on web application startup withaweb-service-client tag

2008-07-10 Thread Scott Ferguson


On Jul 10, 2008, at 6:35 AM, Sashidhar Guduri wrote:

Resin documentation seems to have fallen behind. It looks like I  
can't depend on the documentation but instead experiment. Anyway  
here is what I found and I am getting a new exception now when I  
startup. I was able to use jndi-name for remote-client tag. My  
remote-client looks like this now:


remote-client jndi-name=service/CosignService
interfaceedu.umich.authentication.cosign.CosignService/ 
interface
urihessian:url=https://172.20.57.97/test.msis.ws/services/CosignService 
/uri

/remote-client


That's the correct configuration.


I get the followng exception when the app starts up


[2008/07/10 09:33:38.822] Caused by: java.lang.ClassCastException:  
com.caucho.remote.hessian.HessianProtocolProxyFactory$BeanProxy  
cannot be cast to edu.umich.authentication.cosign.CosignService
[2008/07/10 09:33:38.822] 	at  
edu 
.umich 
.authentication 
.cosign 
.filter 
.CosignAuthenticationFilter.init(CosignAuthenticationFilter.java:181)
[2008/07/10 09:33:38.822] 	at  
com 
.caucho 
.server.dispatch.FilterManager.createFilter(FilterManager.java:144)

[2008/07/10 09:33:38.822]   ... 19 more


That looks like a Resin bug.  I've filed it as 
http://bugs.caucho.com/view.php?id=2780

It looks like Resin is registering the wrong object (the factory) with  
JNDI.


-- Scott



Thanks
Sashi

On Thu, Jul 10, 2008 at 9:22 AM, Monson, Ron [EMAIL PROTECTED]  
wrote:
Yep, I believe you are correct. It should be registered with  
WebBeans and the preferred method these days is dependency  
injection.  Have you considered that instead? Frankly I'm not sure  
if it's possible to have Resin register it in JNDI after the 3.1.5  
refactoring.  Maybe someone else can weigh in before I get a chance  
to test a few more things out.


Ron

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
] On Behalf Of Sashidhar Guduri

Sent: Thursday, July 10, 2008 8:49 AM

To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] Error on web application startup  
withaweb-service-client tag


Thanks for the reply but that format does not expose it using jndi.  
Is there a way to expose using jndi for remote client tag?


Sashi

On Thu, Jul 10, 2008 at 8:43 AM, Monson, Ron [EMAIL PROTECTED]  
wrote:

Try this format instead:



remote-client name=myWebSvc interface=example.MyWebService  
uri=hessian:url=${webApp.url}/mywebsvc//


Regards,
Ron Monson
EDS - Homeland Security  Justice
Systems Architecture  Development
Dept. Of Homeland Security, SEVIS Project
800 K St. NW, Suite 830, Washington, DC 20001
Mobile (202) 437-2157
[EMAIL PROTECTED]


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
] On Behalf Of   Sashidhar Guduri

Sent: Thursday, July 10, 2008 8:27 AM
To: General Discussion for the Resin application server
Subject: [Resin-interest] Error on web application startup with aweb- 
service-client tag


I get the following error when I start up resin:

[2008/07/10 08:22:22.454] /usr/resin/resin-pro-3.1.6/conf/ 
webservices.conf:11: 'url' is an unknown property of  
'com.caucho.remote.client.RemoteClient'.

[2008/07/10 08:22:22.454]
[2008/07/10 08:22:22.454] 10: web-service-client jndi- 
name=service/CosignService
[2008/07/10 08:22:22.454] 11: urlhessian:http://172.20.57.97/test.msis.ws/services/CosignService 
/url
[2008/07/10 08:22:22.454] 12:  
interfaceedu.umich.authentication.cosign.CosignService/interface

[2008/07/10 08:22:22.454] 13: /web-service-client

If I don't give a url, it complains that url is required. Is there a  
bug in resin 3.1.6 to not handle the url tag properly?


Thanks
Sashi

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest




--
Sashidhar Guduri, App Analyst Lead
UM Medical School Information Services
skype: guduri-umich
Office 734.615-6019 | Cell 734.604-3255 | Fax 734.615-5171
http://www.med.umich.edu/medschool/msis/

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest




--
Sashidhar Guduri, App Analyst Lead
UM Medical School Information Services
skype: guduri-umich
Office 734.615-6019 | Cell 734.604-3255 | Fax 734.615-5171
http://www.med.umich.edu/medschool/msis/
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Re sin Pro 3.1.6, OpenSSL Configuration Issues

2008-07-10 Thread abubakar

Hello,

I have been trying to configure OpenSSL in Resin Pro 3.1.6 but when I start
the server, I get the following error:

[12:23:11.510] {main} com.caucho.config.ConfigException: SSL JNI was not
properly initialized.  Make sure the resinssl library is properly created
and the SSL libraries are installed.
[12:23:11.510] {main}   at
com.caucho.vfs.OpenSSLFactory.initConfig(OpenSSLFactory.java:489)

Here are the different packages that I am using:
Resin Pro 3.1.6
OpenSSL 0.9.7.3
Windows XP professional SP2

I tried to configure SSL according to the manual locatad at the following
URL:
http://www.caucho.com/resin-3.0/security/ssl.xtp

I have been trying to configure it for a couple of hours and have tried many
versions of Resin but in vain.

Can someone please help me?

Thanks,

-AB
-- 
View this message in context: 
http://www.nabble.com/Resin-Pro-3.1.6%2C-OpenSSL-Configuration-Issues-tp18385676p18385676.html
Sent from the Resin mailing list archive at Nabble.com.



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Resin Restart / Automatic Thread Dump:

2008-07-10 Thread Martin Crundall
Hello;

 

I am seeing the following in stdout.log:

 

.

[07:32:08.049] JDK detected deadlock. Restarting Resin.

Resin Professional 3.0.22 (built Mon, 13 Nov 2006 09:41:30 PST)

Copyright(c) 1998-2006 Caucho Technology.  All rights reserved.

.

 

This is happening several times a day across three servers.

 

I have just enabled finer-grained logging, but I am wondering if there is a
way to have a thread dump trigger automatically when the restart occurs.

 

Many thanks and best regards,

 

Martin

 

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Need expert to help with JVM troubleshooting

2008-07-10 Thread Bill Au
Take some thread dumps when your CPU utilization is high too see whats'
going on inside that JVM during that time.

Bill

On Thu, Jul 10, 2008 at 4:57 PM, Adam Allgaier [EMAIL PROTECTED] wrote:

 We're having stability issues with our app running on Resin, characterized
 by climbing memory usage, and 100% CPU utilization, and frequent server
 crashes.  We're looking for an expert who will be willing to help us.  Any
 recommendations on where we can find one?

 Thank you,
 Adam Allgaier






 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Need expert to help with JVM troubleshooting

2008-07-10 Thread Emil Ong
On Thu, Jul 10, 2008 at 01:57:40PM -0700, Adam Allgaier wrote:
 We're having stability issues with our app running on Resin, characterized by 
 climbing memory usage, and 100% CPU utilization, and frequent server crashes. 
  We're looking for an expert who will be willing to help us.  Any 
 recommendations on where we can find one?

Hi Adam,

If you're using Resin 3.1.x, you can use the profiler in the Resin admin
app to help you find the CPU utilization problem.  You can also do
thread dumps and heap dumps to help you get more information.  

If this doesn't help and your problem is related to Resin directly,
feel free to email me and describe your issue.  I can let you know
if Caucho support would be appropriate for your problem.  In general
though, we would be unable to help with debugging your application.

Take care,
Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 361-2436
mailto:[EMAIL PROTECTED]
http://blog.caucho.com/

Caucho: Reliable Open Source
-- Resin: application server
-- Quercus: PHP in Java
-- Hessian Web Services


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Error while deploying a web application on Resin 3.1.6

2008-07-10 Thread George Wei

All items in my classpath are as follows:

.
D:\Java\JDK150\lib\tools.jar
D:\Java\JDK150\jre\lib\rt.jar
E:\Applications\resin-3.1.6\classes
E:\Applications\resin-3.1.6\lib\resin.jar
E:\Applications\resin-3.1.6\lib\activation.jar
E:\Applications\resin-3.1.6\lib\ejb-15.jar
E:\Applications\resin-3.1.6\lib\hessian.jar
E:\Applications\resin-3.1.6\lib\j2ee-management-10.jar
E:\Applications\resin-3.1.6\lib\javamail-14.jar
E:\Applications\resin-3.1.6\lib\jaxrpc-15.jar
E:\Applications\resin-3.1.6\lib\jaxws-api.jar
E:\Applications\resin-3.1.6\lib\jca-15.jar
E:\Applications\resin-3.1.6\lib\jms-11.jar
E:\Applications\resin-3.1.6\lib\jpa-15.jar
E:\Applications\resin-3.1.6\lib\jsdk-15.jar
E:\Applications\resin-3.1.6\lib\jsf-12.jar
E:\Applications\resin-3.1.6\lib\jsr88.jar
E:\Applications\resin-3.1.6\lib\jstl-11.jar
E:\Applications\resin-3.1.6\lib\jta-101.jar
E:\Applications\resin-3.1.6\lib\jws-15.jar
E:\Applications\resin-3.1.6\lib\portlet-10.jar
E:\Applications\resin-3.1.6\lib\quercus.jar
E:\Applications\resin-3.1.6\lib\resin-deploy.jar
E:\Applications\resin-3.1.6\lib\resin-util.jar
E:\Applications\resin-3.1.6\lib\saaj.jar
E:\Applications\resin-3.1.6\lib\script-10.jar
E:\Applications\resin-3.1.6\lib\webbeans-16.jar
E:\Applications\resin-3.1.6\lib\webutil.jar

As you can understand, D:\Java\JDK150\ is where I install JDK 1.5.0 and
E:\Applications\resin-3.1.6\ is where I install Resin 3.1.6. It looks there
are not any strange jars in my classpath. Any other clues?

George


Scott Ferguson wrote:
 
 
 There's probably an old jar somewhere in your classpath.  If you start  
 Resin with -verbose, you'll see the system classpath, which might help  
 track down the extra jar.
 
 Resin itself couldn't create that error.  It's due to some class  
 compiled against an old version of a method.
 
 -- Scott
 

-- 
View this message in context: 
http://www.nabble.com/Error-while-deploying-a-web-application-on-Resin-3.1.6-tp18376474p18395860.html
Sent from the Resin mailing list archive at Nabble.com.



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest