|
From: Leif M. <le...@ta...> - 2004-10-20 07:06:54
|
Patrik, Good eye. You are right, that is most likely the problem. Frank, In your wrapper.conf file, change: wrapper.java.command=D:\j2re1.4.2_05\bin to: wrapper.java.command=D:\j2re1.4.2_05\bin\java and you should be up and running. Cheers, Leif Patrik Nilsson wrote: > Hi, > > The conf file is the problem. > > The following line > wrapper.java.command=D:\j2re1.4.2_05\bin > Should be > wrapper.java.command=D:\j2re1.4.2_05\bin\java > > /Patrik > > > -----Ursprungligt meddelande----- > *Från:* wra...@li... > [mailto:wra...@li...]*För *Frank Fischer > *Skickat:* den 16 oktober 2004 21:39 > *Till:* wra...@li... > *Ämne:* [Wrapper-user] FATAL | wrapper | 2004/10/16 21:35:32 | > Unable to execute Java command. Zugriff verweigert (0x5) [Access > denied] > > Hi all > > > *Windows 2000 Professional, german, Wrapper 3.1.2, Java JRE 1.4.2_05* > > I just setup the wrapper and did the requiered modification to my > code (using methode III of integration). I installed the server. > When starting the service from the service manager i get the error > "1067 Service terminated unexpectly". In the wrapper.log i cna > find the following info: > > -------------------------------- > STATUS | wrapper | 2004/10/16 21:35:31 | --> Wrapper Started as > Service > DEBUG | wrapper | 2004/10/16 21:35:31 | Using system timer. > DEBUG | wrapperp | 2004/10/16 21:35:31 | server listening on port > 32000. > STATUS | wrapper | 2004/10/16 21:35:32 | Launching a JVM... > DEBUG | wrapper | 2004/10/16 21:35:32 | command: > "D:\j2re1.4.2_05\bin" > -Djava.library.path="D:\JavaNTServiceWrapper\bin" -classpath > "D:\j2re1.4.2_05\lib;D:\j2re1.4.2_05\lib\ext;D:\javaroot" > -Dwrapper.key="QlZNkUI30O7APbuZ" -Dwrapper.port=32000 > -Dwrapper.debug="TRUE" -Dwrapper.use_system_time="TRUE" > -Dwrapper.version="3.1.2" -Dwrapper.native_library="wrapper" > -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" > -Dwrapper.jvmid=1 com\AareNet\RoutingEngine.REServerServiceWrapper > FATAL | wrapper | 2004/10/16 21:35:32 | Unable to execute Java > command. Zugriff verweigert (0x5) > FATAL | wrapper | 2004/10/16 21:35:32 | > "D:\j2re1.4.2_05\bin" > -Djava.library.path="D:\JavaNTServiceWrapper\bin" -classpath > "D:\j2re1.4.2_05\lib;D:\j2re1.4.2_05\lib\ext;D:\javaroot" > -Dwrapper.key="QlZNkUI30O7APbuZ" -Dwrapper.port=32000 > -Dwrapper.debug="TRUE" -Dwrapper.use_system_time="TRUE" > -Dwrapper.version="3.1.2" -Dwrapper.native_library="wrapper" > -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" > -Dwrapper.jvmid=1 com\AareNet\RoutingEngine.REServerServiceWrapper > FATAL | wrapper | 2004/10/16 21:35:32 | Critical error: wait for > JVM process failed > -------------------------------- > > In the line "FATAL | wrapper | 2004/10/16 21:35:32 | Unable to > execute Java command. Zugriff verweigert (0x5)", the "Zugriff > verweigert" means "Access denied". > > Does anyone has an idea what this could mean and what might be the > reason for this error? > > below my conf-file: > > > #******************************************************************** > # TestWrapper Properties > # > # NOTE - Please use src/conf/wrapper.conf.in as a template for your > # own application rather than the values used for the > # TestWrapper sample. > #******************************************************************** > # Java Application > wrapper.java.command=D:\j2re1.4.2_05\bin > # Java Main class. This class must implement the WrapperListener > interface > # or guarantee that the WrapperManager class is initialized. Helper > # classes are provided to do this for you. See the Integration section > # of the documentation for details. > wrapper.java.mainclass=com\AareNet\RoutingEngine.REServerServiceWrapper > # Java Classpath (include wrapper.jar) Add class path elements as > # needed starting from 1 > wrapper.java.classpath.1=D:\j2re1.4.2_05\lib > wrapper.java.classpath.2=D:\j2re1.4.2_05\lib\ext > wrapper.java.classpath.3=D:\javaroot > # Java Library Path (location of Wrapper.DLL or libwrapper.so) > wrapper.java.library.path.1=D:\JavaNTServiceWrapper\bin > # Java Additional Parameters > #wrapper.java.additional.1= > # Initial Java Heap Size (in MB) > #wrapper.java.initmemory=3 > # Maximum Java Heap Size (in MB) > #wrapper.java.maxmemory=64 > # Application parameters. Add parameters as needed starting from 1 > #wrapper.app.parameter.1=D:\javaroot\properties\REServer.properties > #******************************************************************** > # Wrapper Logging Properties > #******************************************************************** > wrapper.debug=TRUE > # Format of output for the console. (See docs for formats) > wrapper.console.format=PM > # Log Level for console output. (See docs for log levels) > wrapper.console.loglevel=DEBUG > # Log file to use for wrapper output logging. > wrapper.logfile=D:\JavaNTServiceWrapper\logs\wrapper.log > # Format of output for the log file. (See docs for formats) > wrapper.logfile.format=LPTM > # Log Level for log file output. (See docs for log levels) > wrapper.logfile.loglevel=DEBUG > # Maximum size that the log file will be allowed to grow to before > # the log is rolled. Size is specified in bytes. The default value > # of 0, disables log rolling. May abbreviate with the 'k' (kb) or > # 'm' (mb) suffix. For example: 10m = 10 megabytes. > wrapper.logfile.maxsize=0 > # Maximum number of rolled log files which will be allowed before old > # files are deleted. The default value of 0 implies no limit. > wrapper.logfile.maxfiles=0 > # Log Level for sys/event log output. (See docs for log levels) > wrapper.syslog.loglevel=DEBUG > #******************************************************************** > # Wrapper Windows Properties > #******************************************************************** > # Title to use when running as a console > wrapper.console.title=aareNet aareSwitch Routing Engine 1.0 > #******************************************************************** > # Wrapper Windows NT/2000/XP Service Properties > #******************************************************************** > # WARNING - Do not modify any of these properties when an application > # using this configuration file has been installed as a service. > # Please uninstall the service before modifying this section. The > # service can then be reinstalled. > # Name of the service > wrapper.ntservice.name=RoutingEngine > # Display name of the service > wrapper.ntservice.displayname=aareNet aareSwitch Routing Engine 1.0 > # Description of the service > wrapper.ntservice.description=Routing Engine Part of aareNet > aareSwitch VoIP System > # Service dependencies. Add dependencies as needed starting from 1 > wrapper.ntservice.dependency.1= > # Mode in which the service is installed. AUTO_START or DEMAND_START > wrapper.ntservice.starttype=AUTO_START > # Allow the service to interact with the desktop. > wrapper.ntservice.interactive=false > > > > Thanks a lot for your help! > Greetings, Frank > > > |