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
3 answers

URLConnection FileNotFoundException on HTTP port 80

I have a JSP file named aniltest.jsp which has following code: <% try { URL aURL = new URL("http://localhost:80/admin/anil1.txt"); BufferedReader in = new BufferedReader(new InputStreamReader(aURL.openStream())); String…
Dreamer
  • 35
  • 1
  • 7
0
votes
1 answer

Spring @Autowired of @Service classes works on Tomcat but not Resin

I have a 100% working solution in Tomcat 8.0.20 packaged as a WAR using Spring restful services and spring core libraries. When I take the same WAR and drop it into Resin 4.0.36 (and also 4.0.43) my @Autowired @Services are not recognized…
logixplayer
  • 939
  • 2
  • 13
  • 23
0
votes
1 answer

Can Resin4.0.38 support address * in configuration

I'm trying to upgrade my webapp from resin 4.0.15 to resin 4.0.38. My problem is setting address as * in server tag works for resin 4.0.15 while it doesn't for resin 4.0.38. Snippets of resin.xml are as follows: Resin 4.0.15:
Bruce
  • 1
  • 1
0
votes
1 answer

Resin: How to Get Current Log Directory From in *.xml files

Suppose I start Resin with a command line option (i.e. --log-directory) to specify my custom log directory, and now some xml files want to reference this alternate log directory. My question is: is there a predefined EL variable (${sth}) for this?…
gye
  • 1,374
  • 3
  • 16
  • 27
0
votes
1 answer

RESIN: Create Multiple Properties files and Make Resin Locate and Use Them

After reviewing the Resin documentation, it mostly just talks about using only one properties files. I know resin.xml can reference multiple properties files like this: < resin:properties path="${__DIR__}/custom.properties" optional="true"/> Is…
gye
  • 1,374
  • 3
  • 16
  • 27
0
votes
3 answers

Executing Server Jar Programatically (Caucho Resin)

I have successfully used the Caucho Resin web server and I'm considering of packaging it into a java application. They provide a jar file and code in order to start the server programatically. Example: example/TestResin.java package…
saimiris_devel
  • 667
  • 1
  • 6
  • 19
0
votes
2 answers

UnsupportedEncodingException thrown when using Resin and Grails

I've encountered a strange problem in a Grails webapp running under Grails: java.io.UnsupportedEncodingException is thrown quite frequently due to various unknown encoding strings (such as "ISO8859_10", "ISO-8859-10"), and the strange thing is that…
knorv
  • 49,059
  • 74
  • 210
  • 294
0
votes
1 answer

Is it possible to redirect error messages to browser window in Resin 4?

In case of compilation error Resin shows a simple page with the only message: Server Error The server is temporarily unavailable due to an internal error. Please notify the system administrator of this problem. And all significant information I…
Untied
  • 11
  • 4
0
votes
1 answer

How do I trim white space on Caucho Resin?

I am trying to apply this directive to my server but I'm not sure where to add it: *.jsp true I am using resin…
casolorz
  • 8,486
  • 19
  • 93
  • 200
0
votes
1 answer

Redirecting the output directory of 'mvn package' or 'mvn compile' command

I am working on a Java project (where maven is the build tool) with resin server. I found some nice plugins for Tomcat by which if I issue a 'mvn compile' then the compiled file goes to the /webapps directory. But I have not found any…
Razib
  • 10,965
  • 11
  • 53
  • 80
0
votes
2 answers

railo-context/admin/web.cfm missing css in railo deployed in resin

I have deployed the railo war file in a resin appserver and after deployment the jvm log shows railo-server-root:/var/resin/webapps/railo-4.2.1.008/WEB-INF/lib/railo-server =================================================================== SERVER…
Anoop P Alias
  • 373
  • 1
  • 6
  • 15
0
votes
1 answer

Reused HttpSession in Resin 4.0.41

I am using Resin 4.0.41 and have trouble when creating new session using HttpSession. I have following codes: // "request" has type of HttpServletRequest HttpSession session = request.getSession(false); if (session!=null) { …
danisupr4
  • 815
  • 1
  • 9
  • 22
0
votes
1 answer

JPA 2.1 not loaded in Resin 3.1.9

I am using Resin 3.1.9 to run Java Web Application with JPA 2.1. I have put libraries (JAR) on my WEB-INF/lib folder, and I have include them to resin.conf by this:
danisupr4
  • 815
  • 1
  • 9
  • 22
0
votes
1 answer

Where do you put native libraries for a web app (in Caucho Resin)?

Where do native libraries for a web app go so that that Resin will load them?
Phoebe
  • 2,774
  • 3
  • 22
  • 27
0
votes
2 answers

Is ResourceBundle fallback resolution broken in Resin3x?

Given the following ResourceBundle properties files: messages.properties messages_en.properties messages_es.properties messages_{some locale}.properties Note: messages.properties contains all the messages for the default locale.…
les2
  • 14,093
  • 16
  • 59
  • 76