resin

User authentication on Resin webserver

I'm currently tasked with replacing an Apache + Resin Java web server with a Resin-only configuration. Currently in our apache setup, we use .htaccess and a small user database to provide passwording at a directory level. Does anyone know the equivalent setup when using just Resin as the web server? ...

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? ...

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? ...

How do you get resin to serve index.html by default if you navigate to a directory? (equivalent of DirectoryIndex in Apache)

Is it possible to configure Resin to serve static files such that navigating to e.g. http://localhost:8888/foo/bar/ will serve the file foo/bar/index.html (without performing a redirect)? I can't find the answer in the Resin docs, though I might be looking in the wrong place. The equivalent in Apache would be the DirectoryIndex directiv...

java.lang.NoClassDefFoundError: happens sporadically on Resin sever start up

java.lang.NoClassDefFoundError: happens sporadically on Resin sever start up This is on Resin 3.0.21 Using Java 1.5 on Linux machine... I have a servlet defined on the web.xml to load the log4j.properties. This is thrown when the servlet is trying to load on start up.. log4j-init: init log4j:ERROR Could not instantiate class [org.apa...

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 pipe com.inet.tds.SQLException: java.net.SocketException: Broken pipe java.net.SocketException: Broken...

Resin Server Exception

What would be the possible causes for the below exception on resin server restart? 500 Servlet Exception conf/resin.conf:168: java.lang.StackOverflowError Resin Professional 3.0.21 (built Thu, 10 Aug 2006 12:17:46 PDT) ...

Which is better JETTY COMET implementation or Resin COMET implementation

We've been using JETTY's suspended servlet implementation to roll our own COMET web applications using JSON messages and XStream. Does anyone have experience with Resin's implementation of COMET and how they compare? Also more generically than COMET does anyone have suggestions on the best Java Suspended servlet 3.0 implementation. H...

How do I configure Apache to forward some URLs to my servlet container regardless if the file exists.

How do I configure Apache to forward a URLa of a certain extension, say *.htm to my Servlet container, in this case, Resin, without first checking for the file's existence. Currently, if Apache can not find the requested file in the directory structure, it serves a 404, even though my web.xml Servlet mapping would handle the request if ...

Resin welcome-file doesn't load servlet!

Is is possible for Resin (3.0.27) to map a welcome-file to a Servlet? I can't find anything in the Caucho documentation that says this is not supported. Your help would be greatly appreciated. <servlet-mapping> <servlet-name>td</servlet-name> <url-pattern>*.htm</url-pattern> </servlet-mapping> <welcome-file-list> <welco...

Resin server error

Hi I get this error in windows xp, when try to access http://localhost:8080. I do not see any errors in resin before hand. Also the JAVA_HOME in windows is set. 500 Servlet Exception Resin can't load com.sun.tools.javac.Main. Usually this means that the JDK tools.jar is missing from the classpath, possibly because of using a JRE ins...

Virtualhosts Configuration in Apache/Resin (running Adobe Coldfusion8)

I have development server setup running Adobe Coldfusion8 (.war install) on top of Caucho Resin v3.1.9. (CentOS 5.3-64bit) note: This is my first experience with Resin. I am trying to run Coldfusion8 on top of Resin as I was suggested that this would give me great performance gains. My question is: how I can easily integrate multiple...

How do I monitor ColdFusion in Resin?

I have ColdFusion 8 installed on resin-3.1.9 (Linux). On my standalone ColdFusion server, I can use /opt/coldfusion8/bin/cfstat to monitor active and queued requests. On Resin, with ColdFusion 8 installed as a multi-server install, I don't know how to get this information. Can someone help me? I have tried server monitor through Cold...

Help on Axis2 Deployment Exception

Hi, I am currently working on Axis2 deployed on Resin 3.1.3. However, I got the below error during deployment: org.apache.axis2.deployment.DeploymentException: The "Dispatch" phase is not found on the global "InFlow" phase of the axis2.xml file. Make sure the phase is within the axis2.xml file. Any idea how to resolve this? Thanks in...

Change FileServlet root path

I use Resin webserevr. There is great FileServlet class for serving static content. I'd like to remap URIs like /user1/file.txt -> /users/dir1/1/file.txt /user2/file.txt -> /users/dir2/22/file.txt ... in runtime. But username->path mapping is not static and based on some database data. ...

How to give JSP permissions with SecurityManager policy file in Resin?

We are trying to use SecurityManager with Resin 3.1.9 and run into the following problem: CodeSource.getLocation() returns null for compiled JSPs. This means that we cannot use a specific codebase in grant clause in our policy file, for example: grant codeBase "file:/path_to_resin/runtime/work/-" { OR grant codeBase "file:/path_to_resi...

Configuring servlet logging properly under Resin

Hello. I have trouble to configure standard JDK logging resin uses. I have read the documentation many times and looked for examples, but in the end I'm still puzzled. I run a servlet under resin 4.0.1 with simple logging requirements. All logging configuration should be possible in web.xml (and not global resin.xml) resin (com.cauch...

Fresh OpenEMM installation shows bean errors on some pages

We have deployed a fresh openemm installation on a resin server (which wasn't exactly straight forward due to an enormous amount of dependencies although resin is the recommended and default application server). This is our setup: latest Gentoo GNU/Linux OpenEMM 5.1.1 (compiled from source, including a huge amount of dependent jars) Re...

How do you configure jax-ws to work with Spring using jax-ws commons?

In web.xml I have the following: <servlet> <description>JAX-WS endpoint - EARM</description> <display-name>jaxws-servlet</display-name> <servlet-name>jaxws-servlet</servlet-name> <servlet-class>com.sun.xml.ws.transport.http.servlet.WSSpringServlet</servlet-class> </servlet> <servlet-mapping> ...

Resin Restarts when class files or Servlets are uploaded.

Hi. When we upload a .class file or a servlet to the server, the web server restarts. This does not happen when we upload a JSP. Is there a way to configure Resin so that it dynamically loads the class without restarting the web server? ...