|
From: Leif M. <le...@ta...> - 2003-10-09 07:44:01
|
Arun,
> I'm using WrapperListener,latest version.
> I have understood how to use it to deploy applications on the windows
> platform.
>
> In the Solaris platform how does this work?
> I can see from the help docs that the functionality to start the
> application on reboot is available only on the Debian Linux platform.
> Does this work the same way for the solaris platform?
>
The shell script that is shipped with the Wrapper can be used to
launch the Wrapper
on all UNIX platforms. I supplied instructions for doing this for
Debian and Solaris
because those are the only two platforms that I have access to. I
actually do not have
access to a Solaris box which I can reboot however, so the Solaris docs
have not been
tested as well as I would like. Please let me know if you find any errors.
http://wrapper.tanukisoftware.org/doc/english/launch-nix.html#boot
As always, I would appreciate help from anyone willing to provide
documentation
which details the process on other platforms.
By the way, I replied to the wrapper-user list as that is where this
post
should have gone. The wrapper-cvs list is only monitored by people who
want to keep track of changes to the wrapper source, or who have
comments on the changes.
Cheers,
Leif
|
|
From: Ramachandra, A. <Ram...@Sy...> - 2003-10-09 09:04:05
|
Thank you very much for your response.
I found the docs for solaris.
A question i have is do i need to specially set up the wrapper by creating
symbolic links for system start and shutdown if i'm using the
wrapperlistener approach?
-Thanks
-Arun
-----Original Message-----
From: Leif Mortenson [mailto:le...@ta...]
Sent: Thursday, October 09, 2003 1:14 PM
To: wra...@li...; Ram...@Sy...
Subject: Re: [Wrapper-cvs] Wrapper start stop on Unix
Arun,
> I'm using WrapperListener,latest version.
> I have understood how to use it to deploy applications on the windows
> platform.
>
> In the Solaris platform how does this work?
> I can see from the help docs that the functionality to start the
> application on reboot is available only on the Debian Linux platform.
> Does this work the same way for the solaris platform?
>
The shell script that is shipped with the Wrapper can be used to
launch the Wrapper
on all UNIX platforms. I supplied instructions for doing this for
Debian and Solaris
because those are the only two platforms that I have access to. I
actually do not have
access to a Solaris box which I can reboot however, so the Solaris docs
have not been
tested as well as I would like. Please let me know if you find any errors.
http://wrapper.tanukisoftware.org/doc/english/launch-nix.html#boot
As always, I would appreciate help from anyone willing to provide
documentation
which details the process on other platforms.
By the way, I replied to the wrapper-user list as that is where this
post
should have gone. The wrapper-cvs list is only monitored by people who
want to keep track of changes to the wrapper source, or who have
comments on the changes.
Cheers,
Leif
|
|
From: Leif M. <le...@ta...> - 2003-10-09 13:02:26
|
Arun,
Yes, you will still need to configure the run level symbolic links.
At this level, it does
not matter which integration method you are using.
If you look in the /etc/rc*.* directories of your system, you will
see examples of what
other applications are doing. These links just determine when the
wrapper's shell script
is launched. What the Wrapper does past that point is unrelated.
Cheers,
Leif
Ramachandra, Arun wrote:
> Thank you very much for your response.
> I found the docs for solaris.
> A question i have is do i need to specially set up the wrapper by
> creating symbolic links for system start and shutdown if i'm using the
> wrapperlistener approach?
>
> -Thanks
> -Arun
>
|
|
From: Prashant R. <pra...@pr...> - 2003-10-09 10:23:02
|
Hello, We are trying to integrate Wrapper (using method 1) and have been = successful in starting one instance of application as an NT service. However when we configure two instances of out application as service, = we encounter this problem. Settings :OS:Windows 2000, jdk : 1.3.1_03, wrapper 3.5 version 1. when i start the serivice with net start <serivce_name> Windows = throws up a dialog box saying "java.exe has performed an illeagal = operation and will be shutdown by windows". 2. Following this wrapper restarts the jvm and then everything goes = smoothly. 3. In wrapper.log this is the snippet that is written STATUS | wrapper | 2003/10/09 15:02:20 | --> Wrapper Started as Service INFO | wrapperp | 2003/10/09 15:02:21 | port 1777 already in use, = using port 1778 instead. DEBUG | wrapperp | 2003/10/09 15:02:21 | server listening on port 1778. STATUS | wrapper | 2003/10/09 15:02:22 | Launching a JVM... DEBUG | wrapper | 2003/10/09 15:02:22 | command: "------" DEBUG | wrapper | 2003/10/09 15:02:22 | Java Virtual Machine started = (PID=3D2484) INFO | jvm 1 | 2003/10/09 15:02:23 | Wrapper Manager: JVM #1 INFO | jvm 1 | 2003/10/09 15:02:23 | Wrapper Manager: Registering = shutdown hook INFO | jvm 1 | 2003/10/09 15:02:23 | Wrapper Manager: Using wrapper INFO | jvm 1 | 2003/10/09 15:02:23 | Calling native initialization = method. INFO | jvm 1 | 2003/10/09 15:02:23 | Initializing WrapperManager = native library. INFO | jvm 1 | 2003/10/09 15:02:23 | Java Executable: = D:\jdk1.3.1_03\bin\java.exe INFO | jvm 1 | 2003/10/09 15:02:23 | Java Version : 1.3.1_03-b03 = Java HotSpot(TM) Server VM INFO | jvm 1 | 2003/10/09 15:02:23 | Java VM Vendor : Sun = Microsystems Inc. INFO | jvm 1 | 2003/10/09 15:02:23 |=20 INFO | jvm 1 | 2003/10/09 15:02:23 | Wrapper (Version 3.0.5) INFO | jvm 1 | 2003/10/09 15:02:23 |=20 INFO | jvm 1 | 2003/10/09 15:02:23 | Open socket to wrapper... INFO | jvm 1 | 2003/10/09 15:02:23 | Opened Socket INFO | jvm 1 | 2003/10/09 15:02:23 | Send a packet KEY : = kcHXnO44A11Oe6bV INFO | jvm 1 | 2003/10/09 15:02:23 | = handleSocket(Socket[addr=3D127.0.0.1/127.0.0.1,port=3D1778,localport=3D33= 11]) DEBUG | wrapperp | 2003/10/09 15:02:23 | accepted a socket from = 127.0.0.1 on port 3311 DEBUG | wrapperp | 2003/10/09 15:02:23 | read a packet KEY : = kcHXnO44A11Oe6bV DEBUG | wrapper | 2003/10/09 15:02:23 | Got key from JVM: = kcHXnO44A11Oe6bV DEBUG | wrapperp | 2003/10/09 15:02:23 | send a packet LOW_LOG_LEVEL : = 1 DEBUG | wrapperp | 2003/10/09 15:02:23 | send a packet PING_TIMEOUT : = 30 DEBUG | wrapper | 2003/10/09 15:02:23 | Start Application. DEBUG | wrapperp | 2003/10/09 15:02:23 | send a packet START : start INFO | jvm 1 | 2003/10/09 15:02:23 | Received a packet = LOW_LOG_LEVEL : 1 INFO | jvm 1 | 2003/10/09 15:02:23 | Wrapper Manager: LowLogLevel = from Wrapper is 1 INFO | jvm 1 | 2003/10/09 15:02:23 | Received a packet PING_TIMEOUT = : 30 INFO | jvm 1 | 2003/10/09 15:02:23 | Wrapper Manager: PingTimeout = from Wrapper is 30000 INFO | jvm 1 | 2003/10/09 15:02:23 | Received a packet START : = start INFO | jvm 1 | 2003/10/09 15:02:23 | calling listener.start() INFO | jvm 1 | 2003/10/09 15:02:23 | WrapperSimpleApp: start(args) INFO | jvm 1 | 2003/10/09 15:02:23 | WrapperSimpleApp: invoking = main method DEBUG | wrapperp | 2003/10/09 15:02:24 | send a packet PING : ping INFO | jvm 1 | 2003/10/09 15:02:24 | Received a packet PING : ping INFO | jvm 1 | 2003/10/09 15:02:24 | Send a packet PING : ok DEBUG | wrapperp | 2003/10/09 15:02:24 | read a packet PING : ok DEBUG | wrapper | 2003/10/09 15:02:24 | Got ping response from JVM DEBUG | wrapperp | 2003/10/09 15:02:30 | send a packet PING : ping INFO | jvm 1 | 2003/10/09 15:02:30 | Received a packet PING : ping INFO | jvm 1 | 2003/10/09 15:02:30 | Send a packet PING : ok DEBUG | wrapperp | 2003/10/09 15:02:30 | read a packet PING : ok DEBUG | wrapper | 2003/10/09 15:02:30 | Got ping response from JVM ERROR | wrapper | 2003/10/09 15:02:31 | JVM exited while starting the = application.=20 This error apparently occurs in no pattern, and seem to no come in Win = NT. Any suggestions or help will be immensly appreciated. Thank You Prashant=20 0xCAFEBABE |