Home Forums
|
ConvergeRuntimeLibpath (0 viewing)
Favoured: 0
|
|
|
TOPIC: ConvergeRuntimeLibpath
|
gfunk (User)
Fresh Boarder
Posts: 19
|
|
ConvergeRuntimeLibpath 8 Months, 1 Week ago
|
|
|
Good day
please help me pointing my ConvergeRuntimeLibpath to the real path. Thanks
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:ConvergeRuntimeLibpath 8 Months, 1 Week ago
|
|
|
first of all, i assume you need to define the convergeRuntimeLibPath variable in the conf/Config.groovy directory of your Converge DK installation? the only reason you would need to define this value is if you intend to deploy Converge applications to a SailFin instance running the Converge runtime (using the 'converge deploy' DK command)
assuming this is what you want to do then you must have a SailFin instance running the Converge runtime - this is accomplished by (1) building the runtime (using bin/buildRuntime in the DK), (2) installing the runtime (simply unzip the runtime you built in the previous step) and then (3) deploying the runtime to SailFin (using bin/deployRuntime in the runtime)
the convergeRuntimeLibPath variable is simply the path to the directory of your installed Converge runtime from step (2) above
note that you can only deploy a Converge application to a *local* SailFin instance i.e. SailFin must be running on the same machine you execute the 'converge deploy' command from
|
|
|
|
|
|
|
The administrator has disabled public write access. |
gfunk (User)
Fresh Boarder
Posts: 19
|
|
Re:ConvergeRuntimeLibpath 8 Months, 1 Week ago
|
|
|
Good day and thank you so much Gregory w.b. I am having some trouble getting this working. after following the steps below iam having the error message:
first of all
convergeRuntimeLibPath = "/CONVERGE/convergeDK-0.2-beta/convergeRuntime-0.2-beta" after building the runtime in the DK directory
Error message after Running bin/deployRuntime:
[root@pluton convergeDK-0.2-beta]# bin/deployRuntime Exception in thread "main" java.lang.NoClassDefFoundError: groovy/lang/Groovy_object_ at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Caused by: java.lang.ClassNotFoundException: groovy.lang.Groovy_object_ at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 12 more Could not find the main class: gant.Gant. Program will exit.
Mr Bond i will really appreciate your help. Thanks.
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:ConvergeRuntimeLibpath 8 Months, 1 Week ago
|
|
|
looking at your error message i suspect you are running bin/deployRuntime in the wrong directory - also there is no need to define the convergeRuntimeLibPath variable until after steps (1) - (3) are completed - this variable is only required to support deploying Converge applications to your SailFin container using the 'converge deploy' command
i am going to assume you have successfully completed step (1) (building the Converge runtime zip file using bin/buildRuntime) - when the step is completed the result is a file convergeRuntime-0.2-beta-some-timestamp.zip in your Converge DK directory - to perform step (2), move this zip file to a preferred location e.g. to your /CONVERGE directory and unzip it - this will create a directory convergeRuntime-0.2-beta - that's it for step (2) - for step (3) you should edit the convergeRuntime-0.2-beta/conf/DeployRuntimeConfig.groovy file and then run the command convergeRuntime-0.2-beta/bin/deployRuntime - note that this command is run from the newly installed Converge runtime directory, *not* from the Converge DK directory
assuming all of this works out OK, then you can go back and define the value of convergeRuntimeLibPath in conf/Config.groovy to be /CONVERGE/convergeRuntime-0.2-beta (assuming this is where you unzipped the Converge runtime directory)
hope this helps
|
|
|
|
|
|
|
The administrator has disabled public write access. |
gfunk (User)
Fresh Boarder
Posts: 19
|
|
Re:ConvergeRuntimeLibpath 8 Months, 1 Week ago
|
|
|
yeah!!!! yeah!!!! it's working !!! it's working !!! Thank you so much Gregory .w.b
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
|
|