Re: [Resin-interest] pb with find() in resin 4.0.13

2011-11-08 Thread Alex Rojkov
Hello I'm using many times the find() call in EntityManager : Status st=m_manager.find(Status.class,identifier); But with no particular reason, in test or production, the find() call stop all processing, there is no exception and any System.out.println() Riccardo, Can you produce a

Re: [Resin-interest] Clustering and load-on-startup

2011-11-08 Thread Alex Rojkov
Hi I have a problem with clustering in Resin 4.0.23 that I hope someone can help me with. Mathias, Can you try adding bind-ports-after-starttrue/ to server-default? server-default bind-ports-after-starttrue/bind-ports-after-start Thanks, Alex When I bring a cluster node back

Re: [Resin-interest] pb with find() in resin 4.0.13

2011-11-09 Thread Alex Rojkov
Status is marked as @Entity and work very well normally. Thanks for your help. On 08/11/11 22:48, Alex Rojkov wrote: Hello I'm using many times the find() call in EntityManager : Status st=m_manager.find(Status.class,identifier); But with no particular reason, in test or production

Re: [Resin-interest] getting response header in load balancer access logs

2012-02-27 Thread Alex Rojkov
Hi Chris, I could't reproduce this on version 4.0.25. What version are you running? Thanks, Alex On 2012-02-27, at 2:10 PM, Chris Hart wrote: Hi, I'm having trouble getting the Set-Cookie response header into the access logs on our load balancer. I've tested this exact same access-log

Re: [Resin-interest] getting response header in load balancer access logs

2012-02-27 Thread Alex Rojkov
: Alex Rojkov a...@caucho.com To: General Discussion for the Resin application server resin-interest@caucho.com Sent: Monday, February 27, 2012 2:59:58 PM Subject: Re: [Resin-interest] getting response header in load balancer access logs Hi Chris, I could't reproduce

Re: [Resin-interest] cannot ./configure resin - says java not installed, - it is installed and JAVA_HOME is set correctly..

2012-04-13 Thread Alex Rojkov
help? I have java installed in a custom folder due to distriubtion reasons; Hi Tom, Can you add /opt/jdk/bin to the PATH and try again. ./configure in 4.0.27 does 'which java' to find java executable. I added a fallback to JAVA_HOME/bin/java for 4.0.28 and up. Thanks, Alex

Re: [Resin-interest] GWT - replacing Jetty with Resin in Eclipse

2012-10-18 Thread Alex Rojkov
I created a GWT project and a Resin Server. When i right click the Resin server and try to add the project to it, I get There are no resources that can be added. Has anyone had any success with this please? Basically my goal is to set up GWT with Resin and EclipseLink, so there're no

Re: [Resin-interest] Order of web-fragment.xml vs .tld

2014-02-17 Thread Alex Rojkov
Hi list. It seems that Resin will load and initiate Servlet 3.0 web-fragment.xml before it loads and initiates any .tld files - including listeners therein - within the same .jar. This results in the AutoProbe module of http://messadmin.sourceforge.net/ causing exceptions, because it

Re: [Resin-interest] @WebServlet and Hessian

2014-03-10 Thread Alex Rojkov
Well, I added @WebServlet to my Hessian servlet implementation, and making a GET request results in the expected Hessian Requires POST response. But when my client accesses it properly, the response is empty, and there's no evidence that my actual implementation is being called. Is it

Re: [Resin-interest] Registering my CanDI producer with InjectionManager?

2014-03-10 Thread Alex Rojkov
I'm trying to create a factory to let me @Inject Loggers as shown here: http://docs.jboss.org/cdi/api/1.0/javax/enterprise/inject/spi/InjectionPoint.html But I get: [14-03-08 23:59:23.129] WARNING com.caucho.server.webapp.WebApp setConfigException:

Re: [Resin-interest] Any way to set jsp page-encoding with Servlet 3.0 Java-only configuration?

2014-03-11 Thread Alex Rojkov
In Resin you should be able to specify that with character-encoding tag at web-app | host | cluster | resin level. http://www.caucho.com/resin-4.0/reference.xtp#characterencoding Thanks, Alex I apologize, since this isn't strictly a Resin issue, but: I used to have this in my web.xml:

Re: [Resin-interest] Any way to tell resin to put WEB-INF/tmp somewhere else?

2014-03-12 Thread Alex Rojkov
On Mar 12, 2014, at 7:51 PM, Rick Mann rm...@latencyzero.com wrote: It would be nice for it to create its work directories somewhere else, not inside my webapp distros. Is this possible? Should be possible with work-dir and temp-dir tags.

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-12 Thread Alex Rojkov
Did you remove resin:import for app-default.xml by any chance ? Alex On Mar 12, 2014, at 8:12 PM, Rick Mann rm...@latencyzero.com wrote: Well, that's not exactly true, but I'm baffled. I have my webapp running just fine locally, and just find on a 4.0.37/Java 1.6/Ubuntu 10.10 server I've

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-13 Thread Alex Rojkov
On Mar 12, 2014, at 20:23 , Alex Rojkov a...@caucho.com wrote: Did you remove resin:import for app-default.xml by any chance ? Why do you ask? app-default.xml has all the required imports to for web.xml, resin-web.xml, etc. Without the imports application won’t be properly initialized

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-13 Thread Alex Rojkov
So, any other suggestions for getting more logging out of the system to see where things are falling down? Are your servlets in WB-INF/classes? Try adding a compiling-loader (or a simple-loader if classes are compiled already) to your class-loader. class-loader compiling-loader

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-13 Thread Alex Rojkov
On Mar 13, 2014, at 2:26 PM, Rick Mann rm...@latencyzero.com wrote: On Mar 13, 2014, at 14:13 , Alex Rojkov a...@caucho.com wrote: Are your servlets in WB-INF/classes? Yes. Try adding a compiling-loader (or a simple-loader if classes are compiled already) to your class-loader

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-13 Thread Alex Rojkov
Hm… In the referenced resin.xml the classloader is in the host section. Can you move it into the web-app section and try accessing one of your mapped servlets? Alex And can you move the class-loader registration inside the web-app please? If that doesn’t work please post log and

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-13 Thread Alex Rojkov
by it. Is that the right understanding? By that understanding, I should be able to instantiate the datasource inside my webapp instead, using the jar inside the webapp, no? Thanks again for spotting my error! On Mar 13, 2014, at 15:31 , Alex Rojkov a...@caucho.com wrote: Hm

Re: [Resin-interest] Can't find symbol error when deploying a webapp on Resin 4 using JMS

2014-04-15 Thread Alex Rojkov
Sorry, that’s a code-gen bug. It should have generated ‘.’ for ‘$’ in class name. http://bugs.caucho.com/view.php?id=5715 To work around the issue please make your exception a normal public class. Alex [14-04-15 09:38:48.729] {main}

Re: [Resin-interest] How to set up Eclipse for Web app at root?

2016-01-02 Thread Alex Rojkov
> In Eclipse, if I create a dynamic web app project called "foo", then a > Resin server using the plugin config tool, I can then deploy it and > it runs at localhost:8080/foo. I need to have it deployed to the root, > i.e. just localhost:8080. It seems its the "Add/Remove" dialog in the > Resin

Re: [Resin-interest] How to set up Eclipse for Web app at root?

2016-01-02 Thread Alex Rojkov
>>> In Eclipse, if I create a dynamic web app project called "foo", then a > > Hi Carl, > > I just tested with a symbolic link named ROOT pointing to the deploy foo > directory and that worked for me. > > So you should remove webapps/ROOT and make a link with ln -s foo ROOT > > > Alex > >