Questions tagged [resin]

Resin is the Java Application Server for high traffic sites that require speed and scalability.

Resin weaves Java components to HTML with JavaScript and the Java Server Pages (JSP) interface. Resin conforms to the Servlet interface and can be used with the major web servers, including Apache. Amongst other features, it implements the bulk of ECMA-262, the EcmaScript standard, implements JavaScript 1.3 features, extends regular expressions with Perl 5 syntax and compiles scripts directly to JVM bytecodes.

http://caucho.com/

167 questions
0
votes
1 answer

Removing query strings from Resin access log

It appears that our resin server is logging the arguments of a GET request. Is there a way for us to configure the logs to not output the query string, or to not output it on certain cases? This is our access log configuration.
casolorz
  • 8,486
  • 19
  • 93
  • 200
0
votes
1 answer

How can you disable SSL compression on Resin?

I'm trying to disable SSL compression on my Resin 4.0.35 pro server because of the CRIME vulnerability https://isecpartners.com/blog/2012/september/details-on-the-crime-attack.aspx but I'm just not sure how to do it, I don't see any options on the…
casolorz
  • 8,486
  • 19
  • 93
  • 200
0
votes
1 answer

Debug servlets with eclipse (running resin)

I am using eclipse (Java EE edition) to write Java servlets and I would like to utilize the debugging functionality. However, I was reading the tutorial to set this up and when I got to the stage the choose a "Server Runtime Environment", I got…
twpc
  • 709
  • 3
  • 16
  • 26
0
votes
1 answer

Resin: when enabling unicode.semantics

I'm having a problem migrating an application from Resin 4.0.6 to 4.0.38 The error I get is /Users/.../general_urls.php:9: Fatal Error: 'get_servlet_context_path' is an unknown function. Where get_servlet_context_path is a function in a servlet…
Federico
  • 1,636
  • 2
  • 22
  • 24
0
votes
4 answers

Spring Boot war fails to deploy properly on Resin server

My projects relies on Spring Boot to build standalone executable jar files. It works great for internal testing. However, once we are ready to deployment it to our development environment, applications need to be in a war file so it can be deployed…
Christopher Z
  • 899
  • 1
  • 12
  • 32
0
votes
1 answer

resin getRemoteAddr() always throw NullPointerException

Linux web server with nginx + resin4.0 pro, always throw error like this: {http://*:8082-117} java.lang.NullPointerException at com.caucho.server.http.HttpServletRequestImpl.getRemoteAddr(HttpServletRequestImpl.java:237) at…
0
votes
1 answer

inspecting variables while debugging on resin

I have some JSP code. I use resin server. I need to debug the jsp file. I successfully can connect to debug through dt_socket on Eclipse but eclipse does not show the content of the variables on debug time. How can I overcome this?
Ugur KAYA
  • 167
  • 3
  • 14
0
votes
1 answer

Call a method in Spring mvc service cost too much time

My English is not so good. Code first. @ResponseBody @RequestMapping(value = "testcall") public UnifiedResponse testMethodCall( HttpServletRequest request, HttpServletResponse response) { UnifiedResponse…
0
votes
1 answer

Hibernate and Resin working together

I am new to resin and am trying to get Hibernate to work with it. I am running into some problems with the JNDI lookup of the data source. I keep getting "javax.naming.NameNotFoundException". I have a special case where I need to dynamically…
Jarad Duersch
  • 257
  • 1
  • 4
  • 15
0
votes
2 answers

initialize ServletContext using a method on a Resin server

Is there a way to initialize the ServletContext for a webapp on a Resin server using a method? I need something like that runs once, when the server starts up.
Phoebe
  • 2,774
  • 3
  • 22
  • 27
0
votes
1 answer

phpMyAdmin version 3.5.4 on Resin 4.0.38

I plan to use resin web server on production, to replace the use of both my apache reverse server and tomcat, so operationally we just maintain 1 web server instead of 2. I managed to install old version of phpMyAdmin (3.5.4) in resin, and I can…
Bromo Programmer
  • 670
  • 2
  • 13
  • 37
0
votes
1 answer

How to Migrate a web project running on resin server to tomcat

I have a web project which is already running on resin but I want to deploy the whole project in tomcat server (i.e., I want to migrate the server) I think only web.xml should be changed so I tried following changes I have web.xml in resin as
0
votes
0 answers

remote jprofiler integration with resin

JProfiler throw an error: java.lang.NullPointerException at com.jprofiler.frontend.e.a.a.e.J(ejt:358) at com.jprofiler.frontend.e.a.a.e.H(ejt:203) at com.jprofiler.frontend.e.a.a.e.a(ejt:103) at…
0
votes
1 answer

In resin, using PHP the include_path directive is defaulted to /usr/share/php , even though I changed it?

Here's the line as I added it in php.ini include_path = "/usr/share/php/smarty:/usr/share/php5:/usr/share/php:/usr/share/php/pear" I did echo "Include Path: ". get_include_path(); here's that output Include Path: .:/usr/share/php I confirmed it…
kevingreen
  • 1,541
  • 2
  • 18
  • 40
0
votes
1 answer

How to remove the 40x page from the resin configuration

By default, resin will return a 40x html page when the response status code is 40x. However, when I am an API server for ajax request, I hope the response is custom format, e.g. json, written by java. How to disable the 40x page in resin and allow…