[Resin-interest] Local Session Counter Tutorial

2007-06-14 Thread Denise Wagner
Hello,

i am trying to get the Tutorial Local Session Counter from the caucho 
documentation with the theme EJB 
(http://www.caucho.com/resin-3.0/ejb/tutorial/ejb-session-local/index.xtp)  
work with a Resin 3.1.1. server.

I am getting the following ClassNotFound Exception if a take the project into 
the deploy directory of the resin server:

 WEB-INF/resin-web.xml:16: java.lang.ClassNotFoundException: 
com.caucho.ejb.LocalContextFactory

 14:   jndi-link
 15: jndi-namejava:comp/env/local-ejb/jndi-name
 16: factorycom.caucho.ejb.LocalContextFactory/factory
 17: init-param java.naming.provider.url=http://localhost:8080/ejb/
 18:   /jndi-link


If I look up the class in the lib directory of the server, I cannot found it.
Has anyone an idea to get this tutorial work? Where can I find the class 
com.caucho.ejb.LocalContextFactory?


Denise
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


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


Re: [Resin-interest] php4 in Quercus

2007-06-14 Thread xf2697
Hi Scott,

 What is the specific problem you're seeing?  It might be a Quercus bug.
 PHP 5 should only be an extention of PHP 4, so all PHP 4 applications  
 should work fine.  It might be a bug in Quercus.

Thanks for your response. I'm not familiar with PHP, so at this
point unfortunately I cannot give you a specific technical example
of an error - at least not one that would help you diagnose the
problem. My description would be too high-level, such as when I
press this button, it doesn't work.

It could be a problem with the PHP code itself. Perhaps just a few
tweaks would make it work properly with Quercus.

Basically we're using Resin for our Java web applications, and
trying to add a PHP application, developed entirely by a third party,
without changing or adding servers.

I wish I knew enough about PHP to be able to determine if the
problem can or cannot easily be solved. The provider's developers are
using another server, and so are quick to blame Resin/Quercus for the
bugs. I'm not sure that they're willing to put in some effort to fix
the problems. Rather, they're pushing us to use the same server as
theirs.

On the other hand, I look at your list of rather complex applications
that run under Quercus without problems (phpMyAdmin, phpBB, etc.) and
think that this application should be able to work properly under
Quercus. Again, how can I determine this without knowing much PHP.

If I am able to produce a very specific bug in the application and
narrow down the source php file that causes the error, I'll post it
here and hopefully you can determine if it's a Quercus bug or not.

If you have any suggestions, please let me know.
Thanks very much for your help.

Fred
-- 
  
  [EMAIL PROTECTED]



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


Re: [Resin-interest] php4 in Quercus

2007-06-14 Thread Nathan Nobbe

again i would say do all the experimentation w/ a mod-php5 box first.
you may be able to push the original application developers saying something
like,
'we put it on a mod-php5 box and it isnt running'.
ask them if its supposed to run on mod-php5.
as for the list of app frameworks that run on quercus it looks like
phpMyAdmin definately runs on: php 4.1.0
phpBB runs on: php 4.3.3

i would really try to find out what the exact requirements are; you might be
missing an extension
the app relies on, and that could be the big problem getting it to run under
quercus.
get it to run on mod-php5; find out exactly what extensions you need; press
the devs at that
company if it doesnt run there and then try to get it to run under quercus.
like i said, there
may be an extension quercus doesnt have that the app relies on, which might
cripple your
objective if you dont want to write any code, or pay the other company.

ps.
if it were me, i wouldnt tell them i was trying to run it under quercus
until i absolutely had too.

-nathan

On 6/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Hi Scott,

 What is the specific problem you're seeing?  It might be a Quercus bug.
 PHP 5 should only be an extention of PHP 4, so all PHP 4 applications
 should work fine.  It might be a bug in Quercus.

Thanks for your response. I'm not familiar with PHP, so at this
point unfortunately I cannot give you a specific technical example
of an error - at least not one that would help you diagnose the
problem. My description would be too high-level, such as when I
press this button, it doesn't work.

It could be a problem with the PHP code itself. Perhaps just a few
tweaks would make it work properly with Quercus.

Basically we're using Resin for our Java web applications, and
trying to add a PHP application, developed entirely by a third party,
without changing or adding servers.

I wish I knew enough about PHP to be able to determine if the
problem can or cannot easily be solved. The provider's developers are
using another server, and so are quick to blame Resin/Quercus for the
bugs. I'm not sure that they're willing to put in some effort to fix
the problems. Rather, they're pushing us to use the same server as
theirs.

On the other hand, I look at your list of rather complex applications
that run under Quercus without problems (phpMyAdmin, phpBB, etc.) and
think that this application should be able to work properly under
Quercus. Again, how can I determine this without knowing much PHP.

If I am able to produce a very specific bug in the application and
narrow down the source php file that causes the error, I'll post it
here and hopefully you can determine if it's a Quercus bug or not.

If you have any suggestions, please let me know.
Thanks very much for your help.

Fred
--

  [EMAIL PROTECTED]



___
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


Re: [Resin-interest] php4 in Quercus

2007-06-14 Thread Nathan Nobbe

Ok.  There's a decent chance it's a Quercus bug, then.


if the app doesnt run under mod-php5, how can you blame quercus?
i mean what is the stance of quercus, is it supposed to emulate mod-php4 and
mod-php5
or just mod-php5?

-nathan

On 6/14/07, Scott Ferguson [EMAIL PROTECTED] wrote:



On Jun 14, 2007, at 8:59 AM, [EMAIL PROTECTED] wrote:

 Thanks for your response. I'm not familiar with PHP, so at this
 point unfortunately I cannot give you a specific technical example
 of an error - at least not one that would help you diagnose the
 problem. My description would be too high-level, such as when I
 press this button, it doesn't work.

 On the other hand, I look at your list of rather complex applications
 that run under Quercus without problems (phpMyAdmin, phpBB, etc.) and
 think that this application should be able to work properly under
 Quercus. Again, how can I determine this without knowing much PHP.

Ok.  There's a decent chance it's a Quercus bug, then.

Our main development goals for Quercus for the rest of the year are
working towards getting 100 PHP applications running on Quercus and
closing bugs as they're reported.

Because PHP isn't a specification-based language, and because the
libraries are extensive and sometimes strange, the only way to really
ensure that Quercus is correct is to get lots of existing
applications running correctly.

We're still at the stage where many/most new applications we try
uncovers some library bug or language quirk that Quercus doesn't have
working exactly like PHP.

-- Scott


 If I am able to produce a very specific bug in the application and
 narrow down the source php file that causes the error, I'll post it
 here and hopefully you can determine if it's a Quercus bug or not.

 If you have any suggestions, please let me know.
 Thanks very much for your help.

 Fred
 --

   [EMAIL PROTECTED]



 ___
 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 mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] php4 in Quercus

2007-06-14 Thread John Steel
Scott Ferguson wrote:
 Our main development goals for Quercus for the rest of the year are  
 working towards getting 100 PHP applications running on Quercus and  
 closing bugs as they're reported.  
Cool. Well I'd really appreciate news when Pligg is ok (the PHP Digg 
clone).
Its at (http://bugs.caucho.com/view.php?id=1800) and the db connect half 
works, so it might be a quickie.
Anyone else seen com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: 
Query was empty. from Quercus?

-- 
--
http://www.phonewebcam.com
[EMAIL PROTECTED]



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


Re: [Resin-interest] Command line Quercus?

2007-06-14 Thread Scott Ferguson

On Jun 14, 2007, at 12:23 PM, Stargazer wrote:

 Theres more to php than webapps. Some systems use it from cron,  
 e.g. to
 suck in rss feeds as in php import_rss.php. This relies on the fact
 that php from the command line invokes php. Whats the equivalent under
 quercus please?

Basically, a run-at servlet or the equivalent.  If you get a  
RequestDispatcher to the import_rss.php, then you can forward a  
dummy request/response.

It may be common enough that we might want to create another  
QuercusServlet that just handles cron-type jobs.

-- Scott



 ___
 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


Re: [Resin-interest] Shared sessions between Resin web applications?

2007-06-14 Thread Bret A. Barker
I filed this enhancement request and it has been included in the 3.1.2 release, 
though I haven't had a chance to try it out yet: 

http://bugs.caucho.com/view.php?id=1593

In theory, that should give us the capability we are both looking for, to share 
sessions across arbitrary combos of servers and webapps.

-bret

On Thu, Jun 14, 2007 at 11:00:37PM -0400, Mark Turansky wrote:
 Can Resin share a session between web applications?
 
 This feature is available in both Tomcat and WebLogic, but I can't find
 anything in Resin's docs about it nor does a Google search turn anything up.
 
 Thanks in advance,
 Mark


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