Problems On OS X

View: New views
5 Messages — Rating Filter:   Alert me  

Problems On OS X

by Johannes Ruscheinski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Last night I downloaded the most recent version of Felix as a gzipped
tarball and installed it under /usr/local/...   After starting felix
with "java -jar .../bin/felix.jar" I got the Felix version number and
a row of equal signs but not the "->" prompt or any other prompt.  I
did wait for several minutes.  I am running Snow Leopard 10.6.1 and if
I remember correctly, Felix was at 2.1.x.  Sorry, my laptop is at home
and I am not sure about the exact version number.  My Java is at
1.5.x.  How should I go about debugging this problem?

TIA,
--
Johannes

Obligatory current favourite quotes:

"I have more confidence in the methods of science, based on the amazing
record of science and its ability over the centuries to answer
unanswerable questions, than I do in the methods of faith (what are they?)."
 -- David J. Gross "Physics Nobel Laureate"

"Atheism is a religion to the same extent that not collecting stamps is a
 hobby."
 -- seen on Slashdot.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Problems On OS X

by Chris Custine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think Felix is meant to be started from the install root with the command
"java -jar bin/felix.jar".  If you want a different location for the bundle
cache you can use "java -jar bin/felix.jar <newpath>" or take a look at the
config properties org.osgi.framework.storage, felix.cache.rootdir, etc. from
here:
http://felix.apache.org/site/apache-felix-framework-usage-documentation.html#ApacheFelixFrameworkUsageDocumentation-configuringframework

Chris

--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org


On Mon, Nov 9, 2009 at 9:54 AM, Johannes Ruscheinski <ruschein@...>wrote:

> Hi,
>
> Last night I downloaded the most recent version of Felix as a gzipped
> tarball and installed it under /usr/local/...   After starting felix
> with "java -jar .../bin/felix.jar" I got the Felix version number and
> a row of equal signs but not the "->" prompt or any other prompt.  I
> did wait for several minutes.  I am running Snow Leopard 10.6.1 and if
> I remember correctly, Felix was at 2.1.x.  Sorry, my laptop is at home
> and I am not sure about the exact version number.  My Java is at
> 1.5.x.  How should I go about debugging this problem?
>
> TIA,
> --
> Johannes
>
> Obligatory current favourite quotes:
>
> "I have more confidence in the methods of science, based on the amazing
> record of science and its ability over the centuries to answer
> unanswerable questions, than I do in the methods of faith (what are
> they?)."
>  -- David J. Gross "Physics Nobel Laureate"
>
> "Atheism is a religion to the same extent that not collecting stamps is a
>  hobby."
>  -- seen on Slashdot.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

Re: Problems On OS X

by Johannes Ruscheinski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Chris,

On Mon, Nov 9, 2009 at 11:29 AM, Chris Custine <chris.custine@...> wrote:
> I think Felix is meant to be started from the install root with the command
> "java -jar bin/felix.jar".  If you want a different location for the bundle

I started it with "java -jar /usr/local/ForgotTheName/bin/felix.jar."
Is that a problem? In other words, do I have to be in the parent
directory of Felix' bin directory?

> cache you can use "java -jar bin/felix.jar <newpath>" or take a look at the
> config properties org.osgi.framework.storage, felix.cache.rootdir, etc. from
> here:
> http://felix.apache.org/site/apache-felix-framework-usage-documentation.html#ApacheFelixFrameworkUsageDocumentation-configuringframework
>
> Chris
>
> --
> Chris Custine
> FUSESource :: http://fusesource.com
> My Blog :: http://blog.organicelement.com
> Apache ServiceMix :: http://servicemix.apache.org
> Apache Directory Server :: http://directory.apache.org
>
>
> On Mon, Nov 9, 2009 at 9:54 AM, Johannes Ruscheinski <ruschein@...>wrote:
>
>> Hi,
>>
>> Last night I downloaded the most recent version of Felix as a gzipped
>> tarball and installed it under /usr/local/...   After starting felix
>> with "java -jar .../bin/felix.jar" I got the Felix version number and
>> a row of equal signs but not the "->" prompt or any other prompt.  I
>> did wait for several minutes.  I am running Snow Leopard 10.6.1 and if
>> I remember correctly, Felix was at 2.1.x.  Sorry, my laptop is at home
>> and I am not sure about the exact version number.  My Java is at
>> 1.5.x.  How should I go about debugging this problem?
>>
>> TIA,
>> --
>> Johannes
>>
>> Obligatory current favourite quotes:
>>
>> "I have more confidence in the methods of science, based on the amazing
>> record of science and its ability over the centuries to answer
>> unanswerable questions, than I do in the methods of faith (what are
>> they?)."
>>  -- David J. Gross "Physics Nobel Laureate"
>>
>> "Atheism is a religion to the same extent that not collecting stamps is a
>>  hobby."
>>  -- seen on Slashdot.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>



--
Johannes

Obligatory current favourite quotes:

"I have more confidence in the methods of science, based on the amazing
record of science and its ability over the centuries to answer
unanswerable questions, than I do in the methods of faith (what are they?)."
 -- David J. Gross "Physics Nobel Laureate"

"Atheism is a religion to the same extent that not collecting stamps is a
 hobby."
 -- seen on Slashdot.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Problems On OS X

by Guo Du :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 9, 2009 at 9:21 PM, Johannes Ruscheinski <ruschein@...> wrote:
> I started it with "java -jar /usr/local/ForgotTheName/bin/felix.jar."
> Is that a problem? In other words, do I have to be in the parent
> directory of Felix' bin directory?
You may try:
java -Dfelix.auto.deploy.dir=/usr/local/ForgotTheName/bundle -jar
/usr/local/ForgotTheName/bin/felix.jar

If you have other problems, you may turn on debug with following options:
 -Dfelix.log.level=4

Those options are documented in Chris's link.

-Guo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Problems On OS X

by Johannes Ruscheinski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 9, 2009 at 2:00 PM, Guo Du <mrduguo@...> wrote:
> On Mon, Nov 9, 2009 at 9:21 PM, Johannes Ruscheinski <ruschein@...> wrote:
>> I started it with "java -jar /usr/local/ForgotTheName/bin/felix.jar."
>> Is that a problem? In other words, do I have to be in the parent
>> directory of Felix' bin directory?
> You may try:
> java -Dfelix.auto.deploy.dir=/usr/local/ForgotTheName/bundle -jar
> /usr/local/ForgotTheName/bin/felix.jar

That did it, thanks a lot!

>
> If you have other problems, you may turn on debug with following options:
>  -Dfelix.log.level=4
>
> Those options are documented in Chris's link.

Ok, I'll have a look.

>
> -Guo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>



--
Johannes

Obligatory current favourite quotes:

"I have more confidence in the methods of science, based on the amazing
record of science and its ability over the centuries to answer
unanswerable questions, than I do in the methods of faith (what are they?)."
 -- David J. Gross "Physics Nobel Laureate"

"Atheism is a religion to the same extent that not collecting stamps is a
 hobby."
 -- seen on Slashdot.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...