Resolved the problem; FIXED, was environment problem :-)

JAVA_HOME is irrelevant. Not used by some components.
Unless the PATH has Java set at start it can run another Java; Whatever
Microsoft downloads into system. 
So:
set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_17
set Path=C:\Program
Files\Java\jdk1.5.0_17\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

Below is bad:

set Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Java\jdk1.5.0_17\bin;

What is strange is that 3 machines worked, then gradually stopped working
randomly,
then never worked. I still cannot understand how the scripts worked randomly
?

But thats the risk of using Windows... 



kimhorn wrote:
> 
> See "Random Start Up Error" by kimhorn  posted        Feb 26 
> Its the complete output, and I attached a log here too
>  http://www.nabble.com/file/p22319212/synapse.log synapse.log 
> 
> I re-build a new machine with virtually no software on it.
> I get the same problems...can't use Synapse.
> 
> 
> 
> Ruwan Linton wrote:
>> 
>> Can you please attach the complete log of the ESB when running this
>> sample?
>> May be you could attach this to the JIRA issue after reopening the issue
>> as
>> Asankha pointed.
>> 
>> Thanks,
>> Ruwan
>> 
>> 
>> On Tue, Mar 3, 2009 at 10:20 AM, kimhorn <kim.h...@icsglobal.net> wrote:
>> 
>>>
>>> 1.2 Release. I removed all other sources of BSF and it
>>> made no difference.
>>>
>>>
>>>
>>> Ruwan Linton wrote:
>>> >
>>> > Hi Kim,
>>> >
>>> > Are you using the synapse SNAPSHOT or the 1.2 release?
>>> >
>>> > Do you have any other Apache BSF based product installed? it seems
>>> like
>>> an
>>> > issue with the BSF, which is not properly initialized in this
>>> particular
>>> > case. :(
>>> >
>>> > Thanks,
>>> > Ruwan
>>> >
>>> > On Tue, Mar 3, 2009 at 6:58 AM, Asankha C. Perera
>>> > <asan...@apache.org>wrote:
>>> >
>>> >>  Hi Kim
>>> >>
>>> >>  I have this same error; as previously raised in Jira:
>>> >>
>>> >> [jira] Created: (SYNAPSE-336) [Windows] Unable to start sample 351
>>> and
>>> >> 352
>>> >> on Windows due to an issue regarding scripts.
>>> >>
>>> >> This Jira was never acted on and dismissed; However  I can reproduce
>>> it
>>> >> on
>>> >> 2 machines  and now cannot now use synapse. It appears Synapse is too
>>> >> unstable / unreliable to use on Windows. I am using a large number of
>>> >> other
>>> >> Java applications/app servers etc and this is the first app that
>>> fails
>>> on
>>> >> Windows !!!
>>> >>
>>> >> I am using Java: JAVA_HOME=C:\Program Files\Java\jdk1.5.0_17
>>> >>
>>> >> This is related to Random Start Up Error message of last week;
>>> however I
>>> >> can now reliable reproduce this as these samples never run.
>>> >>
>>> >> Can you reopen the JIRA and attach any information we could use (e.g.
>>> >> exact
>>> >> OS version, SP level etc) and path installed (i.e. if spaces are
>>> >> present..)
>>> >> to reproduce the problem. We could then work on doing whats required
>>> to
>>> >> resolve it properly. All of the many production deployments I know of
>>> >> Synapse are on non-Windows platforms. Is there a temporary workaround
>>> for
>>> >> you to deploy Synapse in a Linux environment for development
>>> purposes?
>>> >>
>>> >> cheers
>>> >> asankha
>>> >>
>>> >> --
>>> >> Asankha C. Perera
>>> >> AdroitLogic, http://adroitlogic.org
>>> >> http://esbmagic.blogspot.com
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Ruwan Linton
>>> > http://wso2.org - "Oxygenating the Web Services Platform"
>>> > http://ruwansblog.blogspot.com/
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Unable-to-run-samples-351-and-352-on-Windows-tp22300530p22302478.html
>>> Sent from the Synapse - Dev mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org
>>> For additional commands, e-mail: dev-h...@synapse.apache.org
>>>
>>>
>> 
>> 
>> -- 
>> Ruwan Linton
>> http://wso2.org - "Oxygenating the Web Services Platform"
>> http://ruwansblog.blogspot.com/
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-run-samples-351-and-352-on-Windows-tp22300530p22320454.html
Sent from the Synapse - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org
For additional commands, e-mail: dev-h...@synapse.apache.org

Reply via email to