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
58
votes
18 answers

Best practices for deploying Java webapps with minimal downtime?

When deploying a large Java webapp (>100 MB .war) I'm currently use the following deployment process: The application .war file is expanded locally on the development machine. The expanded application is rsync:ed from the development machine to the…
knorv
  • 49,059
  • 74
  • 210
  • 294
55
votes
1 answer

How to set the java.library.path in intelliJ Idea

Could anyone please help how do I solve this error: Native code library failed to load. java.lang.UnsatisfiedLinkError: no ts-jni in java.library.path I am using IDEA IDE as a first time, and have been using Resin_4.0.37 as a server to test my…
AKIWEB
  • 19,008
  • 67
  • 180
  • 294
12
votes
5 answers

Differences between Java EE 6 CDI Implementations

I've looked at JBoss' Weld Reference Implementation of JSR-299 Contexts and Dependency Injection, and I wanted to know how others CDI implementations compare to each other. Specifically, I know about Weld, Resin CanDI (by Caucho), and Apache…
user265863
9
votes
3 answers

Difference between tomcat and resin?

I like to know what are the differences between Tomcat container and Resin container
giri
  • 26,773
  • 63
  • 143
  • 176
6
votes
1 answer

OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled (resin, Ubuntu, OpenJDK 11)

I've been running this old Caucho Resin (4.0.41) for many, many years on an Ubuntu box. I need to retire that server, so I'm trying to set up resin 4.0.64 on a new Ubuntu 18.04.4 server, and after a lot of poking and fiddling, it's launching, but…
Rick
  • 3,298
  • 3
  • 29
  • 47
5
votes
1 answer

How fast (slow) is Quercus PHP on Resin Open Source as opposed to Resin Professional?

The clever folks at Caucho are quick to point out that Quercus is 3x-5x faster than straight mod_php (without APC). But digging deeper in the documentation, you'll see that the PHP-to-bytecode compilation is only available in Resin Pro ($699). What…
Alex R
  • 11,364
  • 15
  • 100
  • 180
4
votes
3 answers

java.net.SocketException: Broken pipe

I am getting this for all the database connections from my app server.. This exception occured for couple of hours, then got fixed by itself. Something to do with network connection from the appserver? java.net.SocketException: Broken…
Java Guy
  • 3,391
  • 14
  • 49
  • 55
4
votes
1 answer

Bizzare thread blocks creating primitive arrays

We recently had a situation where a production machine went down with a massive thread dump. It's resin webserver, and it gave 'Full thread dump Java HotSpot(TM) 64-Bit Server VM (14.0-b16 mixed mode):'. There are a ton of BLOCKED threads, but they…
Kallin Nagelberg
  • 989
  • 8
  • 17
4
votes
2 answers

Unable to start Resin application server

I have two resin web servers(41,47) in same folder. Actually am changing server version from 47 to 41 when I deployed and started project in 41 its hitting some error like below, [admin@localhost bin]$ ./resin.sh start; Resin/4.0.41 can't start…
Karthikeyan Pandian
  • 357
  • 4
  • 8
  • 18
4
votes
1 answer

Adding listener to servlet context in Spring

I am trying to use java config in spring 4 webmvc application. After surfing some examples in the Internet I have the following WebAppApplicationInitializer. public class AppInit implements WebApplicationInitializer { private static final…
Art Spasky
  • 1,635
  • 2
  • 17
  • 30
4
votes
2 answers

How to configure Caucho Resin's Java classpath to the system's library directory

I have a folder, '/var/unity/conf' with some properties files in it, and I'd like the Caucho's Resin JVM to have that directory on the classpath. What is the best way to modifiy resin.conf so that Resin knows to add this directory to the classpath?
Michael
  • 3,049
  • 3
  • 19
  • 5
3
votes
1 answer

"Directory creation was not successful for an unknown reason" error with Ant on Mac

I have a project that builds and works on Windows but when I've brought it over to MacOS (Sierra) and set up Resin, Ant, and the rest of my project in IntelliJ the build is failing with a fairly ambiguous error: build.xml:24: Directory…
MLDimitry
  • 121
  • 2
  • 10
3
votes
1 answer

Is PHP truly faster on the JVM?

Lately I've been hearing a lot of people evangelizing that PHP with Resin is actually much faster than with mod_php, but I cannot find any benchmark anywhere. Is it true or just vendor BS?
user47087
  • 61
  • 3
3
votes
1 answer

What is hmux in resin?

When I start the Resin server it says hmux listening to localhost:6802 What is this hmux? Is this a service or just resin use it for itself?
Shwetanka
  • 4,976
  • 11
  • 44
  • 68
3
votes
1 answer

-server 'default' is an unknown server in the configuration file

I'm upgrading resin on a webapp and i keep getting the following error Starting Resin on Tue, 19 Feb 2013 14:46:29 -0800 (PST) [13-02-19 14:46:31.640] {main} Using Resin(R) Open Source under the GNU Public License…
user922592
1
2 3
11 12