[Resin-interest] Eclipse plugin: How to create a resin 3.1 server?

2011-06-20 Thread Patric Rufflar
Hi,

I just installed the most recent release of the Resin Eclipse plugin.
However, I cannot create resin 3.1 servers.
(Only "resin 4.0" is shown in the "New server" dialog)

This was possible in previous releases of that plugin.
Is this an intentional behavior?

Thank you and best regards,

Patric







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


Re: [Resin-interest] Eclipse Plugin

2009-07-04 Thread Michael Ludwig
Michael Ludwig schrieb am 13.05.2009 um 20:22:19 (+0200):
> Emil Ong schrieb:
> > On Wed, May 13, 2009 at 12:24:19PM +0200, Michael Ludwig wrote:

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

While we're at it, the startup/shutdown issue persists. So you might
want to add the following to the bug entry you've created, or file a
new bug:

> >> I'm still seeing the same error message pop up on shutdown via the
> >> Eclipse server shutdown button: "failed to start" (sic).
> 
> This is still there. Might be related to the other issue I wrote
> concerning the progress indicator in the bottom right corner of the
> IDE which keeps showing the job "Starting Resin 4.0 at localhost" in
> progress. Looks like that message got held up somewhere on its way to
> the list, so here's a copy of it:
> 
> | Another issue: The process of starting Resin keeps sitting around in
> | the background while Resin is already serving requests. This is
> | indicated in the Eclipse IDE by a symbol in the bottom right corner
> | indicating ongoing background jobs.
> |
> | After some minutes, the following error message pops up:
> |
> |Server Resin 4.0 at localhost was unable to start withing 240
> |seconds. If the server requires more time, try increasing the
> |timeout in the server editor.
> |
> | Sounds like the Resin start job (Ant in this case, as per your mail)
> | should report back to Eclipse on finishing the job.
> 
> So after a couple of minutes, this error message pops up in a window
> labeled "Problem Occurred" and the running and serving Resin is stopped,
> maybe because it hasn't reported startup success back to the parent
> process.
> 
> I added -consoleLog to my eclipse.ini, but I have no idea where the log
> is going. If it is just the console window in the IDE, there is nothing
> special to see, just the usual Resin startup messages plus additional
> debug info my application generates.

Michael Ludwig


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


Re: [Resin-interest] Eclipse Plugin

2009-07-04 Thread Michael Ludwig
Emil Ong schrieb am 02.07.2009 um 16:36:38 (-0700):
> On Wed, Jul 01, 2009 at 11:05:54PM +0200, Michael Ludwig wrote:
> > You're very welcome. Now there is a new error message :-)
> > 
> >   An error occurred during provisioning.
> >   Error reading signed content.
> >   The file "C:\IDE\eclipse\plugins\com.caucho.resin.eclipse_4.0.0"
> >   does not exist
> > 
> > Probably trivial to solve.
> 
> Hmm... it could be an artifact of removing and reinstalling.  The plugin
> and site are unchanged from before.  Does this happen on install or when
> using the plugin?

Back on the machine where the error occurred. This is XP Home and
Eclipse 3.4.0 (vs XP Professional and Eclipse 3.4.?).

I created the directory that Eclipse complained was missing:

  md C:\IDE\eclipse\plugins\com.caucho.resin.eclipse_4.0.0

I tried reinstalling the Resin plugin. Eclipse zipped away during
installation.

I started Eclipse anew and retried the installation. No crash this time.
Apparent success, but nothing in the Resin plugin directory I created
manually. I removed it manually.

There is no Resin choice in the New Server menu either. Yet the Resin
feature is listed under "Help > Software Updates > Installed Software".

Uninstalling again. "Installing org.apache.oro"? 

I restarted Eclipse every time when prompted to do so.

Last attempt to install. Success! No idea why.

The filesystem path issue persists, of course. A workaround would be to
move the Eclipse workspace to a path without spaces.

Michael Ludwig


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


Re: [Resin-interest] Eclipse Plugin

2009-07-03 Thread Michael Ludwig
Emil Ong schrieb:
> On Wed, Jul 01, 2009 at 11:05:54PM +0200, Michael Ludwig wrote:
>>
>>   An error occurred during provisioning.
>>   Error reading signed content.
>>   The file "C:\IDE\eclipse\plugins\com.caucho.resin.eclipse_4.0.0"
>>   does not exist
>>
>> Probably trivial to solve.
>
> Hmm... it could be an artifact of removing and reinstalling.  The
> plugin and site are unchanged from before.  Does this happen on
> install or when using the plugin?

It happened on installing the plugin. On another machine, the
installation has succeeded after a previous uninstall. I'll retry
on the first machine and report back if the problem persists.

Michael Ludwig


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


Re: [Resin-interest] Eclipse Plugin

2009-07-02 Thread Emil Ong
On Wed, Jul 01, 2009 at 11:05:54PM +0200, Michael Ludwig wrote:
> You're very welcome. Now there is a new error message :-)
> 
>   An error occurred during provisioning.
>   Error reading signed content.
>   The file "C:\IDE\eclipse\plugins\com.caucho.resin.eclipse_4.0.0"
>   does not exist
> 
> Probably trivial to solve.

Hmm... it could be an artifact of removing and reinstalling.  The plugin
and site are unchanged from before.  Does this happen on install or when
using the plugin?

Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Java CanDI: contexts and dependency injection


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


Re: [Resin-interest] Eclipse Plugin

2009-07-01 Thread Michael Ludwig
Emil Ong schrieb am 01.07.2009 um 08:26:15 (-0700):
> On Tue, Jun 30, 2009 at 11:03:07PM +0200, Michael Ludwig wrote:

> I've filed a bug report for your problem here:
> 
> http://bugs.caucho.com/view.php?id=3589

Thanks!

> It should be pretty straightforward to fix, though I may need a couple
> of weeks to get a release/snapshot out due to some other Eclipse bugs
> and business travel.

Take your time, I seem to be the only user. I just thought that given
the wide-spread usage of Eclipse, having Resin integrated as a server
wouldn't exactly be bad publicity. (Provided there is a certain
reliability to the feature's operation, of course.)

> > By the way, I uninstalled the Resin plugin, and then tried to
> > reinstall it, which resulted in the following error message:
> > 
> >   An error occurred while collecting items to be installed
> >   No repository found containing:
> >   com.caucho.resin.eclipse/org.eclipse.update.feature/4.0.0
> 
> It should be up again.  Thanks for noticing. :-)

You're very welcome. Now there is a new error message :-)

  An error occurred during provisioning.
  Error reading signed content.
  The file "C:\IDE\eclipse\plugins\com.caucho.resin.eclipse_4.0.0"
  does not exist

Probably trivial to solve.

Michael Ludwig


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


Re: [Resin-interest] Eclipse Plugin

2009-07-01 Thread Emil Ong
On Tue, Jun 30, 2009 at 11:03:07PM +0200, Michael Ludwig wrote:
> Emil Ong schrieb am 14.05.2009 um 09:23:04 (-0700):
> 
> >   
> > 
> > That should show why Resin's serving a 404.
> 
> And it did - see my last mail on this thread. If there is any additional
> information I should provide, please let me know.

Hi Michael,

Sorry for the delay.  Somehow I lost track of the thread.  Thanks for
the ping.

I've filed a bug report for your problem here:

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

It should be pretty straightforward to fix, though I may need a couple
of weeks to get a release/snapshot out due to some other Eclipse bugs and 
business travel.

> By the way, I uninstalled the Resin plugin, and then tried to reinstall
> it, which resulted in the following error message:
> 
>   An error occurred while collecting items to be installed
>   No repository found containing:
>   com.caucho.resin.eclipse/org.eclipse.update.feature/4.0.0

It should be up again.  Thanks for noticing. :-)

Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Java CanDI: contexts and dependency injection


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


Re: [Resin-interest] Eclipse Plugin

2009-06-30 Thread Michael Ludwig
Emil Ong schrieb am 14.05.2009 um 09:23:04 (-0700):

>   
> 
> That should show why Resin's serving a 404.

And it did - see my last mail on this thread. If there is any additional
information I should provide, please let me know.

By the way, I uninstalled the Resin plugin, and then tried to reinstall
it, which resulted in the following error message:

  An error occurred while collecting items to be installed
  No repository found containing:
  com.caucho.resin.eclipse/org.eclipse.update.feature/4.0.0

Michael Ludwig


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


Re: [Resin-interest] Eclipse Plugin

2009-05-19 Thread Michael Ludwig
Hi Emil,

Emil Ong schrieb:
> On Wed, May 13, 2009 at 08:22:19PM +0200, Michael Ludwig wrote:
>>
>> I added -consoleLog to my eclipse.ini, but I have no idea where the
>> log is going. If it is just the console window in the IDE, there is
>> nothing special to see, just the usual Resin startup messages plus
>> additional debug info my application generates.
>
> Can you try running eclipse from the command line and adding the
> -consoleLog?  On Windows it's supposed to pop up a "Java console
> window", but it might not work in eclipse.ini.

No output is shown on STDERR when starting "eclipse.exe -consoleLog".
Does anyone here know how this is supposed to work?

>> But with this "in place" configuration, all I get is 404. I tried all
>> kinds of possible context paths, but none seems to work. Which is sort
>> of logical, as I don't see my application's startup blurb in the console
>> log. On the other hand, Resin mentions it (DbXml01):

>> [20:13:46.593] {main} WebApp[http://default/DbXml01] active

As per your instructions, I configured finest level logging in
"plugins/com.caucho.resin.eclipse_4.0.0/conf/resin40/in-place.xml",
and that revealed the problem. The context path /DbXml01 is accepted,
but somewhere along the way, there is a manifestation of the typical
pathname-with-spaces issue.

My %UserProfile% is in:

"C:\Dokumente und Einstellungen\MiLu" - which is like:
"C:\Documents and Settings\MiLu"

And this gets split on spaces, so the resulting path is completely
wrong:

{http--8099-3} real-path /gurke -> C:\Dokumente\gurke
{http--8099-3} real-path /gurke/index.jsp -> C:\Dokumente\gurke\index.jsp
{http--8099-3} real-path /gurke/index.php -> C:\Dokumente\gurke\index.php
{http--8099-3} real-path /gurke/index.html -> C:\Dokumente\gurke\index.html

So I guess you just need to quote the path at the appropriate places.

>> 20:14:59,20 C:\MILU\dev\ds
>> # netstat -p tcp -na | findstr 8099
>>TCP0.0.0.0:8099   0.0.0.0:0  ABHÖREN
>>TCP127.0.0.1:4394 127.0.0.1:8099 SCHLIESSEN_WARTEN
>>TCP127.0.0.1:8099 127.0.0.1:4394 FIN_WARTEN_2
>>
>> The port I specified is taken into account, the address isn't.
>
> It's trying to open http://localhost:8099/DbXml01 and not getting
> anything?  It looks like Resin's finding the webapp, so something else
> must be the issue.

In any case it didn't find the webapp because I didn't see the webapp
startup blurb in the server log, and given the pathname issue, this is
understandable.

Michael Ludwig


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


Re: [Resin-interest] Eclipse Plugin

2009-05-14 Thread Emil Ong
On Wed, May 13, 2009 at 08:22:19PM +0200, Michael Ludwig wrote:
> So after a couple of minutes, this error message pops up in a window
> labeled "Problem Occurred" and the running and serving Resin is stopped,
> maybe because it hasn't reported startup success back to the parent
> process.
> 
> I added -consoleLog to my eclipse.ini, but I have no idea where the log
> is going. If it is just the console window in the IDE, there is nothing
> special to see, just the usual Resin startup messages plus additional
> debug info my application generates.

Can you try running eclipse from the command line and adding the
-consoleLog?  On Windows it's supposed to pop up a "Java console
window", but it might not work in eclipse.ini.

> >> (2) "in place"
> >>
> >> A new error message :-) - "Reference to undefined variable
> >> resin.configuration.file". Won't start :-(
> 
> I can't reproduce this error. But I swear it was there the first time
> around!

:-) Could be some artifact from the upgrade.

> But with this "in place" configuration, all I get is 404. I tried all
> kinds of possible context paths, but none seems to work. Which is sort
> of logical, as I don't see my application's startup blurb in the console
> log. On the other hand, Resin mentions it (DbXml01):
> 
> [20:13:46.062] {main} resin.home = C:\MILU\Server\resin-4.0.0\
> [20:13:46.062] {main} resin.root = C:\MILU\Server\resin-4.0.0\
> [20:13:46.328] {main} resin.conf = 
> /C:/MILU/eclipse/plugins/com.caucho.resin.eclipse_4.0.0/conf/resin40/in-place.xml
> [20:13:46.328] {main}
> [20:13:46.328] {main} server = 127.0.0.1:0 (:)
> [20:13:46.328] {main} user.name  = MiLu
> [20:13:46.328] {main}
> [20:13:46.593] {main} WebApp[http://default/DbXml01] active
> [20:13:46.593] {main} Host[default] active
> [20:13:46.593] {main}
> [20:13:46.609] {main} http listening to *:8099
> [20:13:46.625] {main}
> [20:13:46.625] {main} Server[id=,cluster=] active
> [20:13:46.625] {main} Resin[id=] started in 1188ms
> 
> 20:14:59,20 C:\MILU\dev\ds
> # netstat -p tcp -na | findstr 8099
>TCP0.0.0.0:8099   0.0.0.0:0  ABHÖREN
>TCP127.0.0.1:4394 127.0.0.1:8099 SCHLIESSEN_WARTEN
>TCP127.0.0.1:8099 127.0.0.1:4394 FIN_WARTEN_2
> 
> The port I specified is taken into account, the address isn't.

It's trying to open http://localhost:8099/DbXml01 and not getting
anything?  It looks like Resin's finding the webapp, so something else
must be the issue.

This is a hack, but can you add finest logging to the in-place.xml in
C:/MILU/eclipse/plugins/com.caucho.resin.eclipse_4.0.0/conf/resin40/in-place.xml

This should do it:
  

That should show why Resin's serving a 404.

Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Java CanDI: contexts and dependency injection


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


Re: [Resin-interest] Eclipse Plugin

2009-05-13 Thread Michael Ludwig
Emil Ong schrieb:
> On Wed, May 13, 2009 at 12:24:19PM +0200, Michael Ludwig wrote:

> Eclipse's WTP framework doesn't really allow for putting platform
> dependent string in.  Without rewriting that part of the framework,
> we have to choose some default for everybody.

Alright, it's not important. It just added to the uncertainty about how
to use it.

>> I'm still seeing the same error message pop up on shutdown via the
>> Eclipse server shutdown button: "failed to start" (sic).

This is still there. Might be related to the other issue I wrote
concerning the progress indicator in the bottom right corner of the
IDE which keeps showing the job "Starting Resin 4.0 at localhost" in
progress. Looks like that message got held up somewhere on its way to
the list, so here's a copy of it:

| Another issue: The process of starting Resin keeps sitting around in
| the background while Resin is already serving requests. This is
| indicated in the Eclipse IDE by a symbol in the bottom right corner
| indicating ongoing background jobs.
|
| After some minutes, the following error message pops up:
|
|Server Resin 4.0 at localhost was unable to start withing 240
|seconds. If the server requires more time, try increasing the
|timeout in the server editor.
|
| Sounds like the Resin start job (Ant in this case, as per your mail)
| should report back to Eclipse on finishing the job.

So after a couple of minutes, this error message pops up in a window
labeled "Problem Occurred" and the running and serving Resin is stopped,
maybe because it hasn't reported startup success back to the parent
process.

I added -consoleLog to my eclipse.ini, but I have no idea where the log
is going. If it is just the console window in the IDE, there is nothing
special to see, just the usual Resin startup messages plus additional
debug info my application generates.

>> (2) "in place"
>>
>> A new error message :-) - "Reference to undefined variable
>> resin.configuration.file". Won't start :-(

I can't reproduce this error. But I swear it was there the first time
around!

But with this "in place" configuration, all I get is 404. I tried all
kinds of possible context paths, but none seems to work. Which is sort
of logical, as I don't see my application's startup blurb in the console
log. On the other hand, Resin mentions it (DbXml01):

[20:13:46.062] {main} resin.home = C:\MILU\Server\resin-4.0.0\
[20:13:46.062] {main} resin.root = C:\MILU\Server\resin-4.0.0\
[20:13:46.328] {main} resin.conf = 
/C:/MILU/eclipse/plugins/com.caucho.resin.eclipse_4.0.0/conf/resin40/in-place.xml
[20:13:46.328] {main}
[20:13:46.328] {main} server = 127.0.0.1:0 (:)
[20:13:46.328] {main} user.name  = MiLu
[20:13:46.328] {main}
[20:13:46.593] {main} WebApp[http://default/DbXml01] active
[20:13:46.593] {main} Host[default] active
[20:13:46.593] {main}
[20:13:46.609] {main} http listening to *:8099
[20:13:46.625] {main}
[20:13:46.625] {main} Server[id=,cluster=] active
[20:13:46.625] {main} Resin[id=] started in 1188ms

20:14:59,20 C:\MILU\dev\ds
# netstat -p tcp -na | findstr 8099
   TCP0.0.0.0:8099   0.0.0.0:0  ABHÖREN
   TCP127.0.0.1:4394 127.0.0.1:8099 SCHLIESSEN_WARTEN
   TCP127.0.0.1:8099 127.0.0.1:4394 FIN_WARTEN_2

The port I specified is taken into account, the address isn't.

Michael Ludwig


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


Re: [Resin-interest] Eclipse Plugin

2009-05-13 Thread Emil Ong
On Wed, May 13, 2009 at 12:24:19PM +0200, Michael Ludwig wrote:
> Yes, RESIN_HOME as an environment variable. That was just a guess.
> 
> I find it odd to have the field prefilled with a UNIX path like
> /usr/share/resin on a Windows box.

Eclipse's WTP framework doesn't really allow for putting platform
dependent string in.  Without rewriting that part of the framework, we
have to choose some default for everybody.

> Now retesting on another machine, still Windows XP, JDK 1.6.11 and
> Eclipse 3.4. The update went fine again ...
> 
> (1) "plain"
> 
> 0003502: Eclipse plugin doesn't respect port - Mantis
> http://bugs.caucho.com/view.php?id=3502
> 
> My choice of port still isn't honoured. The settings in conf/resin.xml
> are honoured. If this is the intention (why not?), then displaying
> configuration choices for the user to specify address and port are
> obviously misleading. An indication that resin.xml is used to configure
> the server would make more sense.

Yes, the bug has not yet been fixed, so I wouldn't expect it to work.

> I'm still seeing the same error message pop up on shutdown via the
> Eclipse server shutdown button: "failed to start" (sic).
> 
> (2) "in place"
> 
> A new error message :-) - "Reference to undefined variable
> resin.configuration.file". Won't start :-(

Can you start Eclipse with "-consoleLog" and send any additional
information for these?  I can't reproduce either.

Thanks,
Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Java CanDI: contexts and dependency injection


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


Re: [Resin-interest] Eclipse Plugin

2009-05-13 Thread Michael Ludwig
Emil Ong schrieb:
> On Tue, May 12, 2009 at 11:05:36PM +0200, Michael Ludwig wrote:

>> I get the following choices in the Resin folder of the "New Server"
>> menu:
>>
>> * Resin 3.1
>> * Resin 3.1 (in place)
>> * Resin 4.0
>> * Resin 4.0 (hot deploy)
>> * Resin 4.0 (in place)
>>
>> What's the difference between the three kinds?
>
> The "plain" versions use ant to build a .war file, then drop it into
> the Resin webapps directory for deployment. The "in place" versions
> point Resin at your workspace and runs directly from the project
> directory. "hot deploy" is the new Resin 4.0 feature that deploys
> over BAM.
>
> Better, more official docs are on the way...

Hi Emil, thanks for your feedback. Read on for more comments.

>> The field "Resin Home" is prefilled with "/usr/share/resin", although
>> I've set RESIN_HOME to "C:\Resin", which contains my new Resin 4.0
>> installation.
>>
>> Okay, I can explicitly select "C:/Resin", and now error message has
>> disappeared and the "Next" and "Finish" buttons have been activated.
>
> Do you mean that you've set RESIN_HOME as an environment variable?  If
> so, I don't think Eclipse has any way of picking that up.  You'll need
> to set your actual Resin directory in the text field.

Yes, RESIN_HOME as an environment variable. That was just a guess.

I find it odd to have the field prefilled with a UNIX path like
/usr/share/resin on a Windows box.

>> The port I specified isn't honoured. Instead, the default port 8080
>> is used.

> The port issue is a bug then.  I've filed it here:
>
> http://bugs.caucho.com/view.php?id=3502

Okay.

>> (2) Next in line, "Resin 4.0 (hot deploy)", picking port 8091.
>>
>> Again, "C:/Resin" for "Resin Home", but I'm getting an exception:
>>
>> java.lang.NoClassDefFoundError: com/caucho/boot/ResinBoot

> I can't reproduce this.  Hot deploy _is_ broken, though in a different
> way for me.  Here's the bug for that:
>
> http://bugs.caucho.com/view.php?id=3503

Okay.

> Looks like the config files didn't make it into the plugin for some
> reason.  I've updated it, so "plain" and "in place" should work now.

Now retesting on another machine, still Windows XP, JDK 1.6.11 and
Eclipse 3.4. The update went fine again ...

(1) "plain"

0003502: Eclipse plugin doesn't respect port - Mantis
http://bugs.caucho.com/view.php?id=3502

My choice of port still isn't honoured. The settings in conf/resin.xml
are honoured. If this is the intention (why not?), then displaying
configuration choices for the user to specify address and port are
obviously misleading. An indication that resin.xml is used to configure
the server would make more sense.

I'm still seeing the same error message pop up on shutdown via the
Eclipse server shutdown button: "failed to start" (sic).

(2) "in place"

A new error message :-) - "Reference to undefined variable
resin.configuration.file". Won't start :-(

(3) "hot deploy" - not tested

Michael Ludwig


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


Re: [Resin-interest] Eclipse Plugin

2009-05-12 Thread Emil Ong
On Tue, May 12, 2009 at 11:05:36PM +0200, Michael Ludwig wrote:
> Hi Emil,
> 
> the plugin installs fine from http://caucho.com/eclipse on Eclipse 3.4
> Java 1.6 on Windows XP. 

That's a good start... :-)

>I get the following choices in the Resin folder
> of the "New Server" menu:
> 
> * Resin 3.1
> * Resin 3.1 (in place)
> * Resin 4.0
> * Resin 4.0 (hot deploy)
> * Resin 4.0 (in place)
> 
> What's the difference between the three kinds?

The "plain" versions use ant to build a .war file, then drop it into the
Resin webapps directory for deployment. The "in place" versions point
Resin at your workspace and runs directly from the project directory.
"hot deploy" is the new Resin 4.0 feature that deploys over BAM.  

Better, more official docs are on the way...

> I'm afraid that for the moment, I'm unsure how to enable any of those on
> my Windows machine.
> 
> (1) I'm going to start with "Resin 4.0", picking port 8090.
> 
> In the top section of the "New Server" dialog, an error is flagged:
> 
>   Missing classpath entry \usr\share\resin\lib\resin.jar
> 
> The field "Resin Home" is prefilled with "/usr/share/resin", although
> I've set RESIN_HOME to "C:\Resin", which contains my new Resin 4.0
> installation.
> 
> Okay, I can explicitly select "C:/Resin", and now error message has
> disappeared and the "Next" and "Finish" buttons have been activated.

Do you mean that you've set RESIN_HOME as an environment variable?  If
so, I don't think Eclipse has any way of picking that up.  You'll need
to set your actual Resin directory in the text field.

> The port I specified isn't honoured. Instead, the default port 8080 is
> used. But Resin starts successfully. Now when I hit the stop button, an
> error pops up, saying "Server Resin 4.0 at localhost failed to start"
> (sic). But the server seems to have shutdown alright.

The port issue is a bug then.  I've filed it here:

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

> (2) Next in line, "Resin 4.0 (hot deploy)", picking port 8091.
> 
> Again, "C:/Resin" for "Resin Home", but I'm getting an exception:
> 
> java.lang.NoClassDefFoundError: com/caucho/boot/ResinBoot
> Caused by: java.lang.ClassNotFoundException: com.caucho.boot.ResinBoot
>   at java.net.URLClassLoader$1.run(Unknown Source)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(Unknown Source)
>   at java.lang.ClassLoader.loadClass(Unknown Source)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>   at java.lang.ClassLoader.loadClass(Unknown Source)
>   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> Exception in thread "main"

I can't reproduce this.  Hot deploy _is_ broken, though in a different
way for me.  Here's the bug for that:

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

> (3) Next, "Resin 4.0 (in place), picking port 4092.
> 
> "C:/Resin", once more.
> 
> Getting an error, "failed to start".
> 
> Well, I guess my environment lacks some essential configuration. Maybe
> you could shed some light on what precisely I'm missing?

Looks like the config files didn't make it into the plugin for some
reason.  I've updated it, so "plain" and "in place" should work now.

Sorry for the headaches... Eclipse is a lot trickier to QA than our main
tree.

Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Java CanDI: contexts and dependency injection


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


Re: [Resin-interest] Eclipse Plugin

2009-05-12 Thread Michael Ludwig
Emil Ong schrieb am 11.05.2009 um 11:04:39 (-0700):
> On Mon, May 11, 2009 at 03:19:39PM +0200, Michael Ludwig wrote:
> > Emil Ong schrieb:
> > >
> > > The Eclipse update site isn't up just yet, but will be with the
> > > new release, due out this week or early next.
> > 
> > Would this still be http://caucho.com/eclipse ? 404 at the moment.
> > 
> > But I guess you still need some more time to recover from the 4.0
> > release effort. Thanks for all the work!
> 
> Hi Michael,
> 
> Thanks for the recovery time... :-)  Please give it a try now.

Hi Emil,

the plugin installs fine from http://caucho.com/eclipse on Eclipse 3.4
Java 1.6 on Windows XP. I get the following choices in the Resin folder
of the "New Server" menu:

* Resin 3.1
* Resin 3.1 (in place)
* Resin 4.0
* Resin 4.0 (hot deploy)
* Resin 4.0 (in place)

What's the difference between the three kinds?

I'm afraid that for the moment, I'm unsure how to enable any of those on
my Windows machine.

(1) I'm going to start with "Resin 4.0", picking port 8090.

In the top section of the "New Server" dialog, an error is flagged:

  Missing classpath entry \usr\share\resin\lib\resin.jar

The field "Resin Home" is prefilled with "/usr/share/resin", although
I've set RESIN_HOME to "C:\Resin", which contains my new Resin 4.0
installation.

Okay, I can explicitly select "C:/Resin", and now error message has
disappeared and the "Next" and "Finish" buttons have been activated.

The port I specified isn't honoured. Instead, the default port 8080 is
used. But Resin starts successfully. Now when I hit the stop button, an
error pops up, saying "Server Resin 4.0 at localhost failed to start"
(sic). But the server seems to have shutdown alright.

(2) Next in line, "Resin 4.0 (hot deploy)", picking port 8091.

Again, "C:/Resin" for "Resin Home", but I'm getting an exception:

java.lang.NoClassDefFoundError: com/caucho/boot/ResinBoot
Caused by: java.lang.ClassNotFoundException: com.caucho.boot.ResinBoot
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"

(3) Next, "Resin 4.0 (in place), picking port 4092.

"C:/Resin", once more.

Getting an error, "failed to start".

Well, I guess my environment lacks some essential configuration. Maybe
you could shed some light on what precisely I'm missing?

Thanks,

Michael Ludwig


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


Re: [Resin-interest] Eclipse Plugin

2009-05-11 Thread Emil Ong
On Mon, May 11, 2009 at 03:19:39PM +0200, Michael Ludwig wrote:
> Emil Ong schrieb:
> >
> > The Eclipse update site isn't up just yet, but will be with the new
> > release, due out this week or early next.
> 
> Would this still be http://caucho.com/eclipse ? 404 at the moment.
> 
> But I guess you still need some more time to recover from the 4.0
> release effort. Thanks for all the work!

Hi Michael,

Thanks for the recovery time... :-)  Please give it a try now.

Thanks,
Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Java CanDI: contexts and dependency injection


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


Re: [Resin-interest] Eclipse Plugin

2009-05-11 Thread Michael Ludwig
Emil Ong schrieb:
>
> The Eclipse update site isn't up just yet, but will be with the new
> release, due out this week or early next.

Would this still be http://caucho.com/eclipse ? 404 at the moment.

But I guess you still need some more time to recover from the 4.0
release effort. Thanks for all the work!

Michael


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


Re: [Resin-interest] Eclipse Plugin

2009-04-17 Thread Scott Hernandez
I'm confused. What does this have to do with the resin (app-server) plugin?

Doesn't the WST/Eclipse framework for web projects take care of
building (and deploying) everything?

It seems like if you want to use ant/maven/xBuildTool you can do that
outside eclipse, or use one of the existing plugins that work with
eclipse, and WST.

Oh, and I def. prefer ant, just to put my two cents in on that front.

On Fri, Apr 17, 2009 at 9:06 AM, Jeff Schnitzer  wrote:
> Oh no... I hate this discussion.  Let's just say that there are plenty
> of people on both sides of the fence.  I have a fair amount of
> experience with Maven on big complicated projects and loathe it
> intensely.
>
> This thread is worth reading, you can search for my name to see my
> long-winded comment:
>
> http://tapestryjava.blogspot.com/2007/11/maven-wont-get-fooled-again.html
>
> I'd rather see an ant build.  For all its flaws, it's still the better
> Java build tool.  I'd probably be willing to write and contribute a
> buildfile if the Powers That Be are interested.
>
> Jeff
>
> On Fri, Apr 17, 2009 at 8:41 AM, Emil Ong  wrote:
>> On Fri, Apr 17, 2009 at 03:56:43PM +0100, Stargazer wrote:
>>> Maven, maven maven 
>>
>> Could you explain?
>>
>> Thanks,
>> Emil
>>
>>> > Thanks,
>>> > Emil
>>> >
>>> > On Mon, Apr 13, 2009 at 12:20:46PM -0500, Aaron Freeman wrote:
>>> >
>>> >> Emil,
>>> >>
>>> >> What does the plug-in provide to us that setting up as a general
>>> >> application doesn't?  I haven't tried the plug-in so I am not aware of
>>> >> what it does?
>>> >>
>>> >> Thanks,
>>> >>
>>> >> Aaron
>>> >>
>>> >>> Hi Scott,
>>> >>>
>>> >>> The Eclipse update site isn't up just yet, but will be with the new
>>> >>> release, due out this week or early next.
>>> >>>
>>> >>> Emil
>>> >>>
>>> >>> On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
>>> >>>
>>> >>>
>>>  I noticed there is an eclipse plugin in the svn tree
>>>  (artifacts/eclipse) that has seen some recent checkins. The build
>>>  instructions seem pretty straight forward and end with directions to
>>>  post the update-site at http://caucho.com/eclipse. When I point the
>>>  eclipse updates to that address there is nothing. Is this something I
>>>  can build from source? Will it be hosted there sometime soon? Is the
>>>  plugin in usable form?
>>> 
>>>  Oh, and what do people use for an IDE btw?
>>> 
>>>  Thanks in advance,
>>>  Scott
>>> 
>>> 
>>>  ___
>>>  resin-interest mailing list
>>>  resin-interest@caucho.com
>>>  http://maillist.caucho.com/mailman/listinfo/resin-interest
>>> 
>>> 
>>> >>> 
>>> >>>
>>> >>> Emil Ong
>>> >>> Chief Evangelist
>>> >>> Caucho Technology, Inc.
>>> >>> Tel. (858) 456-0300
>>> >>> mailto:e...@caucho.com
>>> >>> http://blog.caucho.com/
>>> >>>
>>> >>> Caucho: Reliable Open Source
>>> >>> --> Resin: application server
>>> >>> --> Quercus: PHP in Java
>>> >>> --> Java CanDI: contexts and dependency injection
>>> >>>
>>> >>>
>>> >>> ___
>>> >>> 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
>>> >>
>>> > 
>>> >
>>> > Emil Ong
>>> > Chief Evangelist
>>> > Caucho Technology, Inc.
>>> > Tel. (858) 456-0300
>>> > mailto:e...@caucho.com
>>> > http://blog.caucho.com/
>>> >
>>> > Caucho: Reliable Open Source
>>> > --> Resin: application server
>>> > --> Quercus: PHP in Java
>>> > --> Java CanDI: contexts and dependency injection
>>> >
>>> >
>>> > ___
>>> > resin-interest mailing list
>>> > resin-interest@caucho.com
>>> > http://maillist.caucho.com/mailman/listinfo/resin-interest
>>> >
>>> > 
>>> >
>>> >
>>> > No virus found in this incoming message.
>>> > Checked by AVG - www.avg.com
>>> > Version: 8.0.238 / Virus Database: 270.11.55/2057 - Release Date: 
>>> > 04/13/09 17:56:00
>>> >
>>> >
>>>
>>>
>>>
>>>
>>> ___
>>> resin-interest mailing list
>>> resin-interest@caucho.com
>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>> 
>>
>> Emil Ong
>> Chief Evangelist
>> Caucho Technology, Inc.
>> Tel. (858) 456-0300
>> mailto:e...@caucho.com
>> http://blog.caucho.com/
>>
>> Caucho: Reliable Open Source
>> --> Resin: application server
>> --> Quercus: PHP in Java
>> --> Java CanDI: contexts and dependency injection
>>
>>
>> ___

Re: [Resin-interest] Eclipse Plugin

2009-04-17 Thread Jeff Schnitzer
Oh no... I hate this discussion.  Let's just say that there are plenty
of people on both sides of the fence.  I have a fair amount of
experience with Maven on big complicated projects and loathe it
intensely.

This thread is worth reading, you can search for my name to see my
long-winded comment:

http://tapestryjava.blogspot.com/2007/11/maven-wont-get-fooled-again.html

I'd rather see an ant build.  For all its flaws, it's still the better
Java build tool.  I'd probably be willing to write and contribute a
buildfile if the Powers That Be are interested.

Jeff

On Fri, Apr 17, 2009 at 8:41 AM, Emil Ong  wrote:
> On Fri, Apr 17, 2009 at 03:56:43PM +0100, Stargazer wrote:
>> Maven, maven maven 
>
> Could you explain?
>
> Thanks,
> Emil
>
>> > Thanks,
>> > Emil
>> >
>> > On Mon, Apr 13, 2009 at 12:20:46PM -0500, Aaron Freeman wrote:
>> >
>> >> Emil,
>> >>
>> >> What does the plug-in provide to us that setting up as a general
>> >> application doesn't?  I haven't tried the plug-in so I am not aware of
>> >> what it does?
>> >>
>> >> Thanks,
>> >>
>> >> Aaron
>> >>
>> >>> Hi Scott,
>> >>>
>> >>> The Eclipse update site isn't up just yet, but will be with the new
>> >>> release, due out this week or early next.
>> >>>
>> >>> Emil
>> >>>
>> >>> On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
>> >>>
>> >>>
>>  I noticed there is an eclipse plugin in the svn tree
>>  (artifacts/eclipse) that has seen some recent checkins. The build
>>  instructions seem pretty straight forward and end with directions to
>>  post the update-site at http://caucho.com/eclipse. When I point the
>>  eclipse updates to that address there is nothing. Is this something I
>>  can build from source? Will it be hosted there sometime soon? Is the
>>  plugin in usable form?
>> 
>>  Oh, and what do people use for an IDE btw?
>> 
>>  Thanks in advance,
>>  Scott
>> 
>> 
>>  ___
>>  resin-interest mailing list
>>  resin-interest@caucho.com
>>  http://maillist.caucho.com/mailman/listinfo/resin-interest
>> 
>> 
>> >>> 
>> >>>
>> >>> Emil Ong
>> >>> Chief Evangelist
>> >>> Caucho Technology, Inc.
>> >>> Tel. (858) 456-0300
>> >>> mailto:e...@caucho.com
>> >>> http://blog.caucho.com/
>> >>>
>> >>> Caucho: Reliable Open Source
>> >>> --> Resin: application server
>> >>> --> Quercus: PHP in Java
>> >>> --> Java CanDI: contexts and dependency injection
>> >>>
>> >>>
>> >>> ___
>> >>> 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
>> >>
>> > 
>> >
>> > Emil Ong
>> > Chief Evangelist
>> > Caucho Technology, Inc.
>> > Tel. (858) 456-0300
>> > mailto:e...@caucho.com
>> > http://blog.caucho.com/
>> >
>> > Caucho: Reliable Open Source
>> > --> Resin: application server
>> > --> Quercus: PHP in Java
>> > --> Java CanDI: contexts and dependency injection
>> >
>> >
>> > ___
>> > resin-interest mailing list
>> > resin-interest@caucho.com
>> > http://maillist.caucho.com/mailman/listinfo/resin-interest
>> >
>> > 
>> >
>> >
>> > No virus found in this incoming message.
>> > Checked by AVG - www.avg.com
>> > Version: 8.0.238 / Virus Database: 270.11.55/2057 - Release Date: 04/13/09 
>> > 17:56:00
>> >
>> >
>>
>>
>>
>>
>> ___
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
>
> Emil Ong
> Chief Evangelist
> Caucho Technology, Inc.
> Tel. (858) 456-0300
> mailto:e...@caucho.com
> http://blog.caucho.com/
>
> Caucho: Reliable Open Source
> --> Resin: application server
> --> Quercus: PHP in Java
> --> Java CanDI: contexts and dependency injection
>
>
> ___
> 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] Eclipse Plugin

2009-04-17 Thread Emil Ong
On Fri, Apr 17, 2009 at 03:56:43PM +0100, Stargazer wrote:
> Maven, maven maven 

Could you explain?

Thanks,
Emil

> > Thanks,
> > Emil
> >
> > On Mon, Apr 13, 2009 at 12:20:46PM -0500, Aaron Freeman wrote:
> >   
> >> Emil,
> >>
> >> What does the plug-in provide to us that setting up as a general 
> >> application doesn't?  I haven't tried the plug-in so I am not aware of 
> >> what it does?
> >>
> >> Thanks,
> >>
> >> Aaron
> >> 
> >>> Hi Scott,
> >>>
> >>> The Eclipse update site isn't up just yet, but will be with the new
> >>> release, due out this week or early next.
> >>>
> >>> Emil
> >>>
> >>> On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
> >>>   
> >>>   
>  I noticed there is an eclipse plugin in the svn tree
>  (artifacts/eclipse) that has seen some recent checkins. The build
>  instructions seem pretty straight forward and end with directions to
>  post the update-site at http://caucho.com/eclipse. When I point the
>  eclipse updates to that address there is nothing. Is this something I
>  can build from source? Will it be hosted there sometime soon? Is the
>  plugin in usable form?
> 
>  Oh, and what do people use for an IDE btw?
> 
>  Thanks in advance,
>  Scott
> 
> 
>  ___
>  resin-interest mailing list
>  resin-interest@caucho.com
>  http://maillist.caucho.com/mailman/listinfo/resin-interest
>  
>  
> >>> 
> >>>
> >>> Emil Ong
> >>> Chief Evangelist
> >>> Caucho Technology, Inc.
> >>> Tel. (858) 456-0300
> >>> mailto:e...@caucho.com
> >>> http://blog.caucho.com/
> >>>
> >>> Caucho: Reliable Open Source
> >>> --> Resin: application server
> >>> --> Quercus: PHP in Java
> >>> --> Java CanDI: contexts and dependency injection
> >>>
> >>>
> >>> ___
> >>> 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
> >> 
> > 
> >
> > Emil Ong
> > Chief Evangelist
> > Caucho Technology, Inc.
> > Tel. (858) 456-0300
> > mailto:e...@caucho.com
> > http://blog.caucho.com/
> >
> > Caucho: Reliable Open Source
> > --> Resin: application server
> > --> Quercus: PHP in Java
> > --> Java CanDI: contexts and dependency injection
> >
> >
> > ___
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
> >   
> > 
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com 
> > Version: 8.0.238 / Virus Database: 270.11.55/2057 - Release Date: 04/13/09 
> > 17:56:00
> >
> >   
> 
> 
> 
> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Java CanDI: contexts and dependency injection


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


Re: [Resin-interest] Eclipse Plugin

2009-04-17 Thread Levi Stanley
Exadel Studios, use to integrate so well with resin.  I think it is
great that you guys have a eclipse plugin. 

Best regards,
Levi

Stargazer wrote:
> Emil Ong wrote:
>   
>> Hi Aaron,
>>
>> The plugin is built on the WST/JST (Java webtools) framework, so you get
>> all the goodies that come with that.  It also provides 3 different
>> deployment mechanisms:
>>
>> 1) .war based
>> 2) in place
>> 3) new Resin 4.0 remote deploy
>>
>> Suggestions for other features are always welcome.
>>
>>   
>> 
> Maven, maven maven 
>   
>> Thanks,
>> Emil
>>
>> On Mon, Apr 13, 2009 at 12:20:46PM -0500, Aaron Freeman wrote:
>>   
>> 
>>> Emil,
>>>
>>> What does the plug-in provide to us that setting up as a general 
>>> application doesn't?  I haven't tried the plug-in so I am not aware of 
>>> what it does?
>>>
>>> Thanks,
>>>
>>> Aaron
>>> 
>>>   
 Hi Scott,

 The Eclipse update site isn't up just yet, but will be with the new
 release, due out this week or early next.

 Emil

 On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
   
   
 
> I noticed there is an eclipse plugin in the svn tree
> (artifacts/eclipse) that has seen some recent checkins. The build
> instructions seem pretty straight forward and end with directions to
> post the update-site at http://caucho.com/eclipse. When I point the
> eclipse updates to that address there is nothing. Is this something I
> can build from source? Will it be hosted there sometime soon? Is the
> plugin in usable form?
>
> Oh, and what do people use for an IDE btw?
>
> Thanks in advance,
> Scott
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 
>   
 

 Emil Ong
 Chief Evangelist
 Caucho Technology, Inc.
 Tel. (858) 456-0300
 mailto:e...@caucho.com
 http://blog.caucho.com/

 Caucho: Reliable Open Source
 --> Resin: application server
 --> Quercus: PHP in Java
 --> Java CanDI: contexts and dependency injection


 ___
 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
>>> 
>>>   
>> 
>>
>> Emil Ong
>> Chief Evangelist
>> Caucho Technology, Inc.
>> Tel. (858) 456-0300
>> mailto:e...@caucho.com
>> http://blog.caucho.com/
>>
>> Caucho: Reliable Open Source
>> --> Resin: application server
>> --> Quercus: PHP in Java
>> --> Java CanDI: contexts and dependency injection
>>
>>
>> ___
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>   
>> 
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com 
>> Version: 8.0.238 / Virus Database: 270.11.55/2057 - Release Date: 04/13/09 
>> 17:56:00
>>
>>   
>> 
>
>
>
>
> ___
> 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] Eclipse Plugin

2009-04-17 Thread Stargazer
Emil Ong wrote:
> Hi Aaron,
>
> The plugin is built on the WST/JST (Java webtools) framework, so you get
> all the goodies that come with that.  It also provides 3 different
> deployment mechanisms:
>
> 1) .war based
> 2) in place
> 3) new Resin 4.0 remote deploy
>
> Suggestions for other features are always welcome.
>
>   
Maven, maven maven 
> Thanks,
> Emil
>
> On Mon, Apr 13, 2009 at 12:20:46PM -0500, Aaron Freeman wrote:
>   
>> Emil,
>>
>> What does the plug-in provide to us that setting up as a general 
>> application doesn't?  I haven't tried the plug-in so I am not aware of 
>> what it does?
>>
>> Thanks,
>>
>> Aaron
>> 
>>> Hi Scott,
>>>
>>> The Eclipse update site isn't up just yet, but will be with the new
>>> release, due out this week or early next.
>>>
>>> Emil
>>>
>>> On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
>>>   
>>>   
 I noticed there is an eclipse plugin in the svn tree
 (artifacts/eclipse) that has seen some recent checkins. The build
 instructions seem pretty straight forward and end with directions to
 post the update-site at http://caucho.com/eclipse. When I point the
 eclipse updates to that address there is nothing. Is this something I
 can build from source? Will it be hosted there sometime soon? Is the
 plugin in usable form?

 Oh, and what do people use for an IDE btw?

 Thanks in advance,
 Scott


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
>>> 
>>>
>>> Emil Ong
>>> Chief Evangelist
>>> Caucho Technology, Inc.
>>> Tel. (858) 456-0300
>>> mailto:e...@caucho.com
>>> http://blog.caucho.com/
>>>
>>> Caucho: Reliable Open Source
>>> --> Resin: application server
>>> --> Quercus: PHP in Java
>>> --> Java CanDI: contexts and dependency injection
>>>
>>>
>>> ___
>>> 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
>> 
> 
>
> Emil Ong
> Chief Evangelist
> Caucho Technology, Inc.
> Tel. (858) 456-0300
> mailto:e...@caucho.com
> http://blog.caucho.com/
>
> Caucho: Reliable Open Source
> --> Resin: application server
> --> Quercus: PHP in Java
> --> Java CanDI: contexts and dependency injection
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>   
> 
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.0.238 / Virus Database: 270.11.55/2057 - Release Date: 04/13/09 
> 17:56:00
>
>   




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


Re: [Resin-interest] Eclipse Plugin

2009-04-13 Thread Scott Hernandez
Hi all,

Looking at the source (and trying it out from my own build) it seems
like it integrates into eclipse's wst tools. This means you can build
a "dynamic web" application and "resin X.x" (3.x/4.0 hot
deploy/in-place) runtime (in eclipse) that can be
deployed/run/debug/profiles within eclipse. The resin runtime objects
(using wst and the eclipse framework) mean that you don't need to
setup "launch/debug/etc" configurations using general java app
settings (like class/classpath/jvmargs) and can just use the ones
defined for resin X.x. Oh, and I think this also means you can target
one of these runtimes without having to manually setup the libs/deps.

I'm not sure if there is much more in there; that is all I saw when
playing with it.

There were no project or class helpers that I saw, but that would be nice too.

Being able to create resin "Resin Project","Resource", "Persistence
(JPA)", "Entity", "Service", "Queue", and so on would be great. Also,
having completion and validation help with the
resin.xml/resin-web.xml/beans.xml files would be great. It nice to
know when you have a configuration/code errors before you try to
deploy.

On Mon, Apr 13, 2009 at 10:20 AM, Aaron Freeman
 wrote:
> Emil,
>
> What does the plug-in provide to us that setting up as a general
> application doesn't?  I haven't tried the plug-in so I am not aware of
> what it does?
>
> Thanks,
>
> Aaron
>> Hi Scott,
>>
>> The Eclipse update site isn't up just yet, but will be with the new
>> release, due out this week or early next.
>>
>> Emil
>>
>> On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
>>
>>> I noticed there is an eclipse plugin in the svn tree
>>> (artifacts/eclipse) that has seen some recent checkins. The build
>>> instructions seem pretty straight forward and end with directions to
>>> post the update-site at http://caucho.com/eclipse. When I point the
>>> eclipse updates to that address there is nothing. Is this something I
>>> can build from source? Will it be hosted there sometime soon? Is the
>>> plugin in usable form?
>>>
>>> Oh, and what do people use for an IDE btw?
>>>
>>> Thanks in advance,
>>> Scott


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


Re: [Resin-interest] Eclipse Plugin

2009-04-13 Thread Emil Ong
Hi Aaron,

The plugin is built on the WST/JST (Java webtools) framework, so you get
all the goodies that come with that.  It also provides 3 different
deployment mechanisms:

1) .war based
2) in place
3) new Resin 4.0 remote deploy

Suggestions for other features are always welcome.

Thanks,
Emil

On Mon, Apr 13, 2009 at 12:20:46PM -0500, Aaron Freeman wrote:
> Emil,
> 
> What does the plug-in provide to us that setting up as a general 
> application doesn't?  I haven't tried the plug-in so I am not aware of 
> what it does?
> 
> Thanks,
> 
> Aaron
> > Hi Scott,
> >
> > The Eclipse update site isn't up just yet, but will be with the new
> > release, due out this week or early next.
> >
> > Emil
> >
> > On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
> >   
> >> I noticed there is an eclipse plugin in the svn tree
> >> (artifacts/eclipse) that has seen some recent checkins. The build
> >> instructions seem pretty straight forward and end with directions to
> >> post the update-site at http://caucho.com/eclipse. When I point the
> >> eclipse updates to that address there is nothing. Is this something I
> >> can build from source? Will it be hosted there sometime soon? Is the
> >> plugin in usable form?
> >>
> >> Oh, and what do people use for an IDE btw?
> >>
> >> Thanks in advance,
> >> Scott
> >>
> >>
> >> ___
> >> resin-interest mailing list
> >> resin-interest@caucho.com
> >> http://maillist.caucho.com/mailman/listinfo/resin-interest
> >> 
> > 
> >
> > Emil Ong
> > Chief Evangelist
> > Caucho Technology, Inc.
> > Tel. (858) 456-0300
> > mailto:e...@caucho.com
> > http://blog.caucho.com/
> >
> > Caucho: Reliable Open Source
> > --> Resin: application server
> > --> Quercus: PHP in Java
> > --> Java CanDI: contexts and dependency injection
> >
> >
> > ___
> > 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


Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Java CanDI: contexts and dependency injection


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


Re: [Resin-interest] Eclipse Plugin

2009-04-13 Thread Aaron Freeman
Emil,

What does the plug-in provide to us that setting up as a general 
application doesn't?  I haven't tried the plug-in so I am not aware of 
what it does?

Thanks,

Aaron
> Hi Scott,
>
> The Eclipse update site isn't up just yet, but will be with the new
> release, due out this week or early next.
>
> Emil
>
> On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
>   
>> I noticed there is an eclipse plugin in the svn tree
>> (artifacts/eclipse) that has seen some recent checkins. The build
>> instructions seem pretty straight forward and end with directions to
>> post the update-site at http://caucho.com/eclipse. When I point the
>> eclipse updates to that address there is nothing. Is this something I
>> can build from source? Will it be hosted there sometime soon? Is the
>> plugin in usable form?
>>
>> Oh, and what do people use for an IDE btw?
>>
>> Thanks in advance,
>> Scott
>>
>>
>> ___
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>> 
> 
>
> Emil Ong
> Chief Evangelist
> Caucho Technology, Inc.
> Tel. (858) 456-0300
> mailto:e...@caucho.com
> http://blog.caucho.com/
>
> Caucho: Reliable Open Source
> --> Resin: application server
> --> Quercus: PHP in Java
> --> Java CanDI: contexts and dependency injection
>
>
> ___
> 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] Eclipse Plugin

2009-04-13 Thread Emil Ong
Hi Scott,

The Eclipse update site isn't up just yet, but will be with the new
release, due out this week or early next.

Emil

On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
> I noticed there is an eclipse plugin in the svn tree
> (artifacts/eclipse) that has seen some recent checkins. The build
> instructions seem pretty straight forward and end with directions to
> post the update-site at http://caucho.com/eclipse. When I point the
> eclipse updates to that address there is nothing. Is this something I
> can build from source? Will it be hosted there sometime soon? Is the
> plugin in usable form?
> 
> Oh, and what do people use for an IDE btw?
> 
> Thanks in advance,
> Scott
> 
> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:e...@caucho.com
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Java CanDI: contexts and dependency injection


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


Re: [Resin-interest] Eclipse Plugin

2009-04-13 Thread Aaron Freeman
I use Eclipse and run Resin within it's framework but do not use a 
plug-in.  I just set it up as a Run Configuration doing these steps:

1) Run --> Run Configuration
2) Create a new Java Application

On the new configurations screen I do:

1) Main (tab)
Main class: com.caucho.server.resin.Resin

2) Arguments (tab)
Program arguments:
-conf /path-to-configuration/resin.xml

VM arguments:
-Xmx96m
-Djava.util.logging.manager=com.caucho.log.LogManagerImpl
-Dresin.home=/path-to-resin/resin-pro-3.0.22

3) Classpath (tab)
Highlight Bootstrap Entries and click "Add External JARs ..."
Add all of the jars under:
/path-to-resin/resin-pro-3.0.22/lib/*.jar

I think that's all the steps.  Once you do that you should have Resin 
running under Eclipse.  If you have a Java project, you will want to 
probably add it on the Main tab, and add any dependencies to your Java 
code by right-clicking on your Java project, selecting "Build Path --> 
Configure Build Path" and then "Add external JARs" for each dependency 
so that it all compiles properly.

Aaron
> I noticed there is an eclipse plugin in the svn tree
> (artifacts/eclipse) that has seen some recent checkins. The build
> instructions seem pretty straight forward and end with directions to
> post the update-site at http://caucho.com/eclipse. When I point the
> eclipse updates to that address there is nothing. Is this something I
> can build from source? Will it be hosted there sometime soon? Is the
> plugin in usable form?
>
> Oh, and what do people use for an IDE btw?
>
> Thanks in advance,
> 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] Eclipse Plugin

2009-04-13 Thread Riccardo Cohen
Hi,
I use eclipse europa (3.3.2) for the source (java & flex), but cannot 
debug with it (I launch resin from console).
The plugin never worked for me. (I'm on macosx)

Scott Hernandez wrote:
> I noticed there is an eclipse plugin in the svn tree
> (artifacts/eclipse) that has seen some recent checkins. The build
> instructions seem pretty straight forward and end with directions to
> post the update-site at http://caucho.com/eclipse. When I point the
> eclipse updates to that address there is nothing. Is this something I
> can build from source? Will it be hosted there sometime soon? Is the
> plugin in usable form?
> 
> Oh, and what do people use for an IDE btw?
> 
> Thanks in advance,
> Scott
> 
> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 

-- 
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
+33 (0)6.09.83.64.49



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


[Resin-interest] Eclipse Plugin

2009-04-12 Thread Scott Hernandez
I noticed there is an eclipse plugin in the svn tree
(artifacts/eclipse) that has seen some recent checkins. The build
instructions seem pretty straight forward and end with directions to
post the update-site at http://caucho.com/eclipse. When I point the
eclipse updates to that address there is nothing. Is this something I
can build from source? Will it be hosted there sometime soon? Is the
plugin in usable form?

Oh, and what do people use for an IDE btw?

Thanks in advance,
Scott


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