|
From: Sergio W. <ser...@ev...> - 2008-02-28 14:39:45
|
Thank you very much for your kind offer to help, but I kind of "fixed" the problem. I totally forgot that you can do a hotdeploy on Tomcat so I don't need to stop und restart it with cruisecontrol and therefore I don't need to wrap it (sometimes I tend to think much more complicated than necessary :-)). Greets, Sergio Leif Mortenson schrieb: > Sergio, > No, any exceptions thrown by the wrapped application will look normal. > They do not pass through the Wrapper.dll (native component) in any > way. > > The message you are seeing is that the wrapper is not able to locate > its native library. This is a library path problem and is unrelated to > the wrapped application. > > If you could post your wrapper.conf and explain the relative locations > of the wrapper.exe and wrapper.dll files I could probably tell you right > away what the problem is. > > Cheers, > Leif > > Sergio Weigel wrote: > >> Thanx for your rapid reply, Leif. >> You're right, there seems to be a problem with the Tomcat configuration. >> I guess, the mentioned error message from the wrapper.dll occurs, if >> the wrapped application throws exceptions. >> Am I right on that? >> >> Greets, Sergio >> >> Leif Mortenson schrieb: >> >>> Sergio, >>> Try setting the wrapper.java.command.loglevel=INFO property. >>> It will show the full generated Java command line. The problem >>> might be more apparent looking at that. >>> >>> The java library path will be the problem. That is all loaded before >>> any tomcat code is executed, so it can't be anything to do with >>> Tomcat itself. >>> >>> Cheers, >>> Leif >>> >>> serdsch wrote: >>> >>> >>>> Hello, >>>> >>>> I try to wrap Tomcat 6.0 to be able to control it with automated builds >>>> using cruisecontrol's antpublisher. Tomcat should publish the build results >>>> and I have to run it as a Windows service because otherwise cruisecontrol >>>> wont continue when the server is started as it keeps waiting for the Ant >>>> task to complete. >>>> Wrapping worked perfectly fine with JBoss, but with Tomcat I have the >>>> following problems. >>>> >>>> I read the manual for wrapping Tomcat 4.x on Tanuki's website: >>>> http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-win.html >>>> >>>> I did everything the same with Tomcat 6.0 but when I execute the Tomcat.bat >>>> it can't load the wrapper.dll: >>>> >>>> Unable to load the wrapper's native library 'wrapper.dll'. >>>> The file is located on the path at the following location but could not be >>>> loaded. >>>> >>>> The logged in user has the rights to read the file and I use a 32-bit >>>> Windows with a 32-bit Java version and a 32-bit wrapper. >>>> >>>> Any idea? >>>> Or is there maybe another way to control Tomcat with cruisecontrol? >>>> >>>> Thx, Sergio >>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Wrapper-user mailing list >>> Wra...@li... >>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>> >>> >> -- >> Sergio Weigel >> IT-Consultant >> >> *** evodion IT - weil Standard nur Mittelmaß ist *** >> >> evodion Information Technologies GmbH >> Högerdamm 41 >> 20097 Hamburg >> Geschäftsführer: Wolfgang Wulf, Frank Hunold >> Handelsregister: Amtsgericht Hamburg >> HRB 86622 >> www.evodion.de >> >> Tel : +49 (40)2714340-35 >> Fax : +49 (40)2714340-37 >> Ser...@ev... >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > -- Sergio Weigel IT-Consultant *** evodion IT - weil Standard nur Mittelmaß ist *** evodion Information Technologies GmbH Högerdamm 41 20097 Hamburg Geschäftsführer: Wolfgang Wulf, Frank Hunold Handelsregister: Amtsgericht Hamburg HRB 86622 www.evodion.de Tel : +49 (40)2714340-35 Fax : +49 (40)2714340-37 Ser...@ev... |