|
From: <b....@ve...> - 2005-02-28 14:03:38
|
Hello! i'm on the intranet behind the firewall. The server has nothing to do with = the proxy. Because I can start it normally telling it where to find the=20 java.policy file. My wrapper.config file is as follows: #******************************************************************** # 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=3Djava # Java Main class. This class must implement the WrapperListener=20 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=3Dat.vector.cdp4j.comm.Server # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=3D../build/CDP4J=5Fserver-NIGHTLY.jar wrapper.java.classpath.2=3D../build/CDP4J=5Fcommon-NIGHTLY.jar wrapper.java.classpath.3=3D../libs/commons-lang-2.0.jar wrapper.java.classpath.4=3D../libs/jt400.jar wrapper.java.classpath.5=3D../libs/x4j400.jar wrapper.java.classpath.6=3D../libs/wrapper.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=3D../build # Java Additional Parameters wrapper.java.additional.1=3D-cp wrapper.java.additional.2=3D-Djava.security.policy=3D../ressources/java.pol= icy wrapper.java.additional.3=3D-Dhome=3D../ wrapper.java.additional.4=3D-Dcdpworld.dir=3D. wrapper.java.additional.5=3D-Djava.rmi.server.hostname=3Dlocalhost # Initial Java Heap Size (in MB) wrapper.java.initmemory=3D64 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=3D256 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=3Dat.vector.cdp4j.comm.Server wrapper.app.parameter.2=3D-Djava.security.policy=3D../ressources/java.policy #******************************************************************** # Wrapper Logging Properties #******************************************************************** # Format of output for the console. (See docs for formats) wrapper.console.format=3DPM # Log Level for console output. (See docs for log levels) wrapper.console.loglevel=3DINFO # Log file to use for wrapper output logging. wrapper.logfile=3D../logs/wrapper.log # Format of output for the log file. (See docs for formats) wrapper.logfile.format=3DLPTM # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=3DINFO # 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 =3D 10 megabytes. wrapper.logfile.maxsize=3D0 # 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=3D0 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=3DNONE #******************************************************************** # Wrapper Windows Properties #******************************************************************** # Title to use when running as a console wrapper.console.title=3DTest Wrapper for CDPworld Server Application #******************************************************************** # 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 wra...@ap...@ # Display name of the service wrapper.ntservice.displayname=3DCDPworld Server # Description of the service wrapper.ntservice.description=3DCDPworld Server Application as service # Service dependencies. Add dependencies as needed starting from 1 wrapper.ntservice.dependency.1=3D # Mode in which the service is installed. AUTO=5FSTART or DEMAND=5FSTART wrapper.ntservice.starttype=3DAUTO=5FSTART # Allow the service to interact with the desktop. wrapper.ntservice.interactive=3Dfalse Mit freundlichen Gruessen / Best regards =20 Dipl.Ing. Bab=FCr Somer Entwicklung und Beratung =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F Vector SW DV GmbH=20 fon: +43 1 216 50 40 -146 | Lassallestrasse 7a A 1020 Wien fax: +43 1 216 50 40 -50 |=20 Besuchen Sie uns auf der Vienna Autoshow! 15.-18. J=E4nner 2004, Halle D, Stand 524 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F =20 "Bashiro" <ba...@en...>=20 Sent by: wra...@li... 28.02.2005 12:02 Please respond to wra...@li... To wra...@li... cc Subject Re: [Wrapper-user] Access Denied problem Hello, do you use proxy ? bashiro > Hi! > > I have a java client/server application client accessing to server over > RMI. As I want to start the server with wrapper, I get > java.security.AccessControlException: access denied > (java.net.SocketpermissionException 225.225.225.225 > connect,accept,resolve). How must I configure the wrapper to read my > java.policy file. Should I do anything else? > > Please help! > > Mit freundlichen Gruessen / Best regards > > Dipl.Ing. Bab=FCr Somer > Entwicklung und Beratung > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F > Vector SW DV GmbH > fon: +43 1 216 50 40 -146 > | > Lassallestrasse 7a A 1020 Wien > fax: +43 1 216 50 40 -50 > | > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad=5Fid=3D6595&alloc=5Fid=3D14396&op=3Dclick =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user ForwardSourceID:NT00008942=20 |