[Resin-interest] R: Issues with Resin and apache

2006-11-13 Thread Andrea Sodomaco
I used resin 3.0.14 and apache with different version of mod_caucho.
Now that your apache is working well with mod_caucho from 3.0.21, you
can re-install 3.0.14 without mod_caucho and it should work fine with
apche+mod_coucho version 3.0.21. 

Andrea Sodomaco
www.sodomaco.it
 

-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto di THEON COMPUTER
CORPORATION
Inviato: lunedì 13 novembre 2006 4.24
A: resin-interest@caucho.com
Oggetto: [Resin-interest] Issues with Resin and apache

I'm assuming this is the right place to get questions answered about
issues with Resin, so here it goes:

I'm running Resin 3.0.21 compiled mod_caucho.so and I've set the
LoadModule parameter in my apache httpd.conf file. I have a java based
application running and when I first start resin and get into my
application all is well. But, as soon as I close my browser window and
try to get into my application I get the following error:

 /error/HTTP_UNAUTHORIZED.html.var was not found on this server.
 _

   Resin-3.0.14 (built Tue, 05 Jul 2005 11:03:36 PDT)

At that point I have to restart Resin and then it works again until I
close my browser window.

Now, I do realize that it says Resin-3.0.14 on the line above. This is
because the application that I'm running comes pre-packaged with Resin
3.0.14 but I've had one hell of a time compiling mod_caucho.so with
resin 3.0.14, so I downloaded resin 3.0.21 and I was able to
successfully compile under Apache 2.0.54. I did read somewhere on the
Resin site that Resin 3.0.14 has had issues compiling with apache
2.0.54. If the issue is due to the fact that the mod_cacho.so is
compiled under a different resin version that the one I'm using it
with, I completely understand. I'll go back to the application vendor
and ask them to bundle their app with Resin 3.0.21.

On the other hand, I'm able to run my application all day long when I
use the resin on port 8600. So, this issue seems to be revolving
around Resin in conjuction with apache and it probably is the
different version of the mod_caucho.so file.

Your help on this issue is appreciated.

Thanks.

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] problem with quercus,resin3.0.22 and mediawiki

2006-11-13 Thread Alex Sharaz








Just tried to install mediawiki on a 3.0.22 system

In webapps/wiki/WEB-INF Ive got the following
set up in resin-web.xml.



In the wii directory, Ive also got a
helloworld.php file.



web-app
xmlns=http://caucho.com/ns/resin

 database
jndi-name='jdbc/wiki'

driver
type=org.gjt.mm.mysql.Driver


urljdbc:mysql://databases.hull.ac.uk:3306/comms_wiki/url


userfred/user


passwordfred/password

 /driver

 /database



 servlet-mapping
url-pattern=*.php


servlet-class=com.caucho.quercus.servlet.QuercusServlet

 init
compile=true database=jdbc/wiki/

 /servlet-mapping




welcome-file-listindex.php/welcome-file-list

/web-app



The helloworld.php example works just fine.



However, when I try running ../wiki/config to
init the app, I get









java.lang.NullPointerException at com.caucho.quercus.module.StaticFunction.analyzeArguments(StaticFunction.java:139) at com.caucho.quercus.expr.FunctionExpr.analyze(FunctionExpr.java:215) at com.caucho.quercus.expr.UnaryExpr.analyze(UnaryExpr.java:69) at com.caucho.quercus.program.ExprStatement.analyze(ExprStatement.java:90) at com.caucho.quercus.program.BlockStatement.analyze(BlockStatement.java:132) at com.caucho.quercus.program.QuercusMain.generate(QuercusMain.java:112) at com.caucho.java.gen.BaseClass.generateComponents(BaseClass.java:254) at com.caucho.java.gen.BaseClass.generateClassContent(BaseClass.java:241) at com.caucho.java.gen.BaseClass.generate(BaseClass.java:229) at com.caucho.java.gen.GenClass.generate(GenClass.java:120) at com.caucho.java.gen.JavaClassGenerator.generate(JavaClassGenerator.java:273) at com.caucho.quercus.gen.PhpGenerator.generate(PhpGenerator.java:77) at com.caucho.quercus.page.PageManager.parse(PageManager.java:234) at com.caucho.quercus.page.PageManager.parse(PageManager.java:180) at com.caucho.quercus.Quercus.parse(Quercus.java:546) at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:217) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:209) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run()V(Unknown Source)



The database config statement is correct and Ive
checked that the database e xists and has valid access rights set up for the
machine/userid Im trying to run the wiki on

Alex








*
To view the terms under which this email is distributed, please go to 
http://www.hull.ac.uk/legal/email_disclaimer.html
*___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest