Re: [Resin-interest] already a root application context present

2013-07-10 Thread Vitaliy Berdinskikh UR6LAD
Hi Scott,

I can't manage the maillist subscription:

* the link http://maillist.caucho.com/mailman/listinfo/resin-interest is not 
available
* the mailbox  resin-interest-requ...@caucho.com is not abailable too, I've 
received next message from Google mail server:

 Technical details of permanent failure:
 Google tried to deliver your message, but it was rejected by the server for 
 the recipient domain caucho.com by peer0304.spam-filter.com. [209.213.83.137].
 
 The error that the other server returned was:
 550 resin-interest-requ...@caucho.com, Recipient unknown

--
73  72!
Vitaliy Berdinskikh
UR6LAD

-- реклама ---
FREEhost.UA - качественный хостинг.PHP 5.2, 5.3, 5.4. Домен бесплатно!
http://freehost.ua?iua

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


Re: [Resin-interest] CanDI unable to inject @Stateless

2010-03-23 Thread Vitaliy Berdinskikh
Hi!

I have the problem with CanDI's tag @Startup in 4.0.4.
I upgrade to 4.0.5 and now it works.

So I suppose you may try 4.0.5. May be it fix? ;)

В Wed, 24 Mar 2010 01:52:17 +0800
smallufo small...@gmail.com пишет:

 In Resin 4.0.4
 
 I follow this step :
 http://www.caucho.com/resin/doc/resin-ejb.xtp#Hello, World
 
 public interface PersonDao {
  //... methods...
 }
 
 @Stateless
 public class PersonServiceImpl implements PersonService ,
 Serializable { @Inject
   private PersonDao personDao;
 ...
 }
 
 The dao can be injected to Servlet WITHOUT a @Stateless annotation ,
 but when add @Stateless , it throws :
 
 com.caucho.config.ConfigException: foo.HelloServlet.personService:
 javax.enterprise.inject.UnsatisfiedResolutionException: Can't find a
 bean for 'interface foo.PersonService' because no beans implementing
 that class have been registered with the injection manager
 InjectManager[web-app: http://test.smallufo.com/testapp-1].
   at
 com.caucho.config.ConfigException.create(ConfigException.java:102) at
 com.caucho.config.ConfigException.create(ConfigException.java:125) at
 com.caucho.config.inject.InjectionTargetImpl$FieldInjectProgram.inject(InjectionTargetImpl.java:809)
   at
 com.caucho.config.inject.InjectionTargetImpl.inject(InjectionTargetImpl.java:266)
   at
 com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:1260)
   at
 com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:1142)
   at
 com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:98)
   at
 com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
   at
 com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
   at
 com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:286)
   at
 com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:780)
   at
 com.caucho.server.connection.TcpConnection.dispatchRequest(TcpConnection.java:600)
   at
 com.caucho.server.connection.TcpConnection.handleRequestsImpl(TcpConnection.java:566)
   at
 com.caucho.server.connection.TcpConnection.handleRequests(TcpConnection.java:519)
   at
 com.caucho.server.connection.TcpConnection$AcceptTask.doTask(TcpConnection.java:1100)
   at
 com.caucho.server.connection.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1037)
   at
 com.caucho.server.connection.TcpConnection$AcceptTask.run(TcpConnection.java:1068)
   at
 com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
 at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)
 Caused by: javax.enterprise.inject.UnsatisfiedResolutionException:
 Can't find a bean for 'interface foo.PersonService' because no beans
 implementing that class have been registered with the injection
 manager InjectManager[web-app:http://test.smallufo.com/testapp-1]. at
 com.caucho.config.inject.InjectManager.unsatisfiedException(InjectManager.java:1389)
   at
 com.caucho.config.inject.InjectManager.resolveByInjectionPoint(InjectManager.java:1545)
   at
 com.caucho.config.inject.InjectManager.resolveByInjectionPoint(InjectManager.java:1523)
   at
 com.caucho.config.inject.InjectManager.getInjectableReference(InjectManager.java:1476)
   at
 com.caucho.config.inject.InjectionTargetImpl$FieldInjectProgram.inject(InjectionTargetImpl.java:805)
   ... 16 more
 Http[2] HTTP/1.1 500 Internal Server Error



-- 
Виталий Бердинских UR6LAD
73  72!


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


[Resin-interest] webApp.url UnknownHostException

2008-11-03 Thread Vitaliy Berdinskikh
Hi all!

When I test Hessian service (resin-doc) I have error UnknownHostException:
===

com.caucho.hessian.client.HessianRuntimeException:
java.net.UnknownHostException:
default
at 
com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:321)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:166)
at $Proxy37.add(Unknown Source)
at _jsp._demo__jsp._jspService(demo.jsp:7)
at _jsp._demo__jsp._jspService(demo.jsp:5)
at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
at com.caucho.jsp.Page.pageservice(Page.java:580)
at 
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
at 
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:189)
at 
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
at 
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:292)
at 
com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:577)
at 
com.caucho.server.port.TcpConnection$AcceptTask.doAccept(TcpConnection.java:1211)
at 
com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1152)
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:759)
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:681)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.UnknownHostException: default
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.http.HttpClient.init(HttpClient.java:231)
at sun.net.www.http.HttpClient.New(HttpClient.java:304)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at 
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
at 
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:857)
at 
com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:319)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:166)
at $Proxy37.add(Unknown Source)
at _jsp._demo__jsp._jspService(demo.jsp:7)
at _jsp._demo__jsp._jspService(demo.jsp:5)
at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
at com.caucho.jsp.Page.pageservice(Page.java:580)
at 
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
at 
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:189)
at 
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
at 
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:292)
at 
com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:577)
at 
com.caucho.server.port.TcpConnection$AcceptTask.doAccept(TcpConnection.java:1211)
at 
com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1152)
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:759)
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:681)
at java.lang.Thread.run(Thread.java:595)

===

If I change in resin-web.xml
===
urihessian:url=${webApp.url}/math//uri
===

to
===
urihessian:url=http://myhost:8080/resin-doc/examples/hessian-service/math/
/uri
===
demo can work properly.

-- 
Sincerely yours,
Vitaliy Berdinskikh (Виталий Бердинских)
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest