I broke my server when I installed the new version. I had to change the ztwrapper.conf file when I installed 2007.09 to point to a different location. Now that I installed 2007.09b, it has stopped working (as the ztwrapper.conf was over written and I was silly and didn't make a copy first). The registry has the following entries for the Java Runtime Environment:

JavaHome: C:\Program Files\Java\jre1.5.0_11
RunTimeLib: C:\Program Files\Java\jre1.5.0_11\bin\client\jvm.dll

The ztwrapper.conf has this line:
wrapper.java.command=1\bin\java

I fixed it before, but now I can't remember how I did it...Any assistance, would be greatly appreciated...

Try changing the java

Try changing the java command to

wrapper.java.command=C:\Program Files\Java\jre1.5.0_11\bin\java

Let us know if this works,
- Leo

Didn't work

That folder "java" doesn't exist. The only folder in "bin" is "client".

I got this error using your settings:

FATAL | wrapper | 2007/10/17 15:39:10 | Critical error: wait for JVM process failed
ERROR | wrapper | 2007/10/17 17:07:29 | JVM exited while loading the application.
ERROR | wrapper | 2007/10/17 17:07:34 | JVM exited while loading the application.
ERROR | wrapper | 2007/10/17 17:07:39 | JVM exited while loading the application.
ERROR | wrapper | 2007/10/17 17:07:43 | JVM exited while loading the application.
ERROR | wrapper | 2007/10/17 17:07:48 | JVM exited while loading the application.
FATAL | wrapper | 2007/10/17 17:07:48 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2007/10/17 17:07:48 | There may be a configuration problem: please check the logs.

I tried it with the "client" folder instead of "java" and got this error:

FATAL | wrapper | 2007/10/17 15:36:38 | Critical error: wait for JVM process failed
FATAL | wrapper | 2007/10/17 15:39:10 | Unable to execute Java command. Access is denied. (0x5)
FATAL | wrapper | 2007/10/17 15:39:10 | "C:\Program Files\Java\jre1.5.0_11\bin\client" -server -Xmx512m -Dderby.system.home=derby -Dosgi.configuration.area=osgi-config -Dosgi.noShutdown=true -Dosgi.install.area=./ -Djava.library.path="ztwrapper/windows" -classpath "core/org.eclipse.osgi_3.2.2.R32x_v20070118.jar;ztwrapper/windows/ztwrapper.jar" -Dwrapper.key="nW2Uqg5cRcYGG_iL" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=1340 -Dwrapper.version="3.2.3" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp org.eclipse.core.runtime.adaptor.EclipseStarter -clean -consoleLog
ADVICE | wrapper | 2007/10/17 15:39:10 |
ADVICE | wrapper | 2007/10/17 15:39:10 | ------------------------------------------------------------------------
ADVICE | wrapper | 2007/10/17 15:39:10 | Advice:
ADVICE | wrapper | 2007/10/17 15:39:10 | Access denied errors when attempting to launch the Java process are
ADVICE | wrapper | 2007/10/17 15:39:10 | usually caused by strict access permissions assigned to the directory
ADVICE | wrapper | 2007/10/17 15:39:10 | in which Java is installed.
ADVICE | wrapper | 2007/10/17 15:39:10 | Unless you have configured the Wrapper to run as a different user with
ADVICE | wrapper | 2007/10/17 15:39:10 | wrapper.ntservice.account property, the Wrapper and its JVM will be
ADVICE | wrapper | 2007/10/17 15:39:10 | as the SYSTEM user by default when run as a service.
ADVICE | wrapper | 2007/10/17 15:39:10 | ------------------------------------------------------------------------
ADVICE | wrapper | 2007/10/17 15:39:10 |

I checked, and the system user has permissions and the service is set to run as local system.

Thanks for your help!

That property is supposed to

That property is supposed to point at the executable. The property should point at <javapath>/bin/java.exe

I've been away from windows too long to remember the simple things like exes.

- Leo

Fixed...woo-hoo!

Okay, that also did not work. I took the command from the ztwrapper.log file and created a .bat file with it. When I run that, I get this error:

"Error: no 'server' at 'C:\Program Files\Java\jre1.5.0_11\bin\server\jvm.dll'"

I notice that the \bin\server folder does not exist...

I then noticed that in my C"\Program Files\Java folder was a JDK folder that had a jre\bin\java.exe in it. So, I changed the patch in the ztwrapper.conf to read as follows:

C:\Program Files\Java\jdk1.5.0_11\jre\bin\java.exe

Now the service starts. :-)

Now the Client doesn't work

I will attach the .log file to the original post.

Did you install the 09b

Did you install the 09b client on top of the 09 client?

Also, you could try executing the client with the -clean switch.
eg: ziptie.exe -clean

- Leo

I did...but then...

I was getting an error within the application about invalid data. So I uninstalled the client in add/remove programs and re-installed. Then I started getting the error I attached here. After that, I updated Java, but no change.

Using the -clean switch results in the same behavior. The windows open for a moment, and then everything closes and a dialog box refers me to the .log file in .metadata.

Time for some surgery

Add the following Import-Package declaration to the manifest at
<InstallDir>/plugins/org.ziptie.metro.client_<version>/META-INF/MANIFEST.MF
and rerun the client with the -clean switch.

Import-Package: javax.xml.transform

- Leo

No other Import-Package lines

I have no other Import-Package lines in this file other than the one I am about to add. Does that sound correct?

Also

This did not fix anything. Much sadness.

Error message

This error:

"Error: no 'server' at 'C:\Program Files\Java\jre1.5.0_11\bin\server\jvm.dll'"

Indicates that only the JRE is installed and not the JDK. The server requires that the JDK be installed, because only the JDK includes the Sun Hotspot Server virutal machines. The JRE only includes the Hotspot Client virtual machine.

-Brett

Please elaborate...

Going back to your previous post "fixed...who-hoo!" on 10/17/2007 at 18:10.

I was having the same problem as you were and I was following your previous steps I changed:

wrapper.java.command=C:\Program Files\Java\jre1.5.0_11\bin\java.exe... and it still didn't work, now I don't fully understand "changing the patch file in the ztwrapper.conf file to read as follows C:\Program Files\Java\jdk1.5.0_11\jre\bin\java.exe"

The only part I am having problems with is that I can not find the patch in the ztswrapper.conf to change. Where would that be located/named?

thanks

This is correct...

ZipTie Server requires the Java JDK, not the JRE.

-Brett