|
From: Leif M. <le...@ta...> - 2006-02-10 14:06:30
|
Senthil, > I even tried using "wrapper.ntservice.interactive=true" but all I get > is a message box saying > "The application failed to initialize properly (0xc0000142)" What is process that is crashing? Is this your JVM or the browser process? > I even tried increasing the maxmemory property to 300MB. Still it > doesn't work. I doubt that the memory is the problem. That just sets the memory used by the JVM launched by the Wrapper. So without the interactive flag set, the browser gets launched but does nothing. But when the flag is set, something is crashing? What is the RunTime class? Is that something that you created? Have you tried launching the browser using the java.lang.Runtime.exec method? I haven't launched a browser before, but have launched Excel without any problems in the past. Cheers, Leif > On 2/10/06, *Leif Mortenson* <le...@ta... > <mailto:le...@ta...>> wrote: > > Senthil, > Are you setting the wrapper.ntservice.interactive > property? This is > needed or the service > and all of its child processes will not have access to the desktop. > ie. They can't show the > user anything. > > Cheers, > Leif > > Senthil S wrote: > > Hi, > > My application launches a browser as soon as it gets started.The > > following is the code I use > > > > RunTime.exec(rundll32 url.dll, FileHandlerProtocol > > http://localhost:1090); > > > > This one brings up a browser when I start the application in the > > console mode but doesn't invoke the browser when started as a > service > > nor does it complain of any errors. I have the following for the > path > > wrapper.java.path.1=%SYSTEM%\rundll32.dll > > wrapper.java.path.2=%SYSTEM%\url.dll > > wrapper.java.library.path.3=%SYSTEM%\rundll32.dll > > wrapper.java.library.path.4=%SYSTEM%\url.dll > > > > The %PATH% has C:\winnt\SYSTEM32 . > > > > What do I miss? Please reply me ASAP > > > > Waiting for your reply, > > Senthil > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log > > files > > for problems? Stop! Download the new AJAX search engine that > makes > > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642> > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > <mailto:Wra...@li...> > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642> > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > <mailto:Wra...@li...> > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |