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 > TCP 0.0.0.0:8099 0.0.0.0:0 ABHÖREN > TCP 127.0.0.1:4394 127.0.0.1:8099 SCHLIESSEN_WARTEN > TCP 127.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: <logger name="com.caucho" level="finest"/> 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